Skip to content

Commit

Permalink
Use Jest 30.0.0-alpha.1
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo committed Oct 30, 2023
1 parent ea4e78b commit 65311ed
Show file tree
Hide file tree
Showing 3 changed files with 739 additions and 391 deletions.
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,23 @@
"lint": "yarn prettier . --check"
},
"dependencies": {
"@jest/expect": "^29.0.1",
"@jest/fake-timers": "^29.2.2",
"jest-circus": "^29.0.1",
"jest-each": "^29.0.1",
"jest-mock": "^29.0.1",
"jest-snapshot": "^29.0.1",
"@jest/expect": "^30.0.0-alpha.1",
"@jest/fake-timers": "^30.0.0-alpha.1",
"jest-circus": "^30.0.0-alpha.1",
"jest-each": "^30.0.0-alpha.1",
"jest-mock": "^30.0.0-alpha.1",
"jest-snapshot": "^30.0.0-alpha.1",
"piscina": "^3.1.0",
"supports-color": "^9.2.1"
},
"devDependencies": {
"prettier": "^2.6.2"
},
"peerDependencies": {
"jest": "^27.5.0 || ^28.0.0 || ^29.0.0"
"jest": "^27.5.0 || ^28.0.0 || ^29.0.0|| ^30.0.0-0"
},
"engines": {
"node": ">=12.20.0"
"node": "^16.10.0 || ^18.12.0 || >=20.0.0"
},
"license": "MIT",
"files": [
Expand Down
4 changes: 2 additions & 2 deletions src/global-setup.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/* eslint-disable import/extensions */

import mock from "jest-mock";
import { ModuleMocker } from "jest-mock";
import { jestExpect as expect } from "@jest/expect";
import { ModernFakeTimers } from "@jest/fake-timers";
import * as circus from "jest-circus";

const jestMock = new mock.ModuleMocker(globalThis);
const jestMock = new ModuleMocker(globalThis);
const jestTimer = new ModernFakeTimers({
config: {
fakeTimers: {
Expand Down

0 comments on commit 65311ed

Please sign in to comment.