Skip to content

Commit

Permalink
Merge pull request #3896 from tomi-bigpi/update-jest-29.3.1
Browse files Browse the repository at this point in the history
[heft-jest-plugin] Upgrade Jest from `~27.4.2` to `~29.3.1`
  • Loading branch information
iclanton authored Jan 30, 2023
2 parents be9637e + 42a2b3d commit daa6eb5
Show file tree
Hide file tree
Showing 28 changed files with 1,316 additions and 203 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@types/webpack-env": "1.13.0",
"babel-loader": "~8.2.3",
"css-loader": "~5.2.7",
"jest": "~27.4.2",
"jest": "~29.3.1",
"react-dom": "~16.13.1",
"react": "~16.13.1",
"style-loader": "~2.0.0",
Expand Down
2 changes: 1 addition & 1 deletion build-tests/api-documenter-scenarios/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@microsoft/api-extractor": "workspace:*",
"@microsoft/teams-js": "1.3.0-beta.4",
"@rushstack/node-core-library": "workspace:*",
"@types/jest": "27.4.0",
"@types/jest": "29.2.5",
"@types/node": "12.20.24",
"fs-extra": "~7.0.1",
"typescript": "~4.8.4"
Expand Down
2 changes: 1 addition & 1 deletion build-tests/api-documenter-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"devDependencies": {
"@microsoft/api-documenter": "workspace:*",
"@microsoft/api-extractor": "workspace:*",
"@types/jest": "27.4.0",
"@types/jest": "29.2.5",
"@types/node": "12.20.24",
"fs-extra": "~7.0.1",
"typescript": "~4.8.4"
Expand Down
2 changes: 1 addition & 1 deletion build-tests/api-extractor-lib2-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"devDependencies": {
"@microsoft/api-extractor": "workspace:*",
"@types/jest": "27.4.0",
"@types/jest": "29.2.5",
"@types/node": "12.20.24",
"fs-extra": "~7.0.1",
"typescript": "~4.8.4"
Expand Down
2 changes: 1 addition & 1 deletion build-tests/api-extractor-lib3-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"devDependencies": {
"@microsoft/api-extractor": "workspace:*",
"@types/jest": "27.4.0",
"@types/jest": "29.2.5",
"@types/node": "12.20.24",
"fs-extra": "~7.0.1",
"typescript": "~4.8.4"
Expand Down
2 changes: 1 addition & 1 deletion build-tests/api-extractor-scenarios/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@microsoft/api-extractor": "workspace:*",
"@microsoft/teams-js": "1.3.0-beta.4",
"@rushstack/node-core-library": "workspace:*",
"@types/jest": "27.4.0",
"@types/jest": "29.2.5",
"@types/node": "12.20.24",
"api-extractor-lib1-test": "workspace:*",
"api-extractor-lib2-test": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion build-tests/api-extractor-test-01/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"_phase:build": "node build.js"
},
"dependencies": {
"@types/jest": "27.4.0",
"@types/jest": "29.2.5",
"@types/long": "4.0.0",
"long": "^4.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion build-tests/api-extractor-test-03/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"_phase:build": "node build.js"
},
"devDependencies": {
"@types/jest": "27.4.0",
"@types/jest": "29.2.5",
"@types/node": "12.20.24",
"api-extractor-test-02": "workspace:*",
"fs-extra": "~7.0.1",
Expand Down
4 changes: 2 additions & 2 deletions build-tests/heft-jest-reporters-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"_phase:test": "heft test --no-build"
},
"devDependencies": {
"@jest/reporters": "~27.4.2",
"@jest/types": "~27.4.2",
"@jest/reporters": "~29.3.1",
"@jest/types": "29.3.1",
"@rushstack/eslint-config": "workspace:*",
"@rushstack/heft": "workspace:*",
"@rushstack/heft-jest-plugin": "workspace:*",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import type {
Test,
TestResult,
AggregatedResult,
Context,
TestContext,
ReporterOnStartOptions
} from '@jest/reporters';

Expand All @@ -28,7 +28,7 @@ module.exports = class CustomJestReporter implements Reporter {
}
}

public onRunComplete(contexts: Set<Context>, results: AggregatedResult): void | Promise<void> {
public onRunComplete(contexts: Set<TestContext>, results: AggregatedResult): void | Promise<void> {
console.log('################# Completing test run #################');
console.log();
}
Expand Down
4 changes: 2 additions & 2 deletions build-tests/heft-jest-reporters-test/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@

"module": "esnext",
"moduleResolution": "node",
"target": "es5",
"lib": ["es5"]
"target": "ES2015",
"lib": ["ES2015"]
},
"include": ["src/**/*.ts", "src/**/*.tsx"],
"exclude": ["node_modules", "lib"]
Expand Down
2 changes: 1 addition & 1 deletion build-tests/heft-typescript-composite-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"@rushstack/heft-jest-plugin": "workspace:*",
"@types/heft-jest": "1.0.1",
"@types/webpack-env": "1.13.0",
"@types/jest": "27.4.0",
"@types/jest": "29.2.5",
"eslint": "~8.7.0",
"tslint": "~5.20.1",
"tslint-microsoft-contrib": "~6.2.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@rushstack/heft-jest-plugin",
"comment": "Upgrade Jest from `~27.4.2` to `~29.3.1`",
"type": "minor"
}
],
"packageName": "@rushstack/heft-jest-plugin"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@rushstack/heft-node-rig",
"comment": "Upgrade Jest from `~27.4.2` to `~29.3.1`",
"type": "minor"
}
],
"packageName": "@rushstack/heft-node-rig"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@rushstack/heft-web-rig",
"comment": "Upgrade Jest from `~27.4.2` to `~29.3.1`",
"type": "minor"
}
],
"packageName": "@rushstack/heft-web-rig"
}
Loading

0 comments on commit daa6eb5

Please sign in to comment.