Skip to content

Commit 5a5cab2

Browse files
author
stevegalili
committed
revert: run with a slow test reporter
1 parent 2c33c44 commit 5a5cab2

File tree

3 files changed

+1
-11
lines changed

3 files changed

+1
-11
lines changed

examples/cookbook/jest.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@ module.exports = {
33
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json'],
44
setupFilesAfterEnv: ['./jest-setup.ts'],
55
testMatch: ['**/*.test.{ts,tsx}'],
6-
reporters: [['jest-slow-test-reporter', { numTests: 8, warnOnSlowerThan: 300, color: true }]],
76
};

examples/cookbook/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"ios": "expo start --ios",
77
"web": "expo start --web",
88
"eject": "expo eject",
9-
"test": "jest --maxWorkers=2",
9+
"test": "jest",
1010
"lint": "eslint .",
1111
"typecheck": "tsc --noEmit"
1212
},
@@ -38,7 +38,6 @@
3838
"@types/react-native-get-random-values": "^1",
3939
"eslint": "^8.57.0",
4040
"jest": "^29.7.0",
41-
"jest-slow-test-reporter": "^1.0.0",
4241
"react-test-renderer": "18.2.0",
4342
"typescript": "~5.3.3"
4443
},

examples/cookbook/yarn.lock

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6937,13 +6937,6 @@ __metadata:
69376937
languageName: node
69386938
linkType: hard
69396939

6940-
"jest-slow-test-reporter@npm:^1.0.0":
6941-
version: 1.0.0
6942-
resolution: "jest-slow-test-reporter@npm:1.0.0"
6943-
checksum: 10c0/e613596602b0bfa9c1dea651d54cbeaa203136287c8e5949264ffab630dc16548bcbe799087c8212fe72a08f48b3737e596cbea5c1a3caf068517f3be5dcc051
6944-
languageName: node
6945-
linkType: hard
6946-
69476940
"jest-snapshot@npm:^29.7.0":
69486941
version: 29.7.0
69496942
resolution: "jest-snapshot@npm:29.7.0"
@@ -9559,7 +9552,6 @@ __metadata:
95599552
expo-splash-screen: "npm:~0.27.5"
95609553
expo-status-bar: "npm:~1.12.1"
95619554
jest: "npm:^29.7.0"
9562-
jest-slow-test-reporter: "npm:^1.0.0"
95639555
jotai: "npm:^2.8.4"
95649556
nanoid: "npm:^3.3.7"
95659557
react: "npm:18.2.0"

0 commit comments

Comments
 (0)