diff --git a/package.json b/package.json index ff9ecce..393fb0f 100644 --- a/package.json +++ b/package.json @@ -65,7 +65,7 @@ "url": "https://github.com/xylabs/sdk-pixel-js.git" }, "sideEffects": false, - "version": "1.7.0", + "version": "2.0.0", "packageManager": "yarn@4.4.0", "type": "module" -} \ No newline at end of file +} diff --git a/src/spec/Pixel.spec.ts b/src/spec/Pixel.spec.ts index dad359b..bf72e45 100644 --- a/src/spec/Pixel.spec.ts +++ b/src/spec/Pixel.spec.ts @@ -1,5 +1,9 @@ -import { PixelApi } from '../Api' -import { XyPixel } from '../Pixel' +/** + * @jest-environment jsdom + */ + +import { PixelApi } from '../Api/index.ts' +import { XyPixel } from '../Pixel.ts' test('all', async () => { XyPixel.api = new PixelApi('prod')