Skip to content

Commit

Permalink
chore: move jsdom to jest.config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilkifer committed Jun 4, 2024
1 parent 0e19104 commit ba099ea
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 8 deletions.
1 change: 1 addition & 0 deletions config/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
const path = require('path');

module.exports = {
testEnvironment: "jsdom",
collectCoverage: true,
preset: 'ts-jest',
rootDir: path.resolve(__dirname, '..'),
Expand Down
4 changes: 0 additions & 4 deletions tests/api.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
/**
* @jest-environment jsdom
*/

import skift from '../src/index';
import { SplitTest } from '../src/splitTest';

Expand Down
4 changes: 0 additions & 4 deletions tests/config.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
/**
* @jest-environment jsdom
*/

import config from '../src/config';
import skift from '../src/index';

Expand Down

0 comments on commit ba099ea

Please sign in to comment.