Fix testPathPatterns when config is in subdirectory #13434
nodejs.yml
on: pull_request
prepare-yarn-cache-ubuntu
/
Prepare yarn cache for ubuntu-latest
14s
prepare-yarn-cache-macos
/
Prepare yarn cache for macos-latest
34s
prepare-yarn-cache-windows
/
Prepare yarn cache for windows-latest
43s
TypeScript Compatibility
5m 48s
Typecheck Examples and Tests
3m 47s
Lint
1m 49s
Validate Yarn dependencies and constraints
18s
Node LTS on Ubuntu with leak detection
1m 7s
Matrix: test-coverage
Matrix: test-ubuntu
Matrix: test-macos
Matrix: test-windows
Annotations
601 errors and 118 warnings
Lint
Process completed with exit code 1.
|
SearchSource › getTestPaths › finds tests matching a pattern via testRegex:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a pattern via testMatch:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a JS regex pattern:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a JS glob pattern:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a JS with overriding glob patterns:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with default file extensions using testRegex:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with default file extensions using testMatch:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with parentheses in their rootDir when using testMatch:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with similar but custom file extensions:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with totally custom foobar file extensions:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a pattern via testRegex:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a pattern via testMatch:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a JS regex pattern:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a JS glob pattern:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a JS with overriding glob patterns:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with default file extensions using testRegex:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with default file extensions using testMatch:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with parentheses in their rootDir when using testMatch:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with similar but custom file extensions:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with totally custom foobar file extensions:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a pattern via testRegex:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a pattern via testMatch:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a JS regex pattern:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a JS glob pattern:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a JS with overriding glob patterns:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with default file extensions using testRegex:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with default file extensions using testMatch:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with parentheses in their rootDir when using testMatch:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with similar but custom file extensions:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with totally custom foobar file extensions:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
testPathPatterns › defaults to empty:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: []
Received: {"patterns": []}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1604:38)
|
testPathPatterns › --testPathPatterns › uses --testPathPatterns if set:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a/b"]
Received: {"patterns": ["a/b"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1617:42)
|
testPathPatterns › --testPathPatterns › ignores invalid regular expressions and logs a warning:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: []
Received: {"patterns": []}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1624:42)
|
testPathPatterns › --testPathPatterns › joins multiple --testPathPatterns if set:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a/b", "c/d"]
Received: {"patterns": ["a/b", "c/d"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1632:42)
|
testPathPatterns › <regexForTestFiles> › uses <regexForTestFiles> if set:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a/b"]
Received: {"patterns": ["a/b"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1617:42)
|
testPathPatterns › <regexForTestFiles> › ignores invalid regular expressions and logs a warning:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: []
Received: {"patterns": []}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1624:42)
|
testPathPatterns › <regexForTestFiles> › joins multiple <regexForTestFiles> if set:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a/b", "c/d"]
Received: {"patterns": ["a/b", "c/d"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1632:42)
|
testPathPatterns › coerces <regexForTestFiles> patterns to strings:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["1"]
Received: {"patterns": ["1"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1641:38)
|
testPathPatterns › joins multiple --testPathPatterns and <regexForTestFiles>:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a", "b", "c", "d"]
Received: {"patterns": ["a", "b", "c", "d"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1649:38)
|
snapshots needs update with npm test:
undefined#L1
TypeError: testPathPatterns.isSet is not a function
at SummaryReporter.isSet [as _getTestSummary] (packages/jest-reporters/src/SummaryReporter.ts:230:33)
|
SearchSource › getTestPaths › finds tests matching a pattern via testRegex:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a pattern via testMatch:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a JS regex pattern:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a JS glob pattern:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a JS with overriding glob patterns:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with default file extensions using testRegex:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with default file extensions using testMatch:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with parentheses in their rootDir when using testMatch:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with similar but custom file extensions:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with totally custom foobar file extensions:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a pattern via testRegex:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a pattern via testMatch:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a JS regex pattern:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a JS glob pattern:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a JS with overriding glob patterns:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with default file extensions using testRegex:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with default file extensions using testMatch:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with parentheses in their rootDir when using testMatch:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with similar but custom file extensions:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with totally custom foobar file extensions:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
Watch mode flows › Correctly passing test path pattern:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › Runs Jest once by default and shows usage:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › Runs Jest in a non-interactive environment not showing usage:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › resolves relative to the package root:
undefined#L1
expect(received).resolves.toBeUndefined()
Received promise rejected instead of resolved
Rejected to value: [TypeError: newConfig.testPathPatterns.isSet is not a function]
at expect (packages/expect/build/index.js:2059:15)
|
Watch mode flows › shows prompts for WatchPlugins in alphabetical order:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › shows update snapshot prompt (without interactive):
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › shows update snapshot prompt (with interactive):
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › allows WatchPlugins to hook into JestHook:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › allows WatchPlugins to override eligible internal plugins:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › when dealing with potential watch plugin key conflicts › forbids WatchPlugins overriding reserved internal plugins:
undefined#L1
expect(received).rejects.toThrow(expected)
Expected pattern: /Watch plugin OffendingWatchPlugin attempted to register key <q>,\s+that is reserved internally for .+\.\s+Please change the configuration key for this plugin\./m
Received message: "newConfig.testPathPatterns.isSet is not a function"
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
at Object.toThrow (packages/expect/build/index.js:2097:20)
|
SearchSource › getTestPaths › finds tests matching a pattern via testRegex:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a pattern via testMatch:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a JS regex pattern:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a JS glob pattern:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a JS with overriding glob patterns:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with default file extensions using testRegex:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with default file extensions using testMatch:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with parentheses in their rootDir when using testMatch:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with similar but custom file extensions:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with totally custom foobar file extensions:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
Watch mode flows › Correctly passing test path pattern:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › Runs Jest once by default and shows usage:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › Runs Jest in a non-interactive environment not showing usage:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › resolves relative to the package root:
undefined#L1
expect(received).resolves.toBeUndefined()
Received promise rejected instead of resolved
Rejected to value: [TypeError: newConfig.testPathPatterns.isSet is not a function]
at expect (packages/expect/build/index.js:2059:15)
|
Watch mode flows › shows prompts for WatchPlugins in alphabetical order:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › shows update snapshot prompt (without interactive):
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › shows update snapshot prompt (with interactive):
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › allows WatchPlugins to hook into JestHook:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › allows WatchPlugins to override eligible internal plugins:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › when dealing with potential watch plugin key conflicts › forbids WatchPlugins overriding reserved internal plugins:
undefined#L1
expect(received).rejects.toThrow(expected)
Expected pattern: /Watch plugin OffendingWatchPlugin attempted to register key <q>,\s+that is reserved internally for .+\.\s+Please change the configuration key for this plugin\./m
Received message: "newConfig.testPathPatterns.isSet is not a function"
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
at Object.toThrow (packages/expect/build/index.js:2097:20)
|
TypeScript Compatibility:
packages/jest-types/src/TestPathPatterns.ts#L75
Use 'String#startsWith' method instead
|
TypeScript Compatibility:
packages/jest-types/src/TestPathPatterns.ts#L80
Use 'String#startsWith' method instead
|
TypeScript Compatibility:
packages/jest-types/src/__tests__/TestPathPatterns.test.ts#L1
This rule requires the `strictNullChecks` compiler option to be turned on to function correctly
|
TypeScript Compatibility:
packages/jest-types/src/__tests__/TestPathPatterns.test.ts#L1
This rule requires the `strictNullChecks` compiler option to be turned on to function correctly
|
TypeScript Compatibility:
packages/jest-types/src/__tests__/TestPathPatterns.test.ts#L15
Unsafe assignment of an `any` value
|
TypeScript Compatibility:
packages/jest-types/src/__tests__/TestPathPatterns.test.ts#L15
Unsafe call of an `any` typed value
|
TypeScript Compatibility:
packages/jest-types/src/__tests__/TestPathPatterns.test.ts#L15
Unsafe member access .fn on an `any` value
|
TypeScript Compatibility:
packages/jest-types/src/__tests__/TestPathPatterns.test.ts#L16
Unsafe call of an `any` typed value
|
TypeScript Compatibility:
packages/jest-types/src/__tests__/TestPathPatterns.test.ts#L16
Unsafe member access .mock on an `any` value
|
TypeScript Compatibility:
packages/jest-types/src/__tests__/TestPathPatterns.test.ts#L18
Unsafe call of an `any` typed value
|
Watch mode flows › Correctly passing test path pattern:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › Runs Jest once by default and shows usage:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › Runs Jest in a non-interactive environment not showing usage:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › resolves relative to the package root:
undefined#L1
expect(received).resolves.toBeUndefined()
Received promise rejected instead of resolved
Rejected to value: [TypeError: newConfig.testPathPatterns.isSet is not a function]
at expect (packages/expect/build/index.js:2059:15)
|
Watch mode flows › shows prompts for WatchPlugins in alphabetical order:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › shows update snapshot prompt (without interactive):
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › shows update snapshot prompt (with interactive):
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › allows WatchPlugins to hook into JestHook:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › allows WatchPlugins to override eligible internal plugins:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › when dealing with potential watch plugin key conflicts › forbids WatchPlugins overriding reserved internal plugins:
undefined#L1
expect(received).rejects.toThrow(expected)
Expected pattern: /Watch plugin OffendingWatchPlugin attempted to register key <q>,\s+that is reserved internally for .+\.\s+Please change the configuration key for this plugin\./m
Received message: "newConfig.testPathPatterns.isSet is not a function"
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
at Object.toThrow (packages/expect/build/index.js:2097:20)
|
Watch mode flows › Correctly passing test path pattern:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › Runs Jest once by default and shows usage:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › Runs Jest in a non-interactive environment not showing usage:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › resolves relative to the package root:
undefined#L1
expect(received).resolves.toBeUndefined()
Received promise rejected instead of resolved
Rejected to value: [TypeError: newConfig.testPathPatterns.isSet is not a function]
at expect (packages/expect/build/index.js:2059:15)
|
Watch mode flows › shows prompts for WatchPlugins in alphabetical order:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › shows update snapshot prompt (without interactive):
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › shows update snapshot prompt (with interactive):
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › allows WatchPlugins to hook into JestHook:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › allows WatchPlugins to override eligible internal plugins:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › when dealing with potential watch plugin key conflicts › forbids WatchPlugins overriding reserved internal plugins:
undefined#L1
expect(received).rejects.toThrow(expected)
Expected pattern: /Watch plugin OffendingWatchPlugin attempted to register key <q>,\s+that is reserved internally for .+\.\s+Please change the configuration key for this plugin\./m
Received message: "newConfig.testPathPatterns.isSet is not a function"
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
at Object.toThrow (packages/expect/build/index.js:2097:20)
|
globalSetup function gets global config object and project config as parameters:
e2e/__tests__/globalTeardown.test.ts#L76
expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
- [ 'pass' ]
+ TestPathPatterns { patterns: [ 'pass' ] }
true
at Object.toBe (e2e/__tests__/globalTeardown.test.ts:76:25)
|
should not call a globalTeardown of a project if there are no tests to run from this project:
e2e/runJest.ts#L155
Can't parse JSON.
ERROR: SyntaxError Unexpected end of JSON input
STDOUT:
STDERR: No tests found, exiting with code 1
Run with `--passWithNoTests` to exit with code 0
In /home/runner/work/jest/jest/e2e/global-teardown
4 files checked across 2 projects. Run with `--verbose` for more details.
Pattern: project-1 - 0 matches
at json (e2e/runJest.ts:155:11)
at Object.<anonymous> (e2e/__tests__/globalTeardown.test.ts:94:29)
|
globalTeardown works with default export:
e2e/__tests__/globalTeardown.test.ts#L115
expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
- [ 'pass' ]
+ TestPathPatterns { patterns: [ 'pass' ] }
true
at Object.toBe (e2e/__tests__/globalTeardown.test.ts:115:25)
|
getNoTestsFoundMessage › returns correct message with verbose option:
undefined#L1
TypeError: globalConfig.testPathPatterns.toPretty is not a function
at toPretty (packages/jest-core/src/getNoTestFoundVerbose.ts:60:37)
|
getNoTestsFoundMessage › returns correct message without options:
undefined#L1
TypeError: globalConfig.testPathPatterns.toPretty is not a function
at toPretty (packages/jest-core/src/getNoTestFound.ts:30:37)
|
getNoTestsFoundMessage › returns correct message with findRelatedTests:
undefined#L1
TypeError: globalConfig.testPathPatterns.toPretty is not a function
at toPretty (packages/jest-core/src/getNoTestFound.ts:30:37)
|
FailedTestsInteractive › returns usage info when failing tests are present:
undefined#L1
expect(jest.fn()).toHaveBeenCalledWith(...expected)
- Expected
+ Received
Object {
"mode": "watch",
"testNamePattern": "^test-name$",
- "testPathPatterns": Array [
+ "testPathPatterns": TestPathPatterns {
+ "patterns": Array [
"/tmp/mock-path",
],
+ },
},
Number of calls: 1
at Object.toHaveBeenCalledWith (packages/jest-core/src/plugins/__tests__/FailedTestsInteractive.test.js:40:24)
|
FailedTestsInteractive › returns usage info when failing tests are present:
undefined#L1
expect(jest.fn()).toHaveBeenCalledWith(...expected)
- Expected
+ Received
Object {
"mode": "watch",
"testNamePattern": "^test-name$",
- "testPathPatterns": Array [
+ "testPathPatterns": TestPathPatterns {
+ "patterns": Array [
"/tmp/mock-path",
],
+ },
},
Number of calls: 1
at Object.toHaveBeenCalledWith (packages/jest-core/src/plugins/__tests__/FailedTestsInteractive.test.js:40:24)
|
getNoTestsFoundMessage › returns correct message with verbose option:
undefined#L1
TypeError: globalConfig.testPathPatterns.toPretty is not a function
at toPretty (packages/jest-core/src/getNoTestFoundVerbose.ts:60:37)
|
getNoTestsFoundMessage › returns correct message without options:
undefined#L1
TypeError: globalConfig.testPathPatterns.toPretty is not a function
at toPretty (packages/jest-core/src/getNoTestFound.ts:30:37)
|
Watch mode flows › Correctly passing test path pattern:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › Runs Jest once by default and shows usage:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › Runs Jest in a non-interactive environment not showing usage:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › resolves relative to the package root:
undefined#L1
expect(received).resolves.toBeUndefined()
Received promise rejected instead of resolved
Rejected to value: [TypeError: newConfig.testPathPatterns.isSet is not a function]
at expect (packages/expect/build/index.js:2059:15)
|
Watch mode flows › shows prompts for WatchPlugins in alphabetical order:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › shows update snapshot prompt (without interactive):
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › shows update snapshot prompt (with interactive):
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › allows WatchPlugins to hook into JestHook:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › allows WatchPlugins to override eligible internal plugins:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › when dealing with potential watch plugin key conflicts › forbids WatchPlugins overriding reserved internal plugins:
undefined#L1
expect(received).rejects.toThrow(expected)
Expected pattern: /Watch plugin OffendingWatchPlugin attempted to register key <q>,\s+that is reserved internally for .+\.\s+Please change the configuration key for this plugin\./m
Received message: "newConfig.testPathPatterns.isSet is not a function"
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
at Object.toThrow (packages/expect/build/index.js:2097:20)
|
Watch mode flows › Correctly passing test path pattern:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › Runs Jest once by default and shows usage:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › Runs Jest in a non-interactive environment not showing usage:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › resolves relative to the package root:
undefined#L1
expect(received).resolves.toBeUndefined()
Received promise rejected instead of resolved
Rejected to value: [TypeError: newConfig.testPathPatterns.isSet is not a function]
at expect (packages/expect/build/index.js:2059:15)
|
Watch mode flows › shows prompts for WatchPlugins in alphabetical order:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › shows update snapshot prompt (without interactive):
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › shows update snapshot prompt (with interactive):
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › allows WatchPlugins to hook into JestHook:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › allows WatchPlugins to override eligible internal plugins:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › when dealing with potential watch plugin key conflicts › forbids WatchPlugins overriding reserved internal plugins:
undefined#L1
expect(received).rejects.toThrow(expected)
Expected pattern: /Watch plugin OffendingWatchPlugin attempted to register key <q>,\s+that is reserved internally for .+\.\s+Please change the configuration key for this plugin\./m
Received message: "newConfig.testPathPatterns.isSet is not a function"
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
at Object.toThrow (packages/expect/build/index.js:2097:20)
|
globalSetup function gets global config object and project config as parameters:
e2e/__tests__/globalTeardown.test.ts#L76
expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
- [ 'pass' ]
+ TestPathPatterns { patterns: [ 'pass' ] }
true
at Object.toBe (e2e/__tests__/globalTeardown.test.ts:76:25)
|
should not call a globalTeardown of a project if there are no tests to run from this project:
e2e/runJest.ts#L155
Can't parse JSON.
ERROR: SyntaxError Unexpected end of JSON input
STDOUT:
STDERR: No tests found, exiting with code 1
Run with `--passWithNoTests` to exit with code 0
In /home/runner/work/jest/jest/e2e/global-teardown
4 files checked across 2 projects. Run with `--verbose` for more details.
Pattern: project-1 - 0 matches
at json (e2e/runJest.ts:155:11)
at Object.<anonymous> (e2e/__tests__/globalTeardown.test.ts:94:29)
|
globalTeardown works with default export:
e2e/__tests__/globalTeardown.test.ts#L115
expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
- [ 'pass' ]
+ TestPathPatterns { patterns: [ 'pass' ] }
true
at Object.toBe (e2e/__tests__/globalTeardown.test.ts:115:25)
|
getNoTestsFoundMessage › returns correct message with verbose option:
undefined#L1
TypeError: globalConfig.testPathPatterns.toPretty is not a function
at toPretty (packages/jest-core/src/getNoTestFoundVerbose.ts:60:37)
|
getNoTestsFoundMessage › returns correct message without options:
undefined#L1
TypeError: globalConfig.testPathPatterns.toPretty is not a function
at toPretty (packages/jest-core/src/getNoTestFound.ts:30:37)
|
getNoTestsFoundMessage › returns correct message with findRelatedTests:
undefined#L1
TypeError: globalConfig.testPathPatterns.toPretty is not a function
at toPretty (packages/jest-core/src/getNoTestFound.ts:30:37)
|
FailedTestsInteractive › returns usage info when failing tests are present:
undefined#L1
expect(jest.fn()).toHaveBeenCalledWith(...expected)
- Expected
+ Received
Object {
"mode": "watch",
"testNamePattern": "^test-name$",
- "testPathPatterns": Array [
+ "testPathPatterns": TestPathPatterns {
+ "patterns": Array [
"/tmp/mock-path",
],
+ },
},
Number of calls: 1
at Object.toHaveBeenCalledWith (packages/jest-core/src/plugins/__tests__/FailedTestsInteractive.test.js:40:24)
|
getNoTestsFoundMessage › returns correct message with verbose option:
undefined#L1
TypeError: globalConfig.testPathPatterns.toPretty is not a function
at toPretty (packages/jest-core/src/getNoTestFoundVerbose.ts:60:37)
|
getNoTestsFoundMessage › returns correct message without options:
undefined#L1
TypeError: globalConfig.testPathPatterns.toPretty is not a function
at toPretty (packages/jest-core/src/getNoTestFound.ts:30:37)
|
getNoTestsFoundMessage › returns correct message with findRelatedTests:
undefined#L1
TypeError: globalConfig.testPathPatterns.toPretty is not a function
at toPretty (packages/jest-core/src/getNoTestFound.ts:30:37)
|
globalSetup function gets global config object and project config as parameters:
e2e/__tests__/globalTeardown.test.ts#L76
expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
- [ 'pass' ]
+ TestPathPatterns { patterns: [ 'pass' ] }
true
at Object.toBe (e2e/__tests__/globalTeardown.test.ts:76:25)
|
should not call a globalTeardown of a project if there are no tests to run from this project:
e2e/runJest.ts#L155
Can't parse JSON.
ERROR: SyntaxError Unexpected end of JSON input
STDOUT:
STDERR: No tests found, exiting with code 1
Run with `--passWithNoTests` to exit with code 0
In /home/runner/work/jest/jest/e2e/global-teardown
4 files checked across 2 projects. Run with `--verbose` for more details.
Pattern: project-1 - 0 matches
at json (e2e/runJest.ts:155:11)
at Object.<anonymous> (e2e/__tests__/globalTeardown.test.ts:94:29)
|
globalTeardown works with default export:
e2e/__tests__/globalTeardown.test.ts#L115
expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
- [ 'pass' ]
+ TestPathPatterns { patterns: [ 'pass' ] }
true
at Object.toBe (e2e/__tests__/globalTeardown.test.ts:115:25)
|
getNoTestsFoundMessage › returns correct message with verbose option:
undefined#L1
TypeError: globalConfig.testPathPatterns.toPretty is not a function
at toPretty (packages/jest-core/src/getNoTestFoundVerbose.ts:60:37)
|
getNoTestsFoundMessage › returns correct message without options:
undefined#L1
TypeError: globalConfig.testPathPatterns.toPretty is not a function
at toPretty (packages/jest-core/src/getNoTestFound.ts:30:37)
|
getNoTestsFoundMessage › returns correct message with findRelatedTests:
undefined#L1
TypeError: globalConfig.testPathPatterns.toPretty is not a function
at toPretty (packages/jest-core/src/getNoTestFound.ts:30:37)
|
FailedTestsInteractive › returns usage info when failing tests are present:
undefined#L1
expect(jest.fn()).toHaveBeenCalledWith(...expected)
- Expected
+ Received
Object {
"mode": "watch",
"testNamePattern": "^test-name$",
- "testPathPatterns": Array [
+ "testPathPatterns": TestPathPatterns {
+ "patterns": Array [
"/tmp/mock-path",
],
+ },
},
Number of calls: 1
at Object.toHaveBeenCalledWith (packages/jest-core/src/plugins/__tests__/FailedTestsInteractive.test.js:40:24)
|
FailedTestsInteractive › returns usage info when failing tests are present:
undefined#L1
expect(jest.fn()).toHaveBeenCalledWith(...expected)
- Expected
+ Received
Object {
"mode": "watch",
"testNamePattern": "^test-name$",
- "testPathPatterns": Array [
+ "testPathPatterns": TestPathPatterns {
+ "patterns": Array [
"/tmp/mock-path",
],
+ },
},
Number of calls: 1
at Object.toHaveBeenCalledWith (packages/jest-core/src/plugins/__tests__/FailedTestsInteractive.test.js:40:24)
|
getNoTestsFoundMessage › returns correct message with verbose option:
undefined#L1
TypeError: globalConfig.testPathPatterns.toPretty is not a function
at toPretty (packages/jest-core/src/getNoTestFoundVerbose.ts:60:37)
|
getNoTestsFoundMessage › returns correct message without options:
undefined#L1
TypeError: globalConfig.testPathPatterns.toPretty is not a function
at toPretty (packages/jest-core/src/getNoTestFound.ts:30:37)
|
globalSetup function gets global config object and project config as parameters:
e2e/__tests__/globalTeardown.test.ts#L76
expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
- [ 'pass' ]
+ TestPathPatterns { patterns: [ 'pass' ] }
true
at Object.toBe (e2e/__tests__/globalTeardown.test.ts:76:25)
|
should not call a globalTeardown of a project if there are no tests to run from this project:
e2e/runJest.ts#L155
Can't parse JSON.
ERROR: SyntaxError Unexpected end of JSON input
STDOUT:
STDERR: No tests found, exiting with code 1
Run with `--passWithNoTests` to exit with code 0
In /home/runner/work/jest/jest/e2e/global-teardown
4 files checked across 2 projects. Run with `--verbose` for more details.
Pattern: project-1 - 0 matches
at json (e2e/runJest.ts:155:11)
at Object.<anonymous> (e2e/__tests__/globalTeardown.test.ts:94:29)
|
globalTeardown works with default export:
e2e/__tests__/globalTeardown.test.ts#L115
expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
- [ 'pass' ]
+ TestPathPatterns { patterns: [ 'pass' ] }
true
at Object.toBe (e2e/__tests__/globalTeardown.test.ts:115:25)
|
getNoTestsFoundMessage › returns correct message with verbose option:
undefined#L1
TypeError: globalConfig.testPathPatterns.toPretty is not a function
at toPretty (packages/jest-core/src/getNoTestFoundVerbose.ts:60:37)
|
getNoTestsFoundMessage › returns correct message without options:
undefined#L1
TypeError: globalConfig.testPathPatterns.toPretty is not a function
at toPretty (packages/jest-core/src/getNoTestFound.ts:30:37)
|
getNoTestsFoundMessage › returns correct message with findRelatedTests:
undefined#L1
TypeError: globalConfig.testPathPatterns.toPretty is not a function
at toPretty (packages/jest-core/src/getNoTestFound.ts:30:37)
|
FailedTestsInteractive › returns usage info when failing tests are present:
undefined#L1
expect(jest.fn()).toHaveBeenCalledWith(...expected)
- Expected
+ Received
Object {
"mode": "watch",
"testNamePattern": "^test-name$",
- "testPathPatterns": Array [
+ "testPathPatterns": TestPathPatterns {
+ "patterns": Array [
"/tmp/mock-path",
],
+ },
},
Number of calls: 1
at Object.toHaveBeenCalledWith (packages/jest-core/src/plugins/__tests__/FailedTestsInteractive.test.js:40:24)
|
FailedTestsInteractive › returns usage info when failing tests are present:
undefined#L1
expect(jest.fn()).toHaveBeenCalledWith(...expected)
- Expected
+ Received
Object {
"mode": "watch",
"testNamePattern": "^test-name$",
- "testPathPatterns": Array [
+ "testPathPatterns": TestPathPatterns {
+ "patterns": Array [
"/tmp/mock-path",
],
+ },
},
Number of calls: 1
at Object.toHaveBeenCalledWith (packages/jest-core/src/plugins/__tests__/FailedTestsInteractive.test.js:40:24)
|
getNoTestsFoundMessage › returns correct message with verbose option:
undefined#L1
TypeError: globalConfig.testPathPatterns.toPretty is not a function
at toPretty (packages/jest-core/src/getNoTestFoundVerbose.ts:60:37)
|
getNoTestsFoundMessage › returns correct message without options:
undefined#L1
TypeError: globalConfig.testPathPatterns.toPretty is not a function
at toPretty (packages/jest-core/src/getNoTestFound.ts:30:37)
|
globalSetup function gets global config object and project config as parameters:
e2e/__tests__/globalTeardown.test.ts#L76
expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
- [ 'pass' ]
+ TestPathPatterns { patterns: [ 'pass' ] }
true
at Object.toBe (e2e/__tests__/globalTeardown.test.ts:76:25)
|
should not call a globalTeardown of a project if there are no tests to run from this project:
e2e/runJest.ts#L155
Can't parse JSON.
ERROR: SyntaxError Unexpected end of JSON input
STDOUT:
STDERR: No tests found, exiting with code 1
Run with `--passWithNoTests` to exit with code 0
In /home/runner/work/jest/jest/e2e/global-teardown
4 files checked across 2 projects. Run with `--verbose` for more details.
Pattern: project-1 - 0 matches
at json (e2e/runJest.ts:155:11)
at Object.<anonymous> (e2e/__tests__/globalTeardown.test.ts:94:29)
|
globalTeardown works with default export:
e2e/__tests__/globalTeardown.test.ts#L115
expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
- [ 'pass' ]
+ TestPathPatterns { patterns: [ 'pass' ] }
true
at Object.toBe (e2e/__tests__/globalTeardown.test.ts:115:25)
|
getNoTestsFoundMessage › returns correct message with verbose option:
undefined#L1
TypeError: globalConfig.testPathPatterns.toPretty is not a function
at toPretty (packages/jest-core/src/getNoTestFoundVerbose.ts:60:37)
|
getNoTestsFoundMessage › returns correct message without options:
undefined#L1
TypeError: globalConfig.testPathPatterns.toPretty is not a function
at toPretty (packages/jest-core/src/getNoTestFound.ts:30:37)
|
getNoTestsFoundMessage › returns correct message with findRelatedTests:
undefined#L1
TypeError: globalConfig.testPathPatterns.toPretty is not a function
at toPretty (packages/jest-core/src/getNoTestFound.ts:30:37)
|
FailedTestsInteractive › returns usage info when failing tests are present:
undefined#L1
expect(jest.fn()).toHaveBeenCalledWith(...expected)
- Expected
+ Received
Object {
"mode": "watch",
"testNamePattern": "^test-name$",
- "testPathPatterns": Array [
+ "testPathPatterns": TestPathPatterns {
+ "patterns": Array [
"/tmp/mock-path",
],
+ },
},
Number of calls: 1
at Object.toHaveBeenCalledWith (packages/jest-core/src/plugins/__tests__/FailedTestsInteractive.test.js:40:24)
|
FailedTestsInteractive › returns usage info when failing tests are present:
undefined#L1
expect(jest.fn()).toHaveBeenCalledWith(...expected)
- Expected
+ Received
Object {
"mode": "watch",
"testNamePattern": "^test-name$",
- "testPathPatterns": Array [
+ "testPathPatterns": TestPathPatterns {
+ "patterns": Array [
"/tmp/mock-path",
],
+ },
},
Number of calls: 1
at Object.toHaveBeenCalledWith (packages/jest-core/src/plugins/__tests__/FailedTestsInteractive.test.js:40:24)
|
getNoTestsFoundMessage › returns correct message with verbose option:
undefined#L1
TypeError: globalConfig.testPathPatterns.toPretty is not a function
at toPretty (packages/jest-core/src/getNoTestFoundVerbose.ts:60:37)
|
getNoTestsFoundMessage › returns correct message without options:
undefined#L1
TypeError: globalConfig.testPathPatterns.toPretty is not a function
at toPretty (packages/jest-core/src/getNoTestFound.ts:30:37)
|
globalSetup function gets global config object and project config as parameters:
e2e/__tests__/globalTeardown.test.ts#L76
expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
- [ 'pass' ]
+ TestPathPatterns { patterns: [ 'pass' ] }
true
at Object.toBe (e2e/__tests__/globalTeardown.test.ts:76:25)
|
should not call a globalTeardown of a project if there are no tests to run from this project:
e2e/runJest.ts#L155
Can't parse JSON.
ERROR: SyntaxError Unexpected end of JSON input
STDOUT:
STDERR: No tests found, exiting with code 1
Run with `--passWithNoTests` to exit with code 0
In /home/runner/work/jest/jest/e2e/global-teardown
4 files checked across 2 projects. Run with `--verbose` for more details.
Pattern: project-1 - 0 matches
at json (e2e/runJest.ts:155:11)
at Object.<anonymous> (e2e/__tests__/globalTeardown.test.ts:94:29)
|
globalTeardown works with default export:
e2e/__tests__/globalTeardown.test.ts#L115
expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
- [ 'pass' ]
+ TestPathPatterns { patterns: [ 'pass' ] }
true
at Object.toBe (e2e/__tests__/globalTeardown.test.ts:115:25)
|
getNoTestsFoundMessage › returns correct message with verbose option:
undefined#L1
TypeError: globalConfig.testPathPatterns.toPretty is not a function
at toPretty (packages/jest-core/src/getNoTestFoundVerbose.ts:60:37)
|
getNoTestsFoundMessage › returns correct message without options:
undefined#L1
TypeError: globalConfig.testPathPatterns.toPretty is not a function
at toPretty (packages/jest-core/src/getNoTestFound.ts:30:37)
|
getNoTestsFoundMessage › returns correct message with findRelatedTests:
undefined#L1
TypeError: globalConfig.testPathPatterns.toPretty is not a function
at toPretty (packages/jest-core/src/getNoTestFound.ts:30:37)
|
FailedTestsInteractive › returns usage info when failing tests are present:
undefined#L1
expect(jest.fn()).toHaveBeenCalledWith(...expected)
- Expected
+ Received
Object {
"mode": "watch",
"testNamePattern": "^test-name$",
- "testPathPatterns": Array [
+ "testPathPatterns": TestPathPatterns {
+ "patterns": Array [
"/tmp/mock-path",
],
+ },
},
Number of calls: 1
at Object.toHaveBeenCalledWith (packages/jest-core/src/plugins/__tests__/FailedTestsInteractive.test.js:40:24)
|
FailedTestsInteractive › returns usage info when failing tests are present:
undefined#L1
expect(jest.fn()).toHaveBeenCalledWith(...expected)
- Expected
+ Received
Object {
"mode": "watch",
"testNamePattern": "^test-name$",
- "testPathPatterns": Array [
+ "testPathPatterns": TestPathPatterns {
+ "patterns": Array [
"/tmp/mock-path",
],
+ },
},
Number of calls: 1
at Object.toHaveBeenCalledWith (packages/jest-core/src/plugins/__tests__/FailedTestsInteractive.test.js:40:24)
|
getNoTestsFoundMessage › returns correct message with verbose option:
undefined#L1
TypeError: globalConfig.testPathPatterns.toPretty is not a function
at toPretty (packages/jest-core/src/getNoTestFoundVerbose.ts:60:37)
|
getNoTestsFoundMessage › returns correct message without options:
undefined#L1
TypeError: globalConfig.testPathPatterns.toPretty is not a function
at toPretty (packages/jest-core/src/getNoTestFound.ts:30:37)
|
testPathPatterns › defaults to empty:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: []
Received: {"patterns": []}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1604:38)
|
testPathPatterns › --testPathPatterns › uses --testPathPatterns if set:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a/b"]
Received: {"patterns": ["a/b"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1617:42)
|
testPathPatterns › --testPathPatterns › ignores invalid regular expressions and logs a warning:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: []
Received: {"patterns": []}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1624:42)
|
testPathPatterns › --testPathPatterns › joins multiple --testPathPatterns if set:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a/b", "c/d"]
Received: {"patterns": ["a/b", "c/d"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1632:42)
|
testPathPatterns › <regexForTestFiles> › uses <regexForTestFiles> if set:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a/b"]
Received: {"patterns": ["a/b"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1617:42)
|
testPathPatterns › <regexForTestFiles> › ignores invalid regular expressions and logs a warning:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: []
Received: {"patterns": []}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1624:42)
|
testPathPatterns › <regexForTestFiles> › joins multiple <regexForTestFiles> if set:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a/b", "c/d"]
Received: {"patterns": ["a/b", "c/d"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1632:42)
|
testPathPatterns › coerces <regexForTestFiles> patterns to strings:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["1"]
Received: {"patterns": ["1"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1641:38)
|
testPathPatterns › joins multiple --testPathPatterns and <regexForTestFiles>:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a", "b", "c", "d"]
Received: {"patterns": ["a", "b", "c", "d"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1649:38)
|
snapshots needs update with npm test:
undefined#L1
TypeError: testPathPatterns.isSet is not a function
at SummaryReporter.isSet [as _getTestSummary] (packages/jest-reporters/src/SummaryReporter.ts:230:33)
|
testPathPatterns › defaults to empty:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: []
Received: {"patterns": []}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1604:38)
|
testPathPatterns › --testPathPatterns › uses --testPathPatterns if set:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a/b"]
Received: {"patterns": ["a/b"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1617:42)
|
testPathPatterns › --testPathPatterns › ignores invalid regular expressions and logs a warning:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: []
Received: {"patterns": []}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1624:42)
|
testPathPatterns › --testPathPatterns › joins multiple --testPathPatterns if set:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a/b", "c/d"]
Received: {"patterns": ["a/b", "c/d"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1632:42)
|
testPathPatterns › <regexForTestFiles> › uses <regexForTestFiles> if set:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a/b"]
Received: {"patterns": ["a/b"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1617:42)
|
testPathPatterns › <regexForTestFiles> › ignores invalid regular expressions and logs a warning:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: []
Received: {"patterns": []}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1624:42)
|
testPathPatterns › <regexForTestFiles> › joins multiple <regexForTestFiles> if set:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a/b", "c/d"]
Received: {"patterns": ["a/b", "c/d"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1632:42)
|
testPathPatterns › coerces <regexForTestFiles> patterns to strings:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["1"]
Received: {"patterns": ["1"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1641:38)
|
testPathPatterns › joins multiple --testPathPatterns and <regexForTestFiles>:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a", "b", "c", "d"]
Received: {"patterns": ["a", "b", "c", "d"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1649:38)
|
snapshots needs update with npm test:
undefined#L1
TypeError: testPathPatterns.isSet is not a function
at SummaryReporter.isSet [as _getTestSummary] (packages/jest-reporters/src/SummaryReporter.ts:230:33)
|
testPathPatterns › defaults to empty:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: []
Received: {"patterns": []}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1604:38)
|
testPathPatterns › --testPathPatterns › uses --testPathPatterns if set:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a/b"]
Received: {"patterns": ["a/b"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1617:42)
|
testPathPatterns › --testPathPatterns › ignores invalid regular expressions and logs a warning:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: []
Received: {"patterns": []}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1624:42)
|
testPathPatterns › --testPathPatterns › joins multiple --testPathPatterns if set:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a/b", "c/d"]
Received: {"patterns": ["a/b", "c/d"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1632:42)
|
testPathPatterns › <regexForTestFiles> › uses <regexForTestFiles> if set:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a/b"]
Received: {"patterns": ["a/b"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1617:42)
|
testPathPatterns › <regexForTestFiles> › ignores invalid regular expressions and logs a warning:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: []
Received: {"patterns": []}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1624:42)
|
testPathPatterns › <regexForTestFiles> › joins multiple <regexForTestFiles> if set:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a/b", "c/d"]
Received: {"patterns": ["a/b", "c/d"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1632:42)
|
testPathPatterns › coerces <regexForTestFiles> patterns to strings:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["1"]
Received: {"patterns": ["1"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1641:38)
|
testPathPatterns › joins multiple --testPathPatterns and <regexForTestFiles>:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a", "b", "c", "d"]
Received: {"patterns": ["a", "b", "c", "d"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1649:38)
|
snapshots needs update with npm test:
undefined#L1
TypeError: testPathPatterns.isSet is not a function
at SummaryReporter.isSet [as _getTestSummary] (packages/jest-reporters/src/SummaryReporter.ts:230:33)
|
testPathPatterns › defaults to empty:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: []
Received: {"patterns": []}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1604:38)
|
testPathPatterns › --testPathPatterns › uses --testPathPatterns if set:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a/b"]
Received: {"patterns": ["a/b"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1617:42)
|
testPathPatterns › --testPathPatterns › ignores invalid regular expressions and logs a warning:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: []
Received: {"patterns": []}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1624:42)
|
testPathPatterns › --testPathPatterns › joins multiple --testPathPatterns if set:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a/b", "c/d"]
Received: {"patterns": ["a/b", "c/d"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1632:42)
|
testPathPatterns › <regexForTestFiles> › uses <regexForTestFiles> if set:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a/b"]
Received: {"patterns": ["a/b"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1617:42)
|
testPathPatterns › <regexForTestFiles> › ignores invalid regular expressions and logs a warning:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: []
Received: {"patterns": []}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1624:42)
|
testPathPatterns › <regexForTestFiles> › joins multiple <regexForTestFiles> if set:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a/b", "c/d"]
Received: {"patterns": ["a/b", "c/d"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1632:42)
|
testPathPatterns › coerces <regexForTestFiles> patterns to strings:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["1"]
Received: {"patterns": ["1"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1641:38)
|
testPathPatterns › joins multiple --testPathPatterns and <regexForTestFiles>:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a", "b", "c", "d"]
Received: {"patterns": ["a", "b", "c", "d"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1649:38)
|
snapshots needs update with npm test:
undefined#L1
TypeError: testPathPatterns.isSet is not a function
at SummaryReporter.isSet [as _getTestSummary] (packages/jest-reporters/src/SummaryReporter.ts:230:33)
|
testPathPatterns › defaults to empty:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: []
Received: {"patterns": []}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1604:38)
|
testPathPatterns › --testPathPatterns › uses --testPathPatterns if set:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a/b"]
Received: {"patterns": ["a/b"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1617:42)
|
testPathPatterns › --testPathPatterns › ignores invalid regular expressions and logs a warning:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: []
Received: {"patterns": []}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1624:42)
|
testPathPatterns › --testPathPatterns › joins multiple --testPathPatterns if set:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a/b", "c/d"]
Received: {"patterns": ["a/b", "c/d"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1632:42)
|
testPathPatterns › <regexForTestFiles> › uses <regexForTestFiles> if set:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a/b"]
Received: {"patterns": ["a/b"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1617:42)
|
testPathPatterns › <regexForTestFiles> › ignores invalid regular expressions and logs a warning:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: []
Received: {"patterns": []}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1624:42)
|
testPathPatterns › <regexForTestFiles> › joins multiple <regexForTestFiles> if set:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a/b", "c/d"]
Received: {"patterns": ["a/b", "c/d"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1632:42)
|
testPathPatterns › coerces <regexForTestFiles> patterns to strings:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["1"]
Received: {"patterns": ["1"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1641:38)
|
testPathPatterns › joins multiple --testPathPatterns and <regexForTestFiles>:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a", "b", "c", "d"]
Received: {"patterns": ["a", "b", "c", "d"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1649:38)
|
snapshots needs update with npm test:
undefined#L1
TypeError: testPathPatterns.isSet is not a function
at SummaryReporter.isSet [as _getTestSummary] (packages/jest-reporters/src/SummaryReporter.ts:230:33)
|
testPathPatterns › defaults to empty:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: []
Received: {"patterns": []}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1604:38)
|
testPathPatterns › --testPathPatterns › uses --testPathPatterns if set:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a/b"]
Received: {"patterns": ["a/b"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1617:42)
|
testPathPatterns › --testPathPatterns › ignores invalid regular expressions and logs a warning:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: []
Received: {"patterns": []}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1624:42)
|
testPathPatterns › --testPathPatterns › joins multiple --testPathPatterns if set:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a/b", "c/d"]
Received: {"patterns": ["a/b", "c/d"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1632:42)
|
testPathPatterns › <regexForTestFiles> › uses <regexForTestFiles> if set:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a/b"]
Received: {"patterns": ["a/b"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1617:42)
|
testPathPatterns › <regexForTestFiles> › ignores invalid regular expressions and logs a warning:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: []
Received: {"patterns": []}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1624:42)
|
testPathPatterns › <regexForTestFiles> › joins multiple <regexForTestFiles> if set:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a/b", "c/d"]
Received: {"patterns": ["a/b", "c/d"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1632:42)
|
testPathPatterns › coerces <regexForTestFiles> patterns to strings:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["1"]
Received: {"patterns": ["1"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1641:38)
|
testPathPatterns › joins multiple --testPathPatterns and <regexForTestFiles>:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a", "b", "c", "d"]
Received: {"patterns": ["a", "b", "c", "d"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1649:38)
|
snapshots needs update with npm test:
undefined#L1
TypeError: testPathPatterns.isSet is not a function
at SummaryReporter.isSet [as _getTestSummary] (packages/jest-reporters/src/SummaryReporter.ts:230:33)
|
SearchSource › getTestPaths › finds tests matching a pattern via testRegex:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a pattern via testMatch:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a JS regex pattern:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a JS glob pattern:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a JS with overriding glob patterns:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with default file extensions using testRegex:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with default file extensions using testMatch:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with parentheses in their rootDir when using testMatch:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with similar but custom file extensions:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with totally custom foobar file extensions:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a pattern via testRegex:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a pattern via testMatch:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a JS regex pattern:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a JS glob pattern:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a JS with overriding glob patterns:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with default file extensions using testRegex:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with default file extensions using testMatch:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with parentheses in their rootDir when using testMatch:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with similar but custom file extensions:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with totally custom foobar file extensions:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a pattern via testRegex:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a pattern via testMatch:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a JS regex pattern:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a JS glob pattern:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a JS with overriding glob patterns:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with default file extensions using testRegex:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with default file extensions using testMatch:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with parentheses in their rootDir when using testMatch:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with similar but custom file extensions:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with totally custom foobar file extensions:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a pattern via testRegex:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a pattern via testMatch:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a JS regex pattern:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a JS glob pattern:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a JS with overriding glob patterns:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with default file extensions using testRegex:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with default file extensions using testMatch:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with parentheses in their rootDir when using testMatch:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with similar but custom file extensions:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with totally custom foobar file extensions:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a pattern via testRegex:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a pattern via testMatch:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a JS regex pattern:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a JS glob pattern:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a JS with overriding glob patterns:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with default file extensions using testRegex:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with default file extensions using testMatch:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with parentheses in their rootDir when using testMatch:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with similar but custom file extensions:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with totally custom foobar file extensions:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
Watch mode flows › Correctly passing test path pattern:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › Runs Jest once by default and shows usage:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › Runs Jest in a non-interactive environment not showing usage:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › resolves relative to the package root:
undefined#L1
expect(received).resolves.toBeUndefined()
Received promise rejected instead of resolved
Rejected to value: [TypeError: newConfig.testPathPatterns.isSet is not a function]
at expect (packages/expect/build/index.js:2167:15)
|
Watch mode flows › shows prompts for WatchPlugins in alphabetical order:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › shows update snapshot prompt (without interactive):
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › shows update snapshot prompt (with interactive):
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › allows WatchPlugins to hook into JestHook:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › allows WatchPlugins to override eligible internal plugins:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › when dealing with potential watch plugin key conflicts › forbids WatchPlugins overriding reserved internal plugins:
undefined#L1
expect(received).rejects.toThrow(expected)
Expected pattern: /Watch plugin OffendingWatchPlugin attempted to register key <q>,\s+that is reserved internally for .+\.\s+Please change the configuration key for this plugin\./m
Received message: "newConfig.testPathPatterns.isSet is not a function"
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
at Object.toThrow (packages/expect/build/index.js:2205:20)
|
globalSetup function gets global config object and project config as parameters:
e2e/__tests__/globalTeardown.test.ts#L76
expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
- [ 'pass' ]
+ TestPathPatterns { patterns: [ 'pass' ] }
true
at Object.toBe (e2e/__tests__/globalTeardown.test.ts:76:25)
|
should not call a globalTeardown of a project if there are no tests to run from this project:
e2e/runJest.ts#L155
Can't parse JSON.
ERROR: SyntaxError Unexpected end of JSON input
STDOUT:
STDERR: No tests found, exiting with code 1
Run with `--passWithNoTests` to exit with code 0
In /Users/runner/work/jest/jest/e2e/global-teardown
4 files checked across 2 projects. Run with `--verbose` for more details.
Pattern: project-1 - 0 matches
at json (e2e/runJest.ts:155:11)
at Object.<anonymous> (e2e/__tests__/globalTeardown.test.ts:94:29)
|
globalTeardown works with default export:
e2e/__tests__/globalTeardown.test.ts#L115
expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
- [ 'pass' ]
+ TestPathPatterns { patterns: [ 'pass' ] }
true
at Object.toBe (e2e/__tests__/globalTeardown.test.ts:115:25)
|
FailedTestsInteractive › returns usage info when failing tests are present:
undefined#L1
expect(jest.fn()).toHaveBeenCalledWith(...expected)
- Expected
+ Received
Object {
"mode": "watch",
"testNamePattern": "^test-name$",
- "testPathPatterns": Array [
+ "testPathPatterns": TestPathPatterns {
+ "patterns": Array [
"/tmp/mock-path",
],
+ },
},
Number of calls: 1
at Object.toHaveBeenCalledWith (packages/jest-core/src/plugins/__tests__/FailedTestsInteractive.test.js:40:24)
|
FailedTestsInteractive › returns usage info when failing tests are present:
undefined#L1
expect(jest.fn()).toHaveBeenCalledWith(...expected)
- Expected
+ Received
Object {
"mode": "watch",
"testNamePattern": "^test-name$",
- "testPathPatterns": Array [
+ "testPathPatterns": TestPathPatterns {
+ "patterns": Array [
"/tmp/mock-path",
],
+ },
},
Number of calls: 1
at Object.toHaveBeenCalledWith (packages/jest-core/src/plugins/__tests__/FailedTestsInteractive.test.js:40:24)
|
globalSetup function gets global config object and project config as parameters:
e2e/__tests__/globalTeardown.test.ts#L76
expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
- [ 'pass' ]
+ TestPathPatterns { patterns: [ 'pass' ] }
true
at Object.toBe (e2e/__tests__/globalTeardown.test.ts:76:25)
|
should not call a globalTeardown of a project if there are no tests to run from this project:
e2e/runJest.ts#L155
Can't parse JSON.
ERROR: SyntaxError Unexpected end of JSON input
STDOUT:
STDERR: No tests found, exiting with code 1
Run with `--passWithNoTests` to exit with code 0
In /Users/runner/work/jest/jest/e2e/global-teardown
4 files checked across 2 projects. Run with `--verbose` for more details.
Pattern: project-1 - 0 matches
at json (e2e/runJest.ts:155:11)
at Object.<anonymous> (e2e/__tests__/globalTeardown.test.ts:94:29)
|
globalTeardown works with default export:
e2e/__tests__/globalTeardown.test.ts#L115
expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
- [ 'pass' ]
+ TestPathPatterns { patterns: [ 'pass' ] }
true
at Object.toBe (e2e/__tests__/globalTeardown.test.ts:115:25)
|
FailedTestsInteractive › returns usage info when failing tests are present:
undefined#L1
expect(jest.fn()).toHaveBeenCalledWith(...expected)
- Expected
+ Received
Object {
"mode": "watch",
"testNamePattern": "^test-name$",
- "testPathPatterns": Array [
+ "testPathPatterns": TestPathPatterns {
+ "patterns": Array [
"/tmp/mock-path",
],
+ },
},
Number of calls: 1
at Object.toHaveBeenCalledWith (packages/jest-core/src/plugins/__tests__/FailedTestsInteractive.test.js:40:24)
|
globalSetup function gets global config object and project config as parameters:
e2e/__tests__/globalTeardown.test.ts#L76
expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
- [ 'pass' ]
+ TestPathPatterns { patterns: [ 'pass' ] }
true
at Object.toBe (e2e/__tests__/globalTeardown.test.ts:76:25)
|
SearchSource › getTestPaths › finds tests matching a pattern via testRegex:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a pattern via testMatch:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a JS regex pattern:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a JS glob pattern:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a JS with overriding glob patterns:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with default file extensions using testRegex:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with default file extensions using testMatch:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with parentheses in their rootDir when using testMatch:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with similar but custom file extensions:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with totally custom foobar file extensions:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
Watch mode flows › Correctly passing test path pattern:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › Runs Jest once by default and shows usage:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › Runs Jest in a non-interactive environment not showing usage:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › resolves relative to the package root:
undefined#L1
expect(received).resolves.toBeUndefined()
Received promise rejected instead of resolved
Rejected to value: [TypeError: newConfig.testPathPatterns.isSet is not a function]
at expect (packages/expect/build/index.js:2167:15)
|
Watch mode flows › shows prompts for WatchPlugins in alphabetical order:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › shows update snapshot prompt (without interactive):
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › shows update snapshot prompt (with interactive):
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › allows WatchPlugins to hook into JestHook:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › allows WatchPlugins to override eligible internal plugins:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › when dealing with potential watch plugin key conflicts › forbids WatchPlugins overriding reserved internal plugins:
undefined#L1
expect(received).rejects.toThrow(expected)
Expected pattern: /Watch plugin OffendingWatchPlugin attempted to register key <q>,\s+that is reserved internally for .+\.\s+Please change the configuration key for this plugin\./m
Received message: "newConfig.testPathPatterns.isSet is not a function"
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
at Object.toThrow (packages/expect/build/index.js:2205:20)
|
Watch mode flows › Correctly passing test path pattern:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › Runs Jest once by default and shows usage:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › Runs Jest in a non-interactive environment not showing usage:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › resolves relative to the package root:
undefined#L1
expect(received).resolves.toBeUndefined()
Received promise rejected instead of resolved
Rejected to value: [TypeError: newConfig.testPathPatterns.isSet is not a function]
at expect (packages/expect/build/index.js:2167:15)
|
Watch mode flows › shows prompts for WatchPlugins in alphabetical order:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › shows update snapshot prompt (without interactive):
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › shows update snapshot prompt (with interactive):
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › allows WatchPlugins to hook into JestHook:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › allows WatchPlugins to override eligible internal plugins:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › when dealing with potential watch plugin key conflicts › forbids WatchPlugins overriding reserved internal plugins:
undefined#L1
expect(received).rejects.toThrow(expected)
Expected pattern: /Watch plugin OffendingWatchPlugin attempted to register key <q>,\s+that is reserved internally for .+\.\s+Please change the configuration key for this plugin\./m
Received message: "newConfig.testPathPatterns.isSet is not a function"
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
at Object.toThrow (packages/expect/build/index.js:2205:20)
|
Watch mode flows › Correctly passing test path pattern:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › Runs Jest once by default and shows usage:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › Runs Jest in a non-interactive environment not showing usage:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › resolves relative to the package root:
undefined#L1
expect(received).resolves.toBeUndefined()
Received promise rejected instead of resolved
Rejected to value: [TypeError: newConfig.testPathPatterns.isSet is not a function]
at expect (packages/expect/build/index.js:2167:15)
|
Watch mode flows › shows prompts for WatchPlugins in alphabetical order:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › shows update snapshot prompt (without interactive):
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › shows update snapshot prompt (with interactive):
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › allows WatchPlugins to hook into JestHook:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › allows WatchPlugins to override eligible internal plugins:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › when dealing with potential watch plugin key conflicts › forbids WatchPlugins overriding reserved internal plugins:
undefined#L1
expect(received).rejects.toThrow(expected)
Expected pattern: /Watch plugin OffendingWatchPlugin attempted to register key <q>,\s+that is reserved internally for .+\.\s+Please change the configuration key for this plugin\./m
Received message: "newConfig.testPathPatterns.isSet is not a function"
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
at Object.toThrow (packages/expect/build/index.js:2205:20)
|
Watch mode flows › Correctly passing test path pattern:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › Runs Jest once by default and shows usage:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › Runs Jest in a non-interactive environment not showing usage:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › resolves relative to the package root:
undefined#L1
expect(received).resolves.toBeUndefined()
Received promise rejected instead of resolved
Rejected to value: [TypeError: newConfig.testPathPatterns.isSet is not a function]
at expect (packages/expect/build/index.js:2167:15)
|
Watch mode flows › shows prompts for WatchPlugins in alphabetical order:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › shows update snapshot prompt (without interactive):
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › shows update snapshot prompt (with interactive):
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › allows WatchPlugins to hook into JestHook:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › allows WatchPlugins to override eligible internal plugins:
undefined#L1
TypeError: newConfig.testPathPatterns.isSet is not a function
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
|
Watch mode flows › when dealing with potential watch plugin key conflicts › forbids WatchPlugins overriding reserved internal plugins:
undefined#L1
expect(received).rejects.toThrow(expected)
Expected pattern: /Watch plugin OffendingWatchPlugin attempted to register key <q>,\s+that is reserved internally for .+\.\s+Please change the configuration key for this plugin\./m
Received message: "newConfig.testPathPatterns.isSet is not a function"
at isSet (packages/jest-core/src/lib/updateGlobalConfig.ts:40:33)
at Object.toThrow (packages/expect/build/index.js:2205:20)
|
globalSetup function gets global config object and project config as parameters:
e2e/__tests__/globalTeardown.test.ts#L76
expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
- [ 'pass' ]
+ TestPathPatterns { patterns: [ 'pass' ] }
true
at Object.toBe (e2e/__tests__/globalTeardown.test.ts:76:25)
|
should not call a globalTeardown of a project if there are no tests to run from this project:
e2e/runJest.ts#L155
Can't parse JSON.
ERROR: SyntaxError Unexpected end of JSON input
STDOUT:
STDERR: No tests found, exiting with code 1
Run with `--passWithNoTests` to exit with code 0
In D:\a\jest\jest\e2e\global-teardown
4 files checked across 2 projects. Run with `--verbose` for more details.
Pattern: project-1 - 0 matches
at json (e2e/runJest.ts:155:11)
at Object.<anonymous> (e2e/__tests__/globalTeardown.test.ts:94:29)
|
globalTeardown works with default export:
e2e/__tests__/globalTeardown.test.ts#L115
expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
- [ 'pass' ]
+ TestPathPatterns { patterns: [ 'pass' ] }
true
at Object.toBe (e2e/__tests__/globalTeardown.test.ts:115:25)
|
getNoTestsFoundMessage › returns correct message with verbose option:
undefined#L1
TypeError: globalConfig.testPathPatterns.toPretty is not a function
at toPretty (packages/jest-core/src/getNoTestFoundVerbose.ts:60:37)
|
getNoTestsFoundMessage › returns correct message without options:
undefined#L1
TypeError: globalConfig.testPathPatterns.toPretty is not a function
at toPretty (packages/jest-core/src/getNoTestFound.ts:30:37)
|
getNoTestsFoundMessage › returns correct message with findRelatedTests:
undefined#L1
TypeError: globalConfig.testPathPatterns.toPretty is not a function
at toPretty (packages/jest-core/src/getNoTestFound.ts:30:37)
|
FailedTestsInteractive › returns usage info when failing tests are present:
undefined#L1
expect(jest.fn()).toHaveBeenCalledWith(...expected)
- Expected
+ Received
Object {
"mode": "watch",
"testNamePattern": "^test-name$",
- "testPathPatterns": Array [
+ "testPathPatterns": TestPathPatterns {
+ "patterns": Array [
"/tmp/mock-path",
],
+ },
},
Number of calls: 1
at Object.toHaveBeenCalledWith (packages/jest-core/src/plugins/__tests__/FailedTestsInteractive.test.js:40:24)
|
FailedTestsInteractive › returns usage info when failing tests are present:
undefined#L1
expect(jest.fn()).toHaveBeenCalledWith(...expected)
- Expected
+ Received
Object {
"mode": "watch",
"testNamePattern": "^test-name$",
- "testPathPatterns": Array [
+ "testPathPatterns": TestPathPatterns {
+ "patterns": Array [
"/tmp/mock-path",
],
+ },
},
Number of calls: 1
at Object.toHaveBeenCalledWith (packages/jest-core/src/plugins/__tests__/FailedTestsInteractive.test.js:40:24)
|
getNoTestsFoundMessage › returns correct message with verbose option:
undefined#L1
TypeError: globalConfig.testPathPatterns.toPretty is not a function
at toPretty (packages/jest-core/src/getNoTestFoundVerbose.ts:60:37)
|
getNoTestsFoundMessage › returns correct message without options:
undefined#L1
TypeError: globalConfig.testPathPatterns.toPretty is not a function
at toPretty (packages/jest-core/src/getNoTestFound.ts:30:37)
|
globalSetup function gets global config object and project config as parameters:
e2e/__tests__/globalTeardown.test.ts#L76
expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
- [ 'pass' ]
+ TestPathPatterns { patterns: [ 'pass' ] }
true
at Object.toBe (e2e/__tests__/globalTeardown.test.ts:76:25)
|
should not call a globalTeardown of a project if there are no tests to run from this project:
e2e/runJest.ts#L155
Can't parse JSON.
ERROR: SyntaxError Unexpected end of JSON input
STDOUT:
STDERR: No tests found, exiting with code 1
Run with `--passWithNoTests` to exit with code 0
In D:\a\jest\jest\e2e\global-teardown
4 files checked across 2 projects. Run with `--verbose` for more details.
Pattern: project-1 - 0 matches
at json (e2e/runJest.ts:155:11)
at Object.<anonymous> (e2e/__tests__/globalTeardown.test.ts:94:29)
|
globalTeardown works with default export:
e2e/__tests__/globalTeardown.test.ts#L115
expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
- [ 'pass' ]
+ TestPathPatterns { patterns: [ 'pass' ] }
true
at Object.toBe (e2e/__tests__/globalTeardown.test.ts:115:25)
|
getNoTestsFoundMessage › returns correct message with verbose option:
undefined#L1
TypeError: globalConfig.testPathPatterns.toPretty is not a function
at toPretty (packages/jest-core/src/getNoTestFoundVerbose.ts:60:37)
|
getNoTestsFoundMessage › returns correct message without options:
undefined#L1
TypeError: globalConfig.testPathPatterns.toPretty is not a function
at toPretty (packages/jest-core/src/getNoTestFound.ts:30:37)
|
getNoTestsFoundMessage › returns correct message with findRelatedTests:
undefined#L1
TypeError: globalConfig.testPathPatterns.toPretty is not a function
at toPretty (packages/jest-core/src/getNoTestFound.ts:30:37)
|
FailedTestsInteractive › returns usage info when failing tests are present:
undefined#L1
expect(jest.fn()).toHaveBeenCalledWith(...expected)
- Expected
+ Received
Object {
"mode": "watch",
"testNamePattern": "^test-name$",
- "testPathPatterns": Array [
+ "testPathPatterns": TestPathPatterns {
+ "patterns": Array [
"/tmp/mock-path",
],
+ },
},
Number of calls: 1
at Object.toHaveBeenCalledWith (packages/jest-core/src/plugins/__tests__/FailedTestsInteractive.test.js:40:24)
|
FailedTestsInteractive › returns usage info when failing tests are present:
undefined#L1
expect(jest.fn()).toHaveBeenCalledWith(...expected)
- Expected
+ Received
Object {
"mode": "watch",
"testNamePattern": "^test-name$",
- "testPathPatterns": Array [
+ "testPathPatterns": TestPathPatterns {
+ "patterns": Array [
"/tmp/mock-path",
],
+ },
},
Number of calls: 1
at Object.toHaveBeenCalledWith (packages/jest-core/src/plugins/__tests__/FailedTestsInteractive.test.js:40:24)
|
globalSetup function gets global config object and project config as parameters:
e2e/__tests__/globalTeardown.test.ts#L76
expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
- [ 'pass' ]
+ TestPathPatterns { patterns: [ 'pass' ] }
true
at Object.toBe (e2e/__tests__/globalTeardown.test.ts:76:25)
|
getNoTestsFoundMessage › returns correct message with verbose option:
undefined#L1
TypeError: globalConfig.testPathPatterns.toPretty is not a function
at toPretty (packages/jest-core/src/getNoTestFoundVerbose.ts:60:37)
|
should not call a globalTeardown of a project if there are no tests to run from this project:
e2e/runJest.ts#L155
Can't parse JSON.
ERROR: SyntaxError Unexpected end of JSON input
STDOUT:
STDERR: No tests found, exiting with code 1
Run with `--passWithNoTests` to exit with code 0
In D:\a\jest\jest\e2e\global-teardown
4 files checked across 2 projects. Run with `--verbose` for more details.
Pattern: project-1 - 0 matches
at json (e2e/runJest.ts:155:11)
at Object.<anonymous> (e2e/__tests__/globalTeardown.test.ts:94:29)
|
getNoTestsFoundMessage › returns correct message without options:
undefined#L1
TypeError: globalConfig.testPathPatterns.toPretty is not a function
at toPretty (packages/jest-core/src/getNoTestFound.ts:30:37)
|
globalTeardown works with default export:
e2e/__tests__/globalTeardown.test.ts#L115
expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
- [ 'pass' ]
+ TestPathPatterns { patterns: [ 'pass' ] }
true
at Object.toBe (e2e/__tests__/globalTeardown.test.ts:115:25)
|
getNoTestsFoundMessage › returns correct message with verbose option:
undefined#L1
TypeError: globalConfig.testPathPatterns.toPretty is not a function
at toPretty (packages/jest-core/src/getNoTestFoundVerbose.ts:60:37)
|
getNoTestsFoundMessage › returns correct message without options:
undefined#L1
TypeError: globalConfig.testPathPatterns.toPretty is not a function
at toPretty (packages/jest-core/src/getNoTestFound.ts:30:37)
|
getNoTestsFoundMessage › returns correct message with findRelatedTests:
undefined#L1
TypeError: globalConfig.testPathPatterns.toPretty is not a function
at toPretty (packages/jest-core/src/getNoTestFound.ts:30:37)
|
FailedTestsInteractive › returns usage info when failing tests are present:
undefined#L1
expect(jest.fn()).toHaveBeenCalledWith(...expected)
- Expected
+ Received
Object {
"mode": "watch",
"testNamePattern": "^test-name$",
- "testPathPatterns": Array [
+ "testPathPatterns": TestPathPatterns {
+ "patterns": Array [
"/tmp/mock-path",
],
+ },
},
Number of calls: 1
at Object.toHaveBeenCalledWith (packages/jest-core/src/plugins/__tests__/FailedTestsInteractive.test.js:40:24)
|
getNoTestsFoundMessage › returns correct message with verbose option:
undefined#L1
TypeError: globalConfig.testPathPatterns.toPretty is not a function
at toPretty (packages/jest-core/src/getNoTestFoundVerbose.ts:60:37)
|
getNoTestsFoundMessage › returns correct message without options:
undefined#L1
TypeError: globalConfig.testPathPatterns.toPretty is not a function
at toPretty (packages/jest-core/src/getNoTestFound.ts:30:37)
|
getNoTestsFoundMessage › returns correct message with findRelatedTests:
undefined#L1
TypeError: globalConfig.testPathPatterns.toPretty is not a function
at toPretty (packages/jest-core/src/getNoTestFound.ts:30:37)
|
globalSetup function gets global config object and project config as parameters:
e2e/__tests__/globalTeardown.test.ts#L76
expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
- [ 'pass' ]
+ TestPathPatterns { patterns: [ 'pass' ] }
true
at Object.toBe (e2e/__tests__/globalTeardown.test.ts:76:25)
|
should not call a globalTeardown of a project if there are no tests to run from this project:
e2e/runJest.ts#L155
Can't parse JSON.
ERROR: SyntaxError Unexpected end of JSON input
STDOUT:
STDERR: No tests found, exiting with code 1
Run with `--passWithNoTests` to exit with code 0
In /Users/runner/work/jest/jest/e2e/global-teardown
4 files checked across 2 projects. Run with `--verbose` for more details.
Pattern: project-1 - 0 matches
at json (e2e/runJest.ts:155:11)
at Object.<anonymous> (e2e/__tests__/globalTeardown.test.ts:94:29)
|
globalTeardown works with default export:
e2e/__tests__/globalTeardown.test.ts#L115
expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
- [ 'pass' ]
+ TestPathPatterns { patterns: [ 'pass' ] }
true
at Object.toBe (e2e/__tests__/globalTeardown.test.ts:115:25)
|
FailedTestsInteractive › returns usage info when failing tests are present:
undefined#L1
expect(jest.fn()).toHaveBeenCalledWith(...expected)
- Expected
+ Received
Object {
"mode": "watch",
"testNamePattern": "^test-name$",
- "testPathPatterns": Array [
+ "testPathPatterns": TestPathPatterns {
+ "patterns": Array [
"/tmp/mock-path",
],
+ },
},
Number of calls: 1
at Object.toHaveBeenCalledWith (packages/jest-core/src/plugins/__tests__/FailedTestsInteractive.test.js:40:24)
|
FailedTestsInteractive › returns usage info when failing tests are present:
undefined#L1
expect(jest.fn()).toHaveBeenCalledWith(...expected)
- Expected
+ Received
Object {
"mode": "watch",
"testNamePattern": "^test-name$",
- "testPathPatterns": Array [
+ "testPathPatterns": TestPathPatterns {
+ "patterns": Array [
"/tmp/mock-path",
],
+ },
},
Number of calls: 1
at Object.toHaveBeenCalledWith (packages/jest-core/src/plugins/__tests__/FailedTestsInteractive.test.js:40:24)
|
globalSetup function gets global config object and project config as parameters:
e2e/__tests__/globalTeardown.test.ts#L76
expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
- [ 'pass' ]
+ TestPathPatterns { patterns: [ 'pass' ] }
true
at Object.toBe (e2e/__tests__/globalTeardown.test.ts:76:25)
|
should not call a globalTeardown of a project if there are no tests to run from this project:
e2e/runJest.ts#L155
Can't parse JSON.
ERROR: SyntaxError Unexpected end of JSON input
STDOUT:
STDERR: No tests found, exiting with code 1
Run with `--passWithNoTests` to exit with code 0
In /Users/runner/work/jest/jest/e2e/global-teardown
4 files checked across 2 projects. Run with `--verbose` for more details.
Pattern: project-1 - 0 matches
at json (e2e/runJest.ts:155:11)
at Object.<anonymous> (e2e/__tests__/globalTeardown.test.ts:94:29)
|
globalTeardown works with default export:
e2e/__tests__/globalTeardown.test.ts#L115
expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
- [ 'pass' ]
+ TestPathPatterns { patterns: [ 'pass' ] }
true
at Object.toBe (e2e/__tests__/globalTeardown.test.ts:115:25)
|
FailedTestsInteractive › returns usage info when failing tests are present:
undefined#L1
expect(jest.fn()).toHaveBeenCalledWith(...expected)
- Expected
+ Received
Object {
"mode": "watch",
"testNamePattern": "^test-name$",
- "testPathPatterns": Array [
+ "testPathPatterns": TestPathPatterns {
+ "patterns": Array [
"/tmp/mock-path",
],
+ },
},
Number of calls: 1
at Object.toHaveBeenCalledWith (packages/jest-core/src/plugins/__tests__/FailedTestsInteractive.test.js:40:24)
|
globalSetup function gets global config object and project config as parameters:
e2e/__tests__/globalTeardown.test.ts#L76
expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
- [ 'pass' ]
+ TestPathPatterns { patterns: [ 'pass' ] }
true
at Object.toBe (e2e/__tests__/globalTeardown.test.ts:76:25)
|
globalSetup function gets global config object and project config as parameters:
e2e/__tests__/globalTeardown.test.ts#L76
expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
- [ 'pass' ]
+ TestPathPatterns { patterns: [ 'pass' ] }
true
at Object.toBe (e2e/__tests__/globalTeardown.test.ts:76:25)
|
should not call a globalTeardown of a project if there are no tests to run from this project:
e2e/runJest.ts#L155
Can't parse JSON.
ERROR: SyntaxError Unexpected end of JSON input
STDOUT:
STDERR: No tests found, exiting with code 1
Run with `--passWithNoTests` to exit with code 0
In D:\a\jest\jest\e2e\global-teardown
4 files checked across 2 projects. Run with `--verbose` for more details.
Pattern: project-1 - 0 matches
at json (e2e/runJest.ts:155:11)
at Object.<anonymous> (e2e/__tests__/globalTeardown.test.ts:94:29)
|
globalTeardown works with default export:
e2e/__tests__/globalTeardown.test.ts#L115
expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
- [ 'pass' ]
+ TestPathPatterns { patterns: [ 'pass' ] }
true
at Object.toBe (e2e/__tests__/globalTeardown.test.ts:115:25)
|
getNoTestsFoundMessage › returns correct message with verbose option:
undefined#L1
TypeError: globalConfig.testPathPatterns.toPretty is not a function
at toPretty (packages/jest-core/src/getNoTestFoundVerbose.ts:60:37)
|
getNoTestsFoundMessage › returns correct message without options:
undefined#L1
TypeError: globalConfig.testPathPatterns.toPretty is not a function
at toPretty (packages/jest-core/src/getNoTestFound.ts:30:37)
|
getNoTestsFoundMessage › returns correct message with findRelatedTests:
undefined#L1
TypeError: globalConfig.testPathPatterns.toPretty is not a function
at toPretty (packages/jest-core/src/getNoTestFound.ts:30:37)
|
FailedTestsInteractive › returns usage info when failing tests are present:
undefined#L1
expect(jest.fn()).toHaveBeenCalledWith(...expected)
- Expected
+ Received
Object {
"mode": "watch",
"testNamePattern": "^test-name$",
- "testPathPatterns": Array [
+ "testPathPatterns": TestPathPatterns {
+ "patterns": Array [
"/tmp/mock-path",
],
+ },
},
Number of calls: 1
at Object.toHaveBeenCalledWith (packages/jest-core/src/plugins/__tests__/FailedTestsInteractive.test.js:40:24)
|
FailedTestsInteractive › returns usage info when failing tests are present:
undefined#L1
expect(jest.fn()).toHaveBeenCalledWith(...expected)
- Expected
+ Received
Object {
"mode": "watch",
"testNamePattern": "^test-name$",
- "testPathPatterns": Array [
+ "testPathPatterns": TestPathPatterns {
+ "patterns": Array [
"/tmp/mock-path",
],
+ },
},
Number of calls: 1
at Object.toHaveBeenCalledWith (packages/jest-core/src/plugins/__tests__/FailedTestsInteractive.test.js:40:24)
|
getNoTestsFoundMessage › returns correct message with verbose option:
undefined#L1
TypeError: globalConfig.testPathPatterns.toPretty is not a function
at toPretty (packages/jest-core/src/getNoTestFoundVerbose.ts:60:37)
|
getNoTestsFoundMessage › returns correct message without options:
undefined#L1
TypeError: globalConfig.testPathPatterns.toPretty is not a function
at toPretty (packages/jest-core/src/getNoTestFound.ts:30:37)
|
globalSetup function gets global config object and project config as parameters:
e2e/__tests__/globalTeardown.test.ts#L76
expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
- [ 'pass' ]
+ TestPathPatterns { patterns: [ 'pass' ] }
true
at Object.toBe (e2e/__tests__/globalTeardown.test.ts:76:25)
|
should not call a globalTeardown of a project if there are no tests to run from this project:
e2e/runJest.ts#L155
Can't parse JSON.
ERROR: SyntaxError Unexpected end of JSON input
STDOUT:
STDERR: No tests found, exiting with code 1
Run with `--passWithNoTests` to exit with code 0
In D:\a\jest\jest\e2e\global-teardown
4 files checked across 2 projects. Run with `--verbose` for more details.
Pattern: project-1 - 0 matches
at json (e2e/runJest.ts:155:11)
at Object.<anonymous> (e2e/__tests__/globalTeardown.test.ts:94:29)
|
globalTeardown works with default export:
e2e/__tests__/globalTeardown.test.ts#L115
expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
- [ 'pass' ]
+ TestPathPatterns { patterns: [ 'pass' ] }
true
at Object.toBe (e2e/__tests__/globalTeardown.test.ts:115:25)
|
getNoTestsFoundMessage › returns correct message with verbose option:
undefined#L1
TypeError: globalConfig.testPathPatterns.toPretty is not a function
at toPretty (packages/jest-core/src/getNoTestFoundVerbose.ts:60:37)
|
getNoTestsFoundMessage › returns correct message without options:
undefined#L1
TypeError: globalConfig.testPathPatterns.toPretty is not a function
at toPretty (packages/jest-core/src/getNoTestFound.ts:30:37)
|
getNoTestsFoundMessage › returns correct message with findRelatedTests:
undefined#L1
TypeError: globalConfig.testPathPatterns.toPretty is not a function
at toPretty (packages/jest-core/src/getNoTestFound.ts:30:37)
|
FailedTestsInteractive › returns usage info when failing tests are present:
undefined#L1
expect(jest.fn()).toHaveBeenCalledWith(...expected)
- Expected
+ Received
Object {
"mode": "watch",
"testNamePattern": "^test-name$",
- "testPathPatterns": Array [
+ "testPathPatterns": TestPathPatterns {
+ "patterns": Array [
"/tmp/mock-path",
],
+ },
},
Number of calls: 1
at Object.toHaveBeenCalledWith (packages/jest-core/src/plugins/__tests__/FailedTestsInteractive.test.js:40:24)
|
getNoTestsFoundMessage › returns correct message with verbose option:
undefined#L1
TypeError: globalConfig.testPathPatterns.toPretty is not a function
at toPretty (packages/jest-core/src/getNoTestFoundVerbose.ts:60:37)
|
getNoTestsFoundMessage › returns correct message without options:
undefined#L1
TypeError: globalConfig.testPathPatterns.toPretty is not a function
at toPretty (packages/jest-core/src/getNoTestFound.ts:30:37)
|
getNoTestsFoundMessage › returns correct message with findRelatedTests:
undefined#L1
TypeError: globalConfig.testPathPatterns.toPretty is not a function
at toPretty (packages/jest-core/src/getNoTestFound.ts:30:37)
|
globalSetup function gets global config object and project config as parameters:
e2e/__tests__/globalTeardown.test.ts#L76
expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
- [ 'pass' ]
+ TestPathPatterns { patterns: [ 'pass' ] }
true
at Object.toBe (e2e/__tests__/globalTeardown.test.ts:76:25)
|
should not call a globalTeardown of a project if there are no tests to run from this project:
e2e/runJest.ts#L155
Can't parse JSON.
ERROR: SyntaxError Unexpected end of JSON input
STDOUT:
STDERR: No tests found, exiting with code 1
Run with `--passWithNoTests` to exit with code 0
In /Users/runner/work/jest/jest/e2e/global-teardown
4 files checked across 2 projects. Run with `--verbose` for more details.
Pattern: project-1 - 0 matches
at json (e2e/runJest.ts:155:11)
at Object.<anonymous> (e2e/__tests__/globalTeardown.test.ts:94:29)
|
globalTeardown works with default export:
e2e/__tests__/globalTeardown.test.ts#L115
expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
- [ 'pass' ]
+ TestPathPatterns { patterns: [ 'pass' ] }
true
at Object.toBe (e2e/__tests__/globalTeardown.test.ts:115:25)
|
FailedTestsInteractive › returns usage info when failing tests are present:
undefined#L1
expect(jest.fn()).toHaveBeenCalledWith(...expected)
- Expected
+ Received
Object {
"mode": "watch",
"testNamePattern": "^test-name$",
- "testPathPatterns": Array [
+ "testPathPatterns": TestPathPatterns {
+ "patterns": Array [
"/tmp/mock-path",
],
+ },
},
Number of calls: 1
at Object.toHaveBeenCalledWith (packages/jest-core/src/plugins/__tests__/FailedTestsInteractive.test.js:40:24)
|
FailedTestsInteractive › returns usage info when failing tests are present:
undefined#L1
expect(jest.fn()).toHaveBeenCalledWith(...expected)
- Expected
+ Received
Object {
"mode": "watch",
"testNamePattern": "^test-name$",
- "testPathPatterns": Array [
+ "testPathPatterns": TestPathPatterns {
+ "patterns": Array [
"/tmp/mock-path",
],
+ },
},
Number of calls: 1
at Object.toHaveBeenCalledWith (packages/jest-core/src/plugins/__tests__/FailedTestsInteractive.test.js:40:24)
|
globalSetup function gets global config object and project config as parameters:
e2e/__tests__/globalTeardown.test.ts#L76
expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
- [ 'pass' ]
+ TestPathPatterns { patterns: [ 'pass' ] }
true
at Object.toBe (e2e/__tests__/globalTeardown.test.ts:76:25)
|
should not call a globalTeardown of a project if there are no tests to run from this project:
e2e/runJest.ts#L155
Can't parse JSON.
ERROR: SyntaxError Unexpected end of JSON input
STDOUT:
STDERR: No tests found, exiting with code 1
Run with `--passWithNoTests` to exit with code 0
In /Users/runner/work/jest/jest/e2e/global-teardown
4 files checked across 2 projects. Run with `--verbose` for more details.
Pattern: project-1 - 0 matches
at json (e2e/runJest.ts:155:11)
at Object.<anonymous> (e2e/__tests__/globalTeardown.test.ts:94:29)
|
globalTeardown works with default export:
e2e/__tests__/globalTeardown.test.ts#L115
expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
- [ 'pass' ]
+ TestPathPatterns { patterns: [ 'pass' ] }
true
at Object.toBe (e2e/__tests__/globalTeardown.test.ts:115:25)
|
FailedTestsInteractive › returns usage info when failing tests are present:
undefined#L1
expect(jest.fn()).toHaveBeenCalledWith(...expected)
- Expected
+ Received
Object {
"mode": "watch",
"testNamePattern": "^test-name$",
- "testPathPatterns": Array [
+ "testPathPatterns": TestPathPatterns {
+ "patterns": Array [
"/tmp/mock-path",
],
+ },
},
Number of calls: 1
at Object.toHaveBeenCalledWith (packages/jest-core/src/plugins/__tests__/FailedTestsInteractive.test.js:40:24)
|
globalSetup function gets global config object and project config as parameters:
e2e/__tests__/globalTeardown.test.ts#L76
expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
- [ 'pass' ]
+ TestPathPatterns { patterns: [ 'pass' ] }
true
at Object.toBe (e2e/__tests__/globalTeardown.test.ts:76:25)
|
testPathPatterns › defaults to empty:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: []
Received: {"patterns": []}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1604:38)
|
testPathPatterns › --testPathPatterns › uses --testPathPatterns if set:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a/b"]
Received: {"patterns": ["a/b"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1617:42)
|
testPathPatterns › --testPathPatterns › ignores invalid regular expressions and logs a warning:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: []
Received: {"patterns": []}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1624:42)
|
testPathPatterns › --testPathPatterns › joins multiple --testPathPatterns if set:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a/b", "c/d"]
Received: {"patterns": ["a/b", "c/d"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1632:42)
|
testPathPatterns › <regexForTestFiles> › uses <regexForTestFiles> if set:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a/b"]
Received: {"patterns": ["a/b"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1617:42)
|
testPathPatterns › <regexForTestFiles> › ignores invalid regular expressions and logs a warning:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: []
Received: {"patterns": []}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1624:42)
|
testPathPatterns › <regexForTestFiles> › joins multiple <regexForTestFiles> if set:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a/b", "c/d"]
Received: {"patterns": ["a/b", "c/d"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1632:42)
|
testPathPatterns › coerces <regexForTestFiles> patterns to strings:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["1"]
Received: {"patterns": ["1"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1641:38)
|
testPathPatterns › joins multiple --testPathPatterns and <regexForTestFiles>:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a", "b", "c", "d"]
Received: {"patterns": ["a", "b", "c", "d"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1649:38)
|
snapshots needs update with npm test:
undefined#L1
TypeError: testPathPatterns.isSet is not a function
at SummaryReporter.isSet [as _getTestSummary] (packages/jest-reporters/src/SummaryReporter.ts:230:33)
|
testPathPatterns › defaults to empty:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: []
Received: {"patterns": []}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1604:38)
|
testPathPatterns › --testPathPatterns › uses --testPathPatterns if set:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a/b"]
Received: {"patterns": ["a/b"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1617:42)
|
testPathPatterns › --testPathPatterns › ignores invalid regular expressions and logs a warning:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: []
Received: {"patterns": []}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1624:42)
|
testPathPatterns › --testPathPatterns › joins multiple --testPathPatterns if set:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a/b", "c/d"]
Received: {"patterns": ["a/b", "c/d"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1632:42)
|
testPathPatterns › <regexForTestFiles> › uses <regexForTestFiles> if set:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a/b"]
Received: {"patterns": ["a/b"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1617:42)
|
testPathPatterns › <regexForTestFiles> › ignores invalid regular expressions and logs a warning:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: []
Received: {"patterns": []}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1624:42)
|
testPathPatterns › <regexForTestFiles> › joins multiple <regexForTestFiles> if set:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a/b", "c/d"]
Received: {"patterns": ["a/b", "c/d"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1632:42)
|
testPathPatterns › coerces <regexForTestFiles> patterns to strings:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["1"]
Received: {"patterns": ["1"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1641:38)
|
testPathPatterns › joins multiple --testPathPatterns and <regexForTestFiles>:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a", "b", "c", "d"]
Received: {"patterns": ["a", "b", "c", "d"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1649:38)
|
snapshots needs update with npm test:
undefined#L1
TypeError: testPathPatterns.isSet is not a function
at SummaryReporter.isSet [as _getTestSummary] (packages/jest-reporters/src/SummaryReporter.ts:230:33)
|
testPathPatterns › defaults to empty:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: []
Received: {"patterns": []}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1604:38)
|
testPathPatterns › --testPathPatterns › uses --testPathPatterns if set:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a/b"]
Received: {"patterns": ["a/b"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1617:42)
|
testPathPatterns › --testPathPatterns › ignores invalid regular expressions and logs a warning:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: []
Received: {"patterns": []}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1624:42)
|
testPathPatterns › --testPathPatterns › joins multiple --testPathPatterns if set:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a/b", "c/d"]
Received: {"patterns": ["a/b", "c/d"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1632:42)
|
testPathPatterns › <regexForTestFiles> › uses <regexForTestFiles> if set:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a/b"]
Received: {"patterns": ["a/b"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1617:42)
|
testPathPatterns › <regexForTestFiles> › ignores invalid regular expressions and logs a warning:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: []
Received: {"patterns": []}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1624:42)
|
testPathPatterns › <regexForTestFiles> › joins multiple <regexForTestFiles> if set:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a/b", "c/d"]
Received: {"patterns": ["a/b", "c/d"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1632:42)
|
testPathPatterns › coerces <regexForTestFiles> patterns to strings:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["1"]
Received: {"patterns": ["1"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1641:38)
|
testPathPatterns › joins multiple --testPathPatterns and <regexForTestFiles>:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a", "b", "c", "d"]
Received: {"patterns": ["a", "b", "c", "d"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1649:38)
|
snapshots needs update with npm test:
undefined#L1
TypeError: testPathPatterns.isSet is not a function
at SummaryReporter.isSet [as _getTestSummary] (packages/jest-reporters/src/SummaryReporter.ts:230:33)
|
testPathPatterns › defaults to empty:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: []
Received: {"patterns": []}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1604:38)
|
testPathPatterns › --testPathPatterns › uses --testPathPatterns if set:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a/b"]
Received: {"patterns": ["a/b"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1617:42)
|
testPathPatterns › --testPathPatterns › ignores invalid regular expressions and logs a warning:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: []
Received: {"patterns": []}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1624:42)
|
testPathPatterns › --testPathPatterns › joins multiple --testPathPatterns if set:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a/b", "c/d"]
Received: {"patterns": ["a/b", "c/d"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1632:42)
|
testPathPatterns › <regexForTestFiles> › uses <regexForTestFiles> if set:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a/b"]
Received: {"patterns": ["a/b"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1617:42)
|
testPathPatterns › <regexForTestFiles> › ignores invalid regular expressions and logs a warning:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: []
Received: {"patterns": []}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1624:42)
|
testPathPatterns › <regexForTestFiles> › joins multiple <regexForTestFiles> if set:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a/b", "c/d"]
Received: {"patterns": ["a/b", "c/d"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1632:42)
|
testPathPatterns › coerces <regexForTestFiles> patterns to strings:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["1"]
Received: {"patterns": ["1"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1641:38)
|
testPathPatterns › joins multiple --testPathPatterns and <regexForTestFiles>:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a", "b", "c", "d"]
Received: {"patterns": ["a", "b", "c", "d"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1649:38)
|
snapshots needs update with npm test:
undefined#L1
TypeError: testPathPatterns.isSet is not a function
at SummaryReporter.isSet [as _getTestSummary] (packages/jest-reporters/src/SummaryReporter.ts:230:33)
|
testPathPatterns › defaults to empty:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: []
Received: {"patterns": []}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1604:38)
|
testPathPatterns › --testPathPatterns › uses --testPathPatterns if set:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a/b"]
Received: {"patterns": ["a/b"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1617:42)
|
testPathPatterns › --testPathPatterns › ignores invalid regular expressions and logs a warning:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: []
Received: {"patterns": []}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1624:42)
|
testPathPatterns › --testPathPatterns › joins multiple --testPathPatterns if set:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a/b", "c/d"]
Received: {"patterns": ["a/b", "c/d"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1632:42)
|
testPathPatterns › <regexForTestFiles> › uses <regexForTestFiles> if set:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a/b"]
Received: {"patterns": ["a/b"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1617:42)
|
testPathPatterns › <regexForTestFiles> › ignores invalid regular expressions and logs a warning:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: []
Received: {"patterns": []}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1624:42)
|
testPathPatterns › <regexForTestFiles> › joins multiple <regexForTestFiles> if set:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a/b", "c/d"]
Received: {"patterns": ["a/b", "c/d"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1632:42)
|
testPathPatterns › coerces <regexForTestFiles> patterns to strings:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["1"]
Received: {"patterns": ["1"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1641:38)
|
testPathPatterns › joins multiple --testPathPatterns and <regexForTestFiles>:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a", "b", "c", "d"]
Received: {"patterns": ["a", "b", "c", "d"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1649:38)
|
snapshots needs update with npm test:
undefined#L1
TypeError: testPathPatterns.isSet is not a function
at SummaryReporter.isSet [as _getTestSummary] (packages/jest-reporters/src/SummaryReporter.ts:230:33)
|
testPathPatterns › defaults to empty:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: []
Received: {"patterns": []}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1604:38)
|
testPathPatterns › --testPathPatterns › uses --testPathPatterns if set:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a/b"]
Received: {"patterns": ["a/b"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1617:42)
|
testPathPatterns › --testPathPatterns › ignores invalid regular expressions and logs a warning:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: []
Received: {"patterns": []}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1624:42)
|
testPathPatterns › --testPathPatterns › joins multiple --testPathPatterns if set:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a/b", "c/d"]
Received: {"patterns": ["a/b", "c/d"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1632:42)
|
testPathPatterns › <regexForTestFiles> › uses <regexForTestFiles> if set:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a/b"]
Received: {"patterns": ["a/b"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1617:42)
|
testPathPatterns › <regexForTestFiles> › ignores invalid regular expressions and logs a warning:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: []
Received: {"patterns": []}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1624:42)
|
testPathPatterns › <regexForTestFiles> › joins multiple <regexForTestFiles> if set:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a/b", "c/d"]
Received: {"patterns": ["a/b", "c/d"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1632:42)
|
testPathPatterns › coerces <regexForTestFiles> patterns to strings:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["1"]
Received: {"patterns": ["1"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1641:38)
|
testPathPatterns › joins multiple --testPathPatterns and <regexForTestFiles>:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a", "b", "c", "d"]
Received: {"patterns": ["a", "b", "c", "d"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1649:38)
|
snapshots needs update with npm test:
undefined#L1
TypeError: testPathPatterns.isSet is not a function
at SummaryReporter.isSet [as _getTestSummary] (packages/jest-reporters/src/SummaryReporter.ts:230:33)
|
testPathPatterns › defaults to empty:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: []
Received: {"patterns": []}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1604:38)
|
testPathPatterns › --testPathPatterns › uses --testPathPatterns if set:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a/b"]
Received: {"patterns": ["a/b"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1617:42)
|
testPathPatterns › --testPathPatterns › ignores invalid regular expressions and logs a warning:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: []
Received: {"patterns": []}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1624:42)
|
testPathPatterns › --testPathPatterns › joins multiple --testPathPatterns if set:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a/b", "c/d"]
Received: {"patterns": ["a/b", "c/d"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1632:42)
|
testPathPatterns › <regexForTestFiles> › uses <regexForTestFiles> if set:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a/b"]
Received: {"patterns": ["a/b"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1617:42)
|
testPathPatterns › <regexForTestFiles> › ignores invalid regular expressions and logs a warning:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: []
Received: {"patterns": []}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1624:42)
|
testPathPatterns › <regexForTestFiles> › joins multiple <regexForTestFiles> if set:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a/b", "c/d"]
Received: {"patterns": ["a/b", "c/d"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1632:42)
|
testPathPatterns › coerces <regexForTestFiles> patterns to strings:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["1"]
Received: {"patterns": ["1"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1641:38)
|
testPathPatterns › joins multiple --testPathPatterns and <regexForTestFiles>:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a", "b", "c", "d"]
Received: {"patterns": ["a", "b", "c", "d"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1649:38)
|
snapshots needs update with npm test:
undefined#L1
TypeError: testPathPatterns.isSet is not a function
at SummaryReporter.isSet [as _getTestSummary] (packages/jest-reporters/src/SummaryReporter.ts:230:33)
|
globalSetup function gets global config object and project config as parameters:
e2e/__tests__/globalTeardown.test.ts#L76
expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
- [ 'pass' ]
+ TestPathPatterns { patterns: [ 'pass' ] }
true
at Object.toBe (e2e/__tests__/globalTeardown.test.ts:76:25)
at runMicrotasks (<anonymous>)
|
should not call a globalTeardown of a project if there are no tests to run from this project:
e2e/runJest.ts#L155
Can't parse JSON.
ERROR: SyntaxError Unexpected end of JSON input
STDOUT:
STDERR: No tests found, exiting with code 1
Run with `--passWithNoTests` to exit with code 0
In /Users/runner/work/jest/jest/e2e/global-teardown
4 files checked across 2 projects. Run with `--verbose` for more details.
Pattern: project-1 - 0 matches
at json (e2e/runJest.ts:155:11)
at Object.<anonymous> (e2e/__tests__/globalTeardown.test.ts:94:29)
at runMicrotasks (<anonymous>)
|
globalTeardown works with default export:
e2e/__tests__/globalTeardown.test.ts#L115
expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
- [ 'pass' ]
+ TestPathPatterns { patterns: [ 'pass' ] }
true
at Object.toBe (e2e/__tests__/globalTeardown.test.ts:115:25)
at runMicrotasks (<anonymous>)
|
FailedTestsInteractive › returns usage info when failing tests are present:
undefined#L1
expect(jest.fn()).toHaveBeenCalledWith(...expected)
- Expected
+ Received
Object {
"mode": "watch",
"testNamePattern": "^test-name$",
- "testPathPatterns": Array [
+ "testPathPatterns": TestPathPatterns {
+ "patterns": Array [
"/tmp/mock-path",
],
+ },
},
Number of calls: 1
at Object.toHaveBeenCalledWith (packages/jest-core/src/plugins/__tests__/FailedTestsInteractive.test.js:40:24)
at runMicrotasks (<anonymous>)
|
FailedTestsInteractive › returns usage info when failing tests are present:
undefined#L1
expect(jest.fn()).toHaveBeenCalledWith(...expected)
- Expected
+ Received
Object {
"mode": "watch",
"testNamePattern": "^test-name$",
- "testPathPatterns": Array [
+ "testPathPatterns": TestPathPatterns {
+ "patterns": Array [
"/tmp/mock-path",
],
+ },
},
Number of calls: 1
at Object.toHaveBeenCalledWith (packages/jest-core/src/plugins/__tests__/FailedTestsInteractive.test.js:40:24)
|
globalSetup function gets global config object and project config as parameters:
e2e/__tests__/globalTeardown.test.ts#L76
expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
- [ 'pass' ]
+ TestPathPatterns { patterns: [ 'pass' ] }
true
at Object.toBe (e2e/__tests__/globalTeardown.test.ts:76:25)
|
should not call a globalTeardown of a project if there are no tests to run from this project:
e2e/runJest.ts#L155
Can't parse JSON.
ERROR: SyntaxError Unexpected end of JSON input
STDOUT:
STDERR: No tests found, exiting with code 1
Run with `--passWithNoTests` to exit with code 0
In /Users/runner/work/jest/jest/e2e/global-teardown
4 files checked across 2 projects. Run with `--verbose` for more details.
Pattern: project-1 - 0 matches
at json (e2e/runJest.ts:155:11)
at Object.<anonymous> (e2e/__tests__/globalTeardown.test.ts:94:29)
|
globalTeardown works with default export:
e2e/__tests__/globalTeardown.test.ts#L115
expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
- [ 'pass' ]
+ TestPathPatterns { patterns: [ 'pass' ] }
true
at Object.toBe (e2e/__tests__/globalTeardown.test.ts:115:25)
|
FailedTestsInteractive › returns usage info when failing tests are present:
undefined#L1
expect(jest.fn()).toHaveBeenCalledWith(...expected)
- Expected
+ Received
Object {
"mode": "watch",
"testNamePattern": "^test-name$",
- "testPathPatterns": Array [
+ "testPathPatterns": TestPathPatterns {
+ "patterns": Array [
"/tmp/mock-path",
],
+ },
},
Number of calls: 1
at Object.toHaveBeenCalledWith (packages/jest-core/src/plugins/__tests__/FailedTestsInteractive.test.js:40:24)
|
globalSetup function gets global config object and project config as parameters:
e2e/__tests__/globalTeardown.test.ts#L76
expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
- [ 'pass' ]
+ TestPathPatterns { patterns: [ 'pass' ] }
true
at Object.toBe (e2e/__tests__/globalTeardown.test.ts:76:25)
|
testPathPatterns › defaults to empty:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: []
Received: {"patterns": []}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1604:38)
|
testPathPatterns › --testPathPatterns › uses --testPathPatterns if set:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a/b"]
Received: {"patterns": ["a/b"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1617:42)
|
testPathPatterns › --testPathPatterns › ignores invalid regular expressions and logs a warning:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: []
Received: {"patterns": []}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1624:42)
|
testPathPatterns › --testPathPatterns › joins multiple --testPathPatterns if set:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a/b", "c/d"]
Received: {"patterns": ["a/b", "c/d"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1632:42)
|
testPathPatterns › <regexForTestFiles> › uses <regexForTestFiles> if set:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a/b"]
Received: {"patterns": ["a/b"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1617:42)
|
testPathPatterns › <regexForTestFiles> › ignores invalid regular expressions and logs a warning:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: []
Received: {"patterns": []}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1624:42)
|
testPathPatterns › <regexForTestFiles> › joins multiple <regexForTestFiles> if set:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a/b", "c/d"]
Received: {"patterns": ["a/b", "c/d"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1632:42)
|
testPathPatterns › coerces <regexForTestFiles> patterns to strings:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["1"]
Received: {"patterns": ["1"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1641:38)
|
testPathPatterns › joins multiple --testPathPatterns and <regexForTestFiles>:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a", "b", "c", "d"]
Received: {"patterns": ["a", "b", "c", "d"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1649:38)
|
snapshots needs update with npm test:
undefined#L1
TypeError: testPathPatterns.isSet is not a function
at SummaryReporter.isSet [as _getTestSummary] (packages/jest-reporters/src/SummaryReporter.ts:230:33)
|
SearchSource › getTestPaths › finds tests matching a pattern via testRegex:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a pattern via testMatch:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a JS regex pattern:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a JS glob pattern:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a JS with overriding glob patterns:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with default file extensions using testRegex:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with default file extensions using testMatch:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with parentheses in their rootDir when using testMatch:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with similar but custom file extensions:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with totally custom foobar file extensions:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
testPathPatterns › defaults to empty:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: []
Received: {"patterns": []}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1604:38)
|
testPathPatterns › --testPathPatterns › uses --testPathPatterns if set:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a/b"]
Received: {"patterns": ["a/b"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1617:42)
|
testPathPatterns › --testPathPatterns › ignores invalid regular expressions and logs a warning:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: []
Received: {"patterns": []}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1624:42)
|
testPathPatterns › --testPathPatterns › joins multiple --testPathPatterns if set:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a/b", "c/d"]
Received: {"patterns": ["a/b", "c/d"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1632:42)
|
testPathPatterns › <regexForTestFiles> › uses <regexForTestFiles> if set:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a/b"]
Received: {"patterns": ["a/b"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1617:42)
|
testPathPatterns › <regexForTestFiles> › ignores invalid regular expressions and logs a warning:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: []
Received: {"patterns": []}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1624:42)
|
testPathPatterns › <regexForTestFiles> › joins multiple <regexForTestFiles> if set:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a/b", "c/d"]
Received: {"patterns": ["a/b", "c/d"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1632:42)
|
testPathPatterns › coerces <regexForTestFiles> patterns to strings:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["1"]
Received: {"patterns": ["1"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1641:38)
|
testPathPatterns › joins multiple --testPathPatterns and <regexForTestFiles>:
undefined#L1
expect(received).toEqual(expected) // deep equality
Expected: ["a", "b", "c", "d"]
Received: {"patterns": ["a", "b", "c", "d"]}
at Object.toEqual (packages/jest-config/src/__tests__/normalize.test.ts:1649:38)
|
snapshots needs update with npm test:
undefined#L1
TypeError: testPathPatterns.isSet is not a function
at SummaryReporter.isSet [as _getTestSummary] (packages/jest-reporters/src/SummaryReporter.ts:230:33)
|
SearchSource › getTestPaths › finds tests matching a pattern via testRegex:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a pattern via testMatch:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a JS regex pattern:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a JS glob pattern:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a JS with overriding glob patterns:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with default file extensions using testRegex:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with default file extensions using testMatch:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with parentheses in their rootDir when using testMatch:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with similar but custom file extensions:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with totally custom foobar file extensions:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a pattern via testRegex:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a pattern via testMatch:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a JS regex pattern:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a JS glob pattern:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a JS with overriding glob patterns:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with default file extensions using testRegex:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with default file extensions using testMatch:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with parentheses in their rootDir when using testMatch:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with similar but custom file extensions:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with totally custom foobar file extensions:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a pattern via testRegex:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a pattern via testMatch:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a JS regex pattern:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a JS glob pattern:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests matching a JS with overriding glob patterns:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with default file extensions using testRegex:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with default file extensions using testMatch:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with parentheses in their rootDir when using testMatch:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with similar but custom file extensions:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
SearchSource › getTestPaths › finds tests with totally custom foobar file extensions:
undefined#L1
TypeError: Cannot read properties of null (reading 'rootDir')
at SearchSource.rootDir [as _getTestPaths] (packages/jest-core/src/SearchSource.ts:301:34)
|
globalSetup function gets global config object and project config as parameters:
e2e/__tests__/globalTeardown.test.ts#L76
expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
- [ 'pass' ]
+ TestPathPatterns { patterns: [ 'pass' ] }
true
at Object.toBe (e2e/__tests__/globalTeardown.test.ts:76:25)
|
should not call a globalTeardown of a project if there are no tests to run from this project:
e2e/runJest.ts#L155
Can't parse JSON.
ERROR: SyntaxError Unexpected end of JSON input
STDOUT:
STDERR: No tests found, exiting with code 1
Run with `--passWithNoTests` to exit with code 0
In /Users/runner/work/jest/jest/e2e/global-teardown
4 files checked across 2 projects. Run with `--verbose` for more details.
Pattern: project-1 - 0 matches
at json (e2e/runJest.ts:155:11)
at Object.<anonymous> (e2e/__tests__/globalTeardown.test.ts:94:29)
|
globalTeardown works with default export:
e2e/__tests__/globalTeardown.test.ts#L115
expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
- [ 'pass' ]
+ TestPathPatterns { patterns: [ 'pass' ] }
true
at Object.toBe (e2e/__tests__/globalTeardown.test.ts:115:25)
|
FailedTestsInteractive › returns usage info when failing tests are present:
undefined#L1
expect(jest.fn()).toHaveBeenCalledWith(...expected)
- Expected
+ Received
Object {
"mode": "watch",
"testNamePattern": "^test-name$",
- "testPathPatterns": Array [
+ "testPathPatterns": TestPathPatterns {
+ "patterns": Array [
"/tmp/mock-path",
],
+ },
},
Number of calls: 1
at Object.toHaveBeenCalledWith (packages/jest-core/src/plugins/__tests__/FailedTestsInteractive.test.js:40:24)
|
FailedTestsInteractive › returns usage info when failing tests are present:
undefined#L1
expect(jest.fn()).toHaveBeenCalledWith(...expected)
- Expected
+ Received
Object {
"mode": "watch",
"testNamePattern": "^test-name$",
- "testPathPatterns": Array [
+ "testPathPatterns": TestPathPatterns {
+ "patterns": Array [
"/tmp/mock-path",
],
+ },
},
Number of calls: 1
at Object.toHaveBeenCalledWith (packages/jest-core/src/plugins/__tests__/FailedTestsInteractive.test.js:40:24)
|
globalSetup function gets global config object and project config as parameters:
e2e/__tests__/globalTeardown.test.ts#L76
expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
- [ 'pass' ]
+ TestPathPatterns { patterns: [ 'pass' ] }
true
at Object.toBe (e2e/__tests__/globalTeardown.test.ts:76:25)
|
should not call a globalTeardown of a project if there are no tests to run from this project:
e2e/runJest.ts#L155
Can't parse JSON.
ERROR: SyntaxError Unexpected end of JSON input
STDOUT:
STDERR: No tests found, exiting with code 1
Run with `--passWithNoTests` to exit with code 0
In /Users/runner/work/jest/jest/e2e/global-teardown
4 files checked across 2 projects. Run with `--verbose` for more details.
Pattern: project-1 - 0 matches
at json (e2e/runJest.ts:155:11)
at Object.<anonymous> (e2e/__tests__/globalTeardown.test.ts:94:29)
|
globalTeardown works with default export:
e2e/__tests__/globalTeardown.test.ts#L115
expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
- [ 'pass' ]
+ TestPathPatterns { patterns: [ 'pass' ] }
true
at Object.toBe (e2e/__tests__/globalTeardown.test.ts:115:25)
|
FailedTestsInteractive › returns usage info when failing tests are present:
undefined#L1
expect(jest.fn()).toHaveBeenCalledWith(...expected)
- Expected
+ Received
Object {
"mode": "watch",
"testNamePattern": "^test-name$",
- "testPathPatterns": Array [
+ "testPathPatterns": TestPathPatterns {
+ "patterns": Array [
"/tmp/mock-path",
],
+ },
},
Number of calls: 1
at Object.toHaveBeenCalledWith (packages/jest-core/src/plugins/__tests__/FailedTestsInteractive.test.js:40:24)
|
globalSetup function gets global config object and project config as parameters:
e2e/__tests__/globalTeardown.test.ts#L76
expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
- [ 'pass' ]
+ TestPathPatterns { patterns: [ 'pass' ] }
true
at Object.toBe (e2e/__tests__/globalTeardown.test.ts:76:25)
|
Ubuntu with shard 1/4 / Node v21.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 1/4 / Node v21.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 1/4 / Node v20.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 1/4 / Node v20.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 1/4 / Node v16.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 1/4 / Node v16.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Node LTS on Ubuntu with coverage (4/4)
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Node LTS on Ubuntu with coverage (4/4)
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 1/4 / Node v18.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 1/4 / Node v18.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 1/4 / Node LTS using jest-jasmine2
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 1/4 / Node LTS using jest-jasmine2
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 2/4 / Node v20.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 2/4 / Node v20.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Node LTS on Ubuntu with coverage (1/4)
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Node LTS on Ubuntu with coverage (1/4)
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 2/4 / Node v21.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 2/4 / Node v21.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 2/4 / Node LTS using jest-jasmine2
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 2/4 / Node LTS using jest-jasmine2
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Node LTS on Ubuntu with coverage (2/4)
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Node LTS on Ubuntu with coverage (2/4)
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Node LTS on Ubuntu with coverage (3/4)
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Node LTS on Ubuntu with coverage (3/4)
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 2/4 / Node v16.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 2/4 / Node v16.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 2/4 / Node v18.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 2/4 / Node v18.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 3/4 / Node v18.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 3/4 / Node v18.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 3/4 / Node v16.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 3/4 / Node v16.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 3/4 / Node v20.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 3/4 / Node v20.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 3/4 / Node v21.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 3/4 / Node v21.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 3/4 / Node LTS using jest-jasmine2
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 3/4 / Node LTS using jest-jasmine2
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 4/4 / Node LTS using jest-jasmine2
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 4/4 / Node LTS using jest-jasmine2
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 4/4 / Node v21.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 4/4 / Node v21.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 4/4 / Node v20.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 4/4 / Node v20.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 4/4 / Node v16.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 4/4 / Node v16.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 4/4 / Node v18.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 4/4 / Node v18.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
macOS with shard 3/3 / Node LTS using jest-jasmine2
Attempt 1 failed. Reason: Child_process exited with error code 1
|
macOS with shard 3/3 / Node LTS using jest-jasmine2
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Windows with shard 1/4 / Node LTS using jest-jasmine2
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 1/4 / Node LTS using jest-jasmine2
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Windows with shard 1/4 / Node v16.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 1/4 / Node v16.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Windows with shard 1/4 / Node v20.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 1/4 / Node v20.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Windows with shard 1/4 / Node v18.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 1/4 / Node v18.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Windows with shard 1/4 / Node v21.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 1/4 / Node v21.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Windows with shard 2/4 / Node LTS using jest-jasmine2
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 2/4 / Node LTS using jest-jasmine2
Attempt 2 failed. Reason: Child_process exited with error code 1
|
macOS with shard 2/3 / Node v18.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
macOS with shard 2/3 / Node v18.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
macOS with shard 1/3 / Node LTS using jest-jasmine2
Attempt 1 failed. Reason: Child_process exited with error code 1
|
macOS with shard 1/3 / Node LTS using jest-jasmine2
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Windows with shard 2/4 / Node v18.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 2/4 / Node v18.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Windows with shard 2/4 / Node v20.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 2/4 / Node v20.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Windows with shard 2/4 / Node v16.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 2/4 / Node v16.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Windows with shard 2/4 / Node v21.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 2/4 / Node v21.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Windows with shard 3/4 / Node LTS using jest-jasmine2
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 3/4 / Node LTS using jest-jasmine2
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Windows with shard 3/4 / Node v16.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 3/4 / Node v16.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Windows with shard 3/4 / Node v20.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 3/4 / Node v20.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
macOS with shard 2/3 / Node v21.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
macOS with shard 2/3 / Node v21.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Windows with shard 3/4 / Node v18.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 3/4 / Node v18.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Windows with shard 3/4 / Node v21.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 3/4 / Node v21.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
macOS with shard 2/3 / Node v20.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
macOS with shard 2/3 / Node v20.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Windows with shard 4/4 / Node v16.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 4/4 / Node v16.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Windows with shard 4/4 / Node LTS using jest-jasmine2
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 4/4 / Node LTS using jest-jasmine2
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Windows with shard 4/4 / Node v18.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 4/4 / Node v18.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Windows with shard 4/4 / Node v20.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 4/4 / Node v20.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Windows with shard 4/4 / Node v21.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 4/4 / Node v21.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
macOS with shard 3/3 / Node v18.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
macOS with shard 3/3 / Node v18.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
macOS with shard 3/3 / Node v16.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
macOS with shard 3/3 / Node v16.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
macOS with shard 2/3 / Node v16.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
macOS with shard 2/3 / Node v16.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
macOS with shard 3/3 / Node v20.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
macOS with shard 3/3 / Node v20.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
macOS with shard 1/3 / Node v20.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
macOS with shard 1/3 / Node v20.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
macOS with shard 3/3 / Node v21.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
macOS with shard 3/3 / Node v21.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
macOS with shard 1/3 / Node v16.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
macOS with shard 1/3 / Node v16.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
macOS with shard 1/3 / Node v21.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
macOS with shard 1/3 / Node v21.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
macOS with shard 1/3 / Node v18.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
macOS with shard 1/3 / Node v18.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
macOS with shard 2/3 / Node LTS using jest-jasmine2
Attempt 1 failed. Reason: Child_process exited with error code 1
|
macOS with shard 2/3 / Node LTS using jest-jasmine2
Attempt 2 failed. Reason: Child_process exited with error code 1
|