Skip to content

Commit

Permalink
Update Jest to v29
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholas-l committed Aug 12, 2023
1 parent 8ddb6a2 commit 8b9e09f
Show file tree
Hide file tree
Showing 3 changed files with 982 additions and 15 deletions.
6 changes: 3 additions & 3 deletions packages/foam-vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@
},
"devDependencies": {
"@types/dateformat": "^3.0.1",
"@types/jest": "^27.5.1",
"@types/jest": "^29.5.3",
"@types/lodash": "^4.14.157",
"@types/markdown-it": "^12.0.1",
"@types/micromatch": "^4.0.1",
Expand All @@ -578,12 +578,12 @@
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest": "^27.2.1",
"husky": "^4.2.5",
"jest": "^27.5.1",
"jest": "^29.6.2",
"jest-extended": "^3.2.3",
"markdown-it": "^12.0.4",
"micromatch": "^4.0.2",
"rimraf": "^3.0.2",
"ts-jest": "^27.1.5",
"ts-jest": "^29.1.1",
"tslib": "^2.0.0",
"typescript": "^4.9.5",
"vscode-test": "^1.3.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/foam-vscode/src/test/support/vscode-environment.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const NodeEnvironment = require('jest-environment-node');
const { TestEnvironment } = require('jest-environment-node');
const vscode = require('vscode');

class VscodeEnvironment extends NodeEnvironment {
class VscodeEnvironment extends TestEnvironment {
async setup() {
await super.setup();
this.global.vscode = vscode;
Expand Down
Loading

0 comments on commit 8b9e09f

Please sign in to comment.