Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion jest.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */
module.exports = {
export default {
preset: 'ts-jest',
testEnvironment: 'jsdom',
setupFilesAfterEnv: ['<rootDir>/jest-setup.ts'],
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jsdom-testing-mocks",
"version": "1.15.2",
"version": "1.16.0",
"author": "Ivan Galiatin",
"license": "MIT",
"description": "A set of tools for emulating browser behavior in jsdom environment",
Expand Down Expand Up @@ -83,11 +83,11 @@
},
"dependencies": {
"bezier-easing": "^2.1.0",
"css-mediaquery": "^0.1.2",
"puppeteer": "^24.15.0"
"css-mediaquery": "^0.1.2"
},
"devDependencies": {
"@playwright/test": "^1.54.1",
"puppeteer": "^24.15.0",
"@swc/core": "^1.3.82",
"@swc/jest": "^0.2.29",
"@types/css-mediaquery": "^0.1.1",
Expand Down
2 changes: 1 addition & 1 deletion swcjest.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = {
export default {
testEnvironment: 'jsdom',
transform: {
'^.+\\.(t|j)sx?$': '@swc/jest',
Expand Down
Loading