Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Jest to v29 #1271

Merged
merged 2 commits into from
Aug 17, 2023
Merged
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 package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"reset": "yarn && yarn clean && yarn build",
"clean": "lerna run clean",
"build": "lerna run build",
"test": "yarn workspace foam-vscode test",
"test": "yarn workspace foam-vscode test --stream",
"lint": "lerna run lint",
"watch": "lerna run watch --concurrency 20 --stream"
},
Expand Down
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
Loading