chore: replace chalk
with picocolors
#14418
nodejs.yml
on: pull_request
prepare-yarn-cache-ubuntu
/
Prepare yarn cache for ubuntu-latest
49s
prepare-yarn-cache-macos
/
Prepare yarn cache for macos-latest
53s
prepare-yarn-cache-windows
/
Prepare yarn cache for windows-latest
1m 37s
TypeScript Compatibility
5m 46s
Typecheck Examples and Tests
4m 9s
Lint
1m 54s
Validate Yarn dependencies and constraints
13s
Node LTS on Ubuntu with leak detection
47s
Matrix: test-coverage
Matrix: test-ubuntu
Matrix: test-macos
Matrix: test-windows
Annotations
701 errors and 140 warnings
Node LTS on Ubuntu with leak detection
Process completed with exit code 1.
|
falls back to not call toJSON › if serialization has no differences › but then objects have differences:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `falls back to not call toJSON if serialization has no differences but then objects have differences 1`
- Snapshot - 2
+ Received + 2
@@ -1,7 +1,7 @@
- <d>Compared values serialize to the same structure.</>
- <d>Printing internal object structure without calling `toJSON` instead.</>
+ <d>Compared values serialize to the same structure.
+ Printing internal object structure without calling `toJSON` instead.</>
<g>- Expected - 1</>
<r>+ Received + 1</>
<d> Object {</>
at Object.toMatchSnapshot (packages/jest-diff/src/__tests__/diff.test.ts:136:41)
|
jest-each › .test › throws error when there are additional words in first column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are additional words in first column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a is the left | b | expected</color>
- <red> "</color>"
+ <red>"
+ a is the left | b | expected
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:74:11)
|
jest-each › .test › throws error when there are additional words in second column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are additional words in second column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a | b is the right | expected</color>
- <red> "</color>"
+ <red>"
+ a | b is the right | expected
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:112:11)
|
jest-each › .test › throws error when there are additional words in last column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are additional words in last column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a | b | expected value</color>
- <red> "</color>"
+ <red>"
+ a | b | expected value
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:150:11)
|
jest-each › .test › throws error when there are fewer arguments than headings when given one row:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are fewer arguments than headings when given one row 1`
- Snapshot - 4
+ Received + 4
"Not enough arguments supplied for given headings:
<green>a | b | expected</color>
Received:
- <red>Array [</color>
- <red> 0,</color>
- <red> 1,</color>
- <red>]</color>
+ <red>Array [
+ 0,
+ 1,
+ ]</color>
Missing <red>1</color> argument"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:268:11)
|
jest-each › .test › throws error when there are fewer arguments than headings over multiple rows:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are fewer arguments than headings over multiple rows 1`
- Snapshot - 7
+ Received + 7
"Not enough arguments supplied for given headings:
<green>a | b | expected</color>
Received:
- <red>Array [</color>
- <red> 0,</color>
- <red> 1,</color>
- <red> 1,</color>
- <red> 1,</color>
- <red> 1,</color>
- <red>]</color>
+ <red>Array [
+ 0,
+ 1,
+ 1,
+ 1,
+ 1,
+ ]</color>
Missing <red>1</color> argument"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:287:11)
|
jest-each › .test.concurrent › throws error when there are additional words in first column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test.concurrent throws error when there are additional words in first column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a is the left | b | expected</color>
- <red> "</color>"
+ <red>"
+ a is the left | b | expected
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:74:11)
|
jest-each › .test.concurrent › throws error when there are additional words in second column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test.concurrent throws error when there are additional words in second column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a | b is the right | expected</color>
- <red> "</color>"
+ <red>"
+ a | b is the right | expected
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:112:11)
|
jest-each › .test.concurrent › throws error when there are additional words in last column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test.concurrent throws error when there are additional words in last column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a | b | expected value</color>
- <red> "</color>"
+ <red>"
+ a | b | expected value
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:150:11)
|
jest-each › .test.concurrent › throws error when there are fewer arguments than headings when given one row:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test.concurrent throws error when there are fewer arguments than headings when given one row 1`
- Snapshot - 4
+ Received + 4
"Not enough arguments supplied for given headings:
<green>a | b | expected</color>
Received:
- <red>Array [</color>
- <red> 0,</color>
- <red> 1,</color>
- <red>]</color>
+ <red>Array [
+ 0,
+ 1,
+ ]</color>
Missing <red>1</color> argument"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:268:11)
|
falls back to not call toJSON › if serialization has no differences › but then objects have differences:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `falls back to not call toJSON if serialization has no differences but then objects have differences 1`
- Snapshot - 2
+ Received + 2
@@ -1,7 +1,7 @@
- <d>Compared values serialize to the same structure.</>
- <d>Printing internal object structure without calling `toJSON` instead.</>
+ <d>Compared values serialize to the same structure.
+ Printing internal object structure without calling `toJSON` instead.</>
<g>- Expected - 1</>
<r>+ Received + 1</>
<d> Object {</>
at Object.toMatchSnapshot (packages/jest-diff/src/__tests__/diff.test.ts:136:41)
|
jest-each › .test › throws error when there are additional words in first column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are additional words in first column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a is the left | b | expected</color>
- <red> "</color>"
+ <red>"
+ a is the left | b | expected
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:74:11)
|
jest-each › .test › throws error when there are additional words in second column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are additional words in second column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a | b is the right | expected</color>
- <red> "</color>"
+ <red>"
+ a | b is the right | expected
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:112:11)
|
jest-each › .test › throws error when there are additional words in last column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are additional words in last column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a | b | expected value</color>
- <red> "</color>"
+ <red>"
+ a | b | expected value
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:150:11)
|
jest-each › .test › throws error when there are fewer arguments than headings when given one row:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are fewer arguments than headings when given one row 1`
- Snapshot - 4
+ Received + 4
"Not enough arguments supplied for given headings:
<green>a | b | expected</color>
Received:
- <red>Array [</color>
- <red> 0,</color>
- <red> 1,</color>
- <red>]</color>
+ <red>Array [
+ 0,
+ 1,
+ ]</color>
Missing <red>1</color> argument"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:268:11)
|
jest-each › .test › throws error when there are fewer arguments than headings over multiple rows:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are fewer arguments than headings over multiple rows 1`
- Snapshot - 7
+ Received + 7
"Not enough arguments supplied for given headings:
<green>a | b | expected</color>
Received:
- <red>Array [</color>
- <red> 0,</color>
- <red> 1,</color>
- <red> 1,</color>
- <red> 1,</color>
- <red> 1,</color>
- <red>]</color>
+ <red>Array [
+ 0,
+ 1,
+ 1,
+ 1,
+ 1,
+ ]</color>
Missing <red>1</color> argument"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:287:11)
|
jest-each › .test.concurrent › throws error when there are additional words in first column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test.concurrent throws error when there are additional words in first column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a is the left | b | expected</color>
- <red> "</color>"
+ <red>"
+ a is the left | b | expected
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:74:11)
|
jest-each › .test.concurrent › throws error when there are additional words in second column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test.concurrent throws error when there are additional words in second column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a | b is the right | expected</color>
- <red> "</color>"
+ <red>"
+ a | b is the right | expected
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:112:11)
|
jest-each › .test.concurrent › throws error when there are additional words in last column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test.concurrent throws error when there are additional words in last column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a | b | expected value</color>
- <red> "</color>"
+ <red>"
+ a | b | expected value
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:150:11)
|
jest-each › .test.concurrent › throws error when there are fewer arguments than headings when given one row:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test.concurrent throws error when there are fewer arguments than headings when given one row 1`
- Snapshot - 4
+ Received + 4
"Not enough arguments supplied for given headings:
<green>a | b | expected</color>
Received:
- <red>Array [</color>
- <red> 0,</color>
- <red> 1,</color>
- <red>]</color>
+ <red>Array [
+ 0,
+ 1,
+ ]</color>
Missing <red>1</color> argument"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:268:11)
|
falls back to not call toJSON › if serialization has no differences › but then objects have differences:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `falls back to not call toJSON if serialization has no differences but then objects have differences 1`
- Snapshot - 2
+ Received + 2
@@ -1,7 +1,7 @@
- <d>Compared values serialize to the same structure.</>
- <d>Printing internal object structure without calling `toJSON` instead.</>
+ <d>Compared values serialize to the same structure.
+ Printing internal object structure without calling `toJSON` instead.</>
<g>- Expected - 1</>
<r>+ Received + 1</>
<d> Object {</>
at Object.toMatchSnapshot (packages/jest-diff/src/__tests__/diff.test.ts:136:41)
|
jest-each › .test › throws error when there are additional words in first column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are additional words in first column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a is the left | b | expected</color>
- <red> "</color>"
+ <red>"
+ a is the left | b | expected
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:74:11)
|
jest-each › .test › throws error when there are additional words in second column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are additional words in second column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a | b is the right | expected</color>
- <red> "</color>"
+ <red>"
+ a | b is the right | expected
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:112:11)
|
jest-each › .test › throws error when there are additional words in last column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are additional words in last column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a | b | expected value</color>
- <red> "</color>"
+ <red>"
+ a | b | expected value
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:150:11)
|
jest-each › .test › throws error when there are fewer arguments than headings when given one row:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are fewer arguments than headings when given one row 1`
- Snapshot - 4
+ Received + 4
"Not enough arguments supplied for given headings:
<green>a | b | expected</color>
Received:
- <red>Array [</color>
- <red> 0,</color>
- <red> 1,</color>
- <red>]</color>
+ <red>Array [
+ 0,
+ 1,
+ ]</color>
Missing <red>1</color> argument"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:268:11)
|
jest-each › .test › throws error when there are fewer arguments than headings over multiple rows:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are fewer arguments than headings over multiple rows 1`
- Snapshot - 7
+ Received + 7
"Not enough arguments supplied for given headings:
<green>a | b | expected</color>
Received:
- <red>Array [</color>
- <red> 0,</color>
- <red> 1,</color>
- <red> 1,</color>
- <red> 1,</color>
- <red> 1,</color>
- <red>]</color>
+ <red>Array [
+ 0,
+ 1,
+ 1,
+ 1,
+ 1,
+ ]</color>
Missing <red>1</color> argument"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:287:11)
|
jest-each › .test.concurrent › throws error when there are additional words in first column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test.concurrent throws error when there are additional words in first column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a is the left | b | expected</color>
- <red> "</color>"
+ <red>"
+ a is the left | b | expected
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:74:11)
|
jest-each › .test.concurrent › throws error when there are additional words in second column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test.concurrent throws error when there are additional words in second column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a | b is the right | expected</color>
- <red> "</color>"
+ <red>"
+ a | b is the right | expected
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:112:11)
|
jest-each › .test.concurrent › throws error when there are additional words in last column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test.concurrent throws error when there are additional words in last column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a | b | expected value</color>
- <red> "</color>"
+ <red>"
+ a | b | expected value
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:150:11)
|
jest-each › .test.concurrent › throws error when there are fewer arguments than headings when given one row:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test.concurrent throws error when there are fewer arguments than headings when given one row 1`
- Snapshot - 4
+ Received + 4
"Not enough arguments supplied for given headings:
<green>a | b | expected</color>
Received:
- <red>Array [</color>
- <red> 0,</color>
- <red> 1,</color>
- <red>]</color>
+ <red>Array [
+ 0,
+ 1,
+ ]</color>
Missing <red>1</color> argument"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:268:11)
|
jest-each › .test › throws error when there are additional words in first column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are additional words in first column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a is the left | b | expected</color>
- <red> "</color>"
+ <red>"
+ a is the left | b | expected
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:74:11)
|
jest-each › .test › throws error when there are additional words in second column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are additional words in second column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a | b is the right | expected</color>
- <red> "</color>"
+ <red>"
+ a | b is the right | expected
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:112:11)
|
jest-each › .test › throws error when there are additional words in last column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are additional words in last column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a | b | expected value</color>
- <red> "</color>"
+ <red>"
+ a | b | expected value
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:150:11)
|
jest-each › .test › throws error when there are fewer arguments than headings when given one row:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are fewer arguments than headings when given one row 1`
- Snapshot - 4
+ Received + 4
"Not enough arguments supplied for given headings:
<green>a | b | expected</color>
Received:
- <red>Array [</color>
- <red> 0,</color>
- <red> 1,</color>
- <red>]</color>
+ <red>Array [
+ 0,
+ 1,
+ ]</color>
Missing <red>1</color> argument"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:268:11)
|
jest-each › .test › throws error when there are fewer arguments than headings over multiple rows:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are fewer arguments than headings over multiple rows 1`
- Snapshot - 7
+ Received + 7
"Not enough arguments supplied for given headings:
<green>a | b | expected</color>
Received:
- <red>Array [</color>
- <red> 0,</color>
- <red> 1,</color>
- <red> 1,</color>
- <red> 1,</color>
- <red> 1,</color>
- <red>]</color>
+ <red>Array [
+ 0,
+ 1,
+ 1,
+ 1,
+ 1,
+ ]</color>
Missing <red>1</color> argument"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:287:11)
|
jest-each › .test.concurrent › throws error when there are additional words in first column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test.concurrent throws error when there are additional words in first column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a is the left | b | expected</color>
- <red> "</color>"
+ <red>"
+ a is the left | b | expected
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:74:11)
|
jest-each › .test.concurrent › throws error when there are additional words in second column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test.concurrent throws error when there are additional words in second column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a | b is the right | expected</color>
- <red> "</color>"
+ <red>"
+ a | b is the right | expected
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:112:11)
|
jest-each › .test.concurrent › throws error when there are additional words in last column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test.concurrent throws error when there are additional words in last column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a | b | expected value</color>
- <red> "</color>"
+ <red>"
+ a | b | expected value
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:150:11)
|
jest-each › .test.concurrent › throws error when there are fewer arguments than headings when given one row:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test.concurrent throws error when there are fewer arguments than headings when given one row 1`
- Snapshot - 4
+ Received + 4
"Not enough arguments supplied for given headings:
<green>a | b | expected</color>
Received:
- <red>Array [</color>
- <red> 0,</color>
- <red> 1,</color>
- <red>]</color>
+ <red>Array [
+ 0,
+ 1,
+ ]</color>
Missing <red>1</color> argument"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:268:11)
|
jest-each › .test.concurrent › throws error when there are fewer arguments than headings over multiple rows:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test.concurrent throws error when there are fewer arguments than headings over multiple rows 1`
- Snapshot - 7
+ Received + 7
"Not enough arguments supplied for given headings:
<green>a | b | expected</color>
Received:
- <red>Array [</color>
- <red> 0,</color>
- <red> 1,</color>
- <red> 1,</color>
- <red> 1,</color>
- <red> 1,</color>
- <red>]</color>
+ <red>Array [
+ 0,
+ 1,
+ 1,
+ 1,
+ 1,
+ ]</color>
Missing <red>1</color> argument"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:287:11)
|
falls back to not call toJSON › if serialization has no differences › but then objects have differences:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `falls back to not call toJSON if serialization has no differences but then objects have differences 1`
- Snapshot - 2
+ Received + 2
@@ -1,7 +1,7 @@
- <d>Compared values serialize to the same structure.</>
- <d>Printing internal object structure without calling `toJSON` instead.</>
+ <d>Compared values serialize to the same structure.
+ Printing internal object structure without calling `toJSON` instead.</>
<g>- Expected - 1</>
<r>+ Received + 1</>
<d> Object {</>
at Object.toMatchSnapshot (packages/jest-diff/src/__tests__/diff.test.ts:136:41)
|
jest-each › .test › throws error when there are additional words in first column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are additional words in first column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a is the left | b | expected</color>
- <red> "</color>"
+ <red>"
+ a is the left | b | expected
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:74:11)
|
jest-each › .test › throws error when there are additional words in second column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are additional words in second column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a | b is the right | expected</color>
- <red> "</color>"
+ <red>"
+ a | b is the right | expected
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:112:11)
|
jest-each › .test › throws error when there are additional words in last column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are additional words in last column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a | b | expected value</color>
- <red> "</color>"
+ <red>"
+ a | b | expected value
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:150:11)
|
jest-each › .test › throws error when there are fewer arguments than headings when given one row:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are fewer arguments than headings when given one row 1`
- Snapshot - 4
+ Received + 4
"Not enough arguments supplied for given headings:
<green>a | b | expected</color>
Received:
- <red>Array [</color>
- <red> 0,</color>
- <red> 1,</color>
- <red>]</color>
+ <red>Array [
+ 0,
+ 1,
+ ]</color>
Missing <red>1</color> argument"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:268:11)
|
jest-each › .test › throws error when there are fewer arguments than headings over multiple rows:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are fewer arguments than headings over multiple rows 1`
- Snapshot - 7
+ Received + 7
"Not enough arguments supplied for given headings:
<green>a | b | expected</color>
Received:
- <red>Array [</color>
- <red> 0,</color>
- <red> 1,</color>
- <red> 1,</color>
- <red> 1,</color>
- <red> 1,</color>
- <red>]</color>
+ <red>Array [
+ 0,
+ 1,
+ 1,
+ 1,
+ 1,
+ ]</color>
Missing <red>1</color> argument"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:287:11)
|
jest-each › .test.concurrent › throws error when there are additional words in first column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test.concurrent throws error when there are additional words in first column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a is the left | b | expected</color>
- <red> "</color>"
+ <red>"
+ a is the left | b | expected
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:74:11)
|
jest-each › .test.concurrent › throws error when there are additional words in second column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test.concurrent throws error when there are additional words in second column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a | b is the right | expected</color>
- <red> "</color>"
+ <red>"
+ a | b is the right | expected
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:112:11)
|
jest-each › .test.concurrent › throws error when there are additional words in last column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test.concurrent throws error when there are additional words in last column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a | b | expected value</color>
- <red> "</color>"
+ <red>"
+ a | b | expected value
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:150:11)
|
jest-each › .test.concurrent › throws error when there are fewer arguments than headings when given one row:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test.concurrent throws error when there are fewer arguments than headings when given one row 1`
- Snapshot - 4
+ Received + 4
"Not enough arguments supplied for given headings:
<green>a | b | expected</color>
Received:
- <red>Array [</color>
- <red> 0,</color>
- <red> 1,</color>
- <red>]</color>
+ <red>Array [
+ 0,
+ 1,
+ ]</color>
Missing <red>1</color> argument"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:268:11)
|
rootDir › throws if the options is missing a rootDir property:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `rootDir throws if the options is missing a rootDir property 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Configuration option <bold>rootDir</intensity> must be specified.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Configuration option <bold>rootDir</intensity> must be specified.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
reporters › throws an error if value is neither string nor array:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if value is neither string nor array 1`
- Snapshot - 10
+ Received + 10
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Reporter at index 0 must be of type:</color>
- <red> <bold><green>array or string</color><red></intensity></color>
- <red> but instead received:</color>
- <red> <bold><red>number</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Reporter at index 0 must be of type:
+ <bold><green>array or string<red></intensity>
+ but instead received:
+ <bold><red>number<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
reporters › throws an error if first value in the tuple is not a string:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if first value in the tuple is not a string 1`
- Snapshot - 15
+ Received + 15
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Unexpected value for Path at index 0 of reporter at index 0</color>
- <red> Expected:</color>
- <red> <bold><red>string</color><red></intensity></color>
- <red> Got:</color>
- <red> <bold><green>number</color><red></intensity></color>
- <red> Reporter configuration:</color>
- <red> <bold><green>[</color><red></intensity></color>
- <red><bold><green> 123</color><red></intensity></color>
- <red><bold><green> ]</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Unexpected value for Path at index 0 of reporter at index 0
+ Expected:
+ <bold><red>string<red></intensity>
+ Got:
+ <bold><green>number<red></intensity>
+ Reporter configuration:
+ <bold><green>[
+ 123
+ ]<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
reporters › throws an error if second value is missing in the tuple:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if second value is missing in the tuple 1`
- Snapshot - 15
+ Received + 15
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Unexpected value for Reporter Configuration at index 1 of reporter at index 0</color>
- <red> Expected:</color>
- <red> <bold><red>object</color><red></intensity></color>
- <red> Got:</color>
- <red> <bold><green>undefined</color><red></intensity></color>
- <red> Reporter configuration:</color>
- <red> <bold><green>[</color><red></intensity></color>
- <red><bold><green> "some-reporter"</color><red></intensity></color>
- <red><bold><green> ]</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Unexpected value for Reporter Configuration at index 1 of reporter at index 0
+ Expected:
+ <bold><red>object<red></intensity>
+ Got:
+ <bold><green>undefined<red></intensity>
+ Reporter configuration:
+ <bold><green>[
+ "some-reporter"
+ ]<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
reporters › throws an error if second value in the tuple is not an object:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if second value in the tuple is not an object 1`
- Snapshot - 16
+ Received + 16
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Unexpected value for Reporter Configuration at index 1 of reporter at index 0</color>
- <red> Expected:</color>
- <red> <bold><red>object</color><red></intensity></color>
- <red> Got:</color>
- <red> <bold><green>boolean</color><red></intensity></color>
- <red> Reporter configuration:</color>
- <red> <bold><green>[</color><red></intensity></color>
- <red><bold><green> "some-reporter",</color><red></intensity></color>
- <red><bold><green> true</color><red></intensity></color>
- <red><bold><green> ]</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Unexpected value for Reporter Configuration at index 1 of reporter at index 0
+ Expected:
+ <bold><red>object<red></intensity>
+ Got:
+ <bold><green>boolean<red></intensity>
+ Reporter configuration:
+ <bold><green>[
+ "some-reporter",
+ true
+ ]<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
testEnvironment › throws on invalid environment names:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `testEnvironment throws on invalid environment names 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Test environment <bold>phantom</intensity> cannot be found. Make sure the <bold>testEnvironment</intensity> configuration option points to an existing node module.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Test environment <bold>phantom</intensity> cannot be found. Make sure the <bold>testEnvironment</intensity> configuration option points to an existing node module.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
testMatch › throws if testRegex and testMatch are both specified:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `testMatch throws if testRegex and testMatch are both specified 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Configuration options <bold>testMatch</intensity> and <bold>testRegex</intensity> cannot be used together.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Configuration options <bold>testMatch</intensity> and <bold>testRegex</intensity> cannot be used together.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
preset › throws when preset not found:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `preset throws when preset not found 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Preset <bold>doesnt-exist</intensity> not found relative to rootDir <bold>/root/path/foo</intensity>.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Preset <bold>doesnt-exist</intensity> not found relative to rootDir <bold>/root/path/foo</intensity>.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
preset › throws when module was found but no "jest-preset.js" or "jest-preset.json" files:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `preset throws when module was found but no "jest-preset.js" or "jest-preset.json" files 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Module <bold>exist-but-no-jest-preset</intensity> should have "jest-preset.js" or "jest-preset.json" file at the root.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Module <bold>exist-but-no-jest-preset</intensity> should have "jest-preset.js" or "jest-preset.json" file at the root.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
runner › throw error when a runner is not found:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `runner throw error when a runner is not found 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Jest Runner <bold>missing-runner</intensity> cannot be found. Make sure the <bold>runner</intensity> configuration option points to an existing node module.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Jest Runner <bold>missing-runner</intensity> cannot be found. Make sure the <bold>runner</intensity> configuration option points to an existing node module.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
falls back to not call toJSON › if serialization has no differences › but then objects have differences:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `falls back to not call toJSON if serialization has no differences but then objects have differences 1`
- Snapshot - 2
+ Received + 2
@@ -1,7 +1,7 @@
- <d>Compared values serialize to the same structure.</>
- <d>Printing internal object structure without calling `toJSON` instead.</>
+ <d>Compared values serialize to the same structure.
+ Printing internal object structure without calling `toJSON` instead.</>
<g>- Expected - 1</>
<r>+ Received + 1</>
<d> Object {</>
at Object.toMatchSnapshot (packages/jest-diff/src/__tests__/diff.test.ts:136:41)
|
jest-each › .test › throws error when there are additional words in first column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are additional words in first column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a is the left | b | expected</color>
- <red> "</color>"
+ <red>"
+ a is the left | b | expected
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:74:11)
|
jest-each › .test › throws error when there are additional words in second column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are additional words in second column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a | b is the right | expected</color>
- <red> "</color>"
+ <red>"
+ a | b is the right | expected
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:112:11)
|
jest-each › .test › throws error when there are additional words in last column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are additional words in last column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a | b | expected value</color>
- <red> "</color>"
+ <red>"
+ a | b | expected value
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:150:11)
|
jest-each › .test › throws error when there are fewer arguments than headings when given one row:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are fewer arguments than headings when given one row 1`
- Snapshot - 4
+ Received + 4
"Not enough arguments supplied for given headings:
<green>a | b | expected</color>
Received:
- <red>Array [</color>
- <red> 0,</color>
- <red> 1,</color>
- <red>]</color>
+ <red>Array [
+ 0,
+ 1,
+ ]</color>
Missing <red>1</color> argument"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:268:11)
|
jest-each › .test › throws error when there are fewer arguments than headings over multiple rows:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are fewer arguments than headings over multiple rows 1`
- Snapshot - 7
+ Received + 7
"Not enough arguments supplied for given headings:
<green>a | b | expected</color>
Received:
- <red>Array [</color>
- <red> 0,</color>
- <red> 1,</color>
- <red> 1,</color>
- <red> 1,</color>
- <red> 1,</color>
- <red>]</color>
+ <red>Array [
+ 0,
+ 1,
+ 1,
+ 1,
+ 1,
+ ]</color>
Missing <red>1</color> argument"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:287:11)
|
jest-each › .test.concurrent › throws error when there are additional words in first column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test.concurrent throws error when there are additional words in first column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a is the left | b | expected</color>
- <red> "</color>"
+ <red>"
+ a is the left | b | expected
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:74:11)
|
jest-each › .test.concurrent › throws error when there are additional words in second column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test.concurrent throws error when there are additional words in second column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a | b is the right | expected</color>
- <red> "</color>"
+ <red>"
+ a | b is the right | expected
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:112:11)
|
jest-each › .test.concurrent › throws error when there are additional words in last column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test.concurrent throws error when there are additional words in last column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a | b | expected value</color>
- <red> "</color>"
+ <red>"
+ a | b | expected value
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:150:11)
|
jest-each › .test.concurrent › throws error when there are fewer arguments than headings when given one row:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test.concurrent throws error when there are fewer arguments than headings when given one row 1`
- Snapshot - 4
+ Received + 4
"Not enough arguments supplied for given headings:
<green>a | b | expected</color>
Received:
- <red>Array [</color>
- <red> 0,</color>
- <red> 1,</color>
- <red>]</color>
+ <red>Array [
+ 0,
+ 1,
+ ]</color>
Missing <red>1</color> argument"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:268:11)
|
falls back to not call toJSON › if serialization has no differences › but then objects have differences:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `falls back to not call toJSON if serialization has no differences but then objects have differences 1`
- Snapshot - 2
+ Received + 2
@@ -1,7 +1,7 @@
- <d>Compared values serialize to the same structure.</>
- <d>Printing internal object structure without calling `toJSON` instead.</>
+ <d>Compared values serialize to the same structure.
+ Printing internal object structure without calling `toJSON` instead.</>
<g>- Expected - 1</>
<r>+ Received + 1</>
<d> Object {</>
at Object.toMatchSnapshot (packages/jest-diff/src/__tests__/diff.test.ts:136:41)
|
jest-each › .test › throws error when there are additional words in first column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are additional words in first column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a is the left | b | expected</color>
- <red> "</color>"
+ <red>"
+ a is the left | b | expected
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:74:11)
|
jest-each › .test › throws error when there are additional words in second column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are additional words in second column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a | b is the right | expected</color>
- <red> "</color>"
+ <red>"
+ a | b is the right | expected
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:112:11)
|
jest-each › .test › throws error when there are additional words in last column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are additional words in last column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a | b | expected value</color>
- <red> "</color>"
+ <red>"
+ a | b | expected value
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:150:11)
|
jest-each › .test › throws error when there are fewer arguments than headings when given one row:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are fewer arguments than headings when given one row 1`
- Snapshot - 4
+ Received + 4
"Not enough arguments supplied for given headings:
<green>a | b | expected</color>
Received:
- <red>Array [</color>
- <red> 0,</color>
- <red> 1,</color>
- <red>]</color>
+ <red>Array [
+ 0,
+ 1,
+ ]</color>
Missing <red>1</color> argument"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:268:11)
|
jest-each › .test › throws error when there are fewer arguments than headings over multiple rows:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are fewer arguments than headings over multiple rows 1`
- Snapshot - 7
+ Received + 7
"Not enough arguments supplied for given headings:
<green>a | b | expected</color>
Received:
- <red>Array [</color>
- <red> 0,</color>
- <red> 1,</color>
- <red> 1,</color>
- <red> 1,</color>
- <red> 1,</color>
- <red>]</color>
+ <red>Array [
+ 0,
+ 1,
+ 1,
+ 1,
+ 1,
+ ]</color>
Missing <red>1</color> argument"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:287:11)
|
jest-each › .test.concurrent › throws error when there are additional words in first column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test.concurrent throws error when there are additional words in first column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a is the left | b | expected</color>
- <red> "</color>"
+ <red>"
+ a is the left | b | expected
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:74:11)
|
jest-each › .test.concurrent › throws error when there are additional words in second column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test.concurrent throws error when there are additional words in second column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a | b is the right | expected</color>
- <red> "</color>"
+ <red>"
+ a | b is the right | expected
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:112:11)
|
jest-each › .test.concurrent › throws error when there are additional words in last column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test.concurrent throws error when there are additional words in last column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a | b | expected value</color>
- <red> "</color>"
+ <red>"
+ a | b | expected value
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:150:11)
|
jest-each › .test.concurrent › throws error when there are fewer arguments than headings when given one row:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test.concurrent throws error when there are fewer arguments than headings when given one row 1`
- Snapshot - 4
+ Received + 4
"Not enough arguments supplied for given headings:
<green>a | b | expected</color>
Received:
- <red>Array [</color>
- <red> 0,</color>
- <red> 1,</color>
- <red>]</color>
+ <red>Array [
+ 0,
+ 1,
+ ]</color>
Missing <red>1</color> argument"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:268:11)
|
Watch mode flows › makes watch plugin initialization errors look nice:
undefined#L1
expect(received).rejects.toMatchSnapshot()
Snapshot name: `Watch mode flows makes watch plugin initialization errors look nice 1`
Snapshot: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
Received: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
at Object.toMatchSnapshot (packages/expect/build/index.js:2101:20)
|
printDisplayName › should default displayName color to white when color is not a valid value:
undefined#L1
TypeError: pc.createColors(...)[color] is not a function
at chosenColor (packages/jest-reporters/src/printDisplayName.ts:20:57)
|
Runtime › internalModule › loads internal modules from outside if on the optimization list:
undefined#L1
expect(received).toBe(expected) // Object.is equality
Expected: [Function anonymous]
Received: serializes to the same string
at toBe (packages/jest-runtime/src/__tests__/runtime_internal_module.test.js:89:57)
|
printDisplayName › should default displayName color to white when color is not a valid value:
undefined#L1
TypeError: pc.createColors(...)[color] is not a function
at chosenColor (packages/jest-reporters/src/printDisplayName.ts:20:57)
|
Runtime › internalModule › loads internal modules from outside if on the optimization list:
undefined#L1
expect(received).toBe(expected) // Object.is equality
Expected: [Function anonymous]
Received: serializes to the same string
at toBe (packages/jest-runtime/src/__tests__/runtime_internal_module.test.js:89:57)
|
Watch mode flows › makes watch plugin initialization errors look nice:
undefined#L1
expect(received).rejects.toMatchSnapshot()
Snapshot name: `Watch mode flows makes watch plugin initialization errors look nice 1`
Snapshot: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
Received: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
at Object.toMatchSnapshot (packages/expect/build/index.js:2101:20)
|
printDisplayName › should default displayName color to white when color is not a valid value:
undefined#L1
TypeError: pc.createColors(...)[color] is not a function
at chosenColor (packages/jest-reporters/src/printDisplayName.ts:20:57)
|
Runtime › internalModule › loads internal modules from outside if on the optimization list:
undefined#L1
expect(received).toBe(expected) // Object.is equality
Expected: [Function anonymous]
Received: serializes to the same string
at toBe (packages/jest-runtime/src/__tests__/runtime_internal_module.test.js:89:57)
|
Watch mode flows › makes watch plugin initialization errors look nice:
undefined#L1
expect(received).rejects.toMatchSnapshot()
Snapshot name: `Watch mode flows makes watch plugin initialization errors look nice 1`
Snapshot: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
Received: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
at Object.toMatchSnapshot (packages/expect/build/index.js:2101:20)
|
Ubuntu with shard 2/4 / Node LTS using jest-jasmine2
Final attempt failed. Child_process exited with error code 1
|
Watch mode flows › makes watch plugin initialization errors look nice:
undefined#L1
expect(received).rejects.toMatchSnapshot()
Snapshot name: `Watch mode flows makes watch plugin initialization errors look nice 1`
Snapshot: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
Received: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
at Object.toMatchSnapshot (packages/expect/build/index.js:2101:20)
|
printDisplayName › should default displayName color to white when color is not a valid value:
undefined#L1
TypeError: pc.createColors(...)[color] is not a function
at chosenColor (packages/jest-reporters/src/printDisplayName.ts:20:57)
|
Runtime › internalModule › loads internal modules from outside if on the optimization list:
undefined#L1
expect(received).toBe(expected) // Object.is equality
Expected: [Function anonymous]
Received: serializes to the same string
at toBe (packages/jest-runtime/src/__tests__/runtime_internal_module.test.js:89:57)
|
printDisplayName › should default displayName color to white when color is not a valid value:
undefined#L1
TypeError: pc.createColors(...)[color] is not a function
at chosenColor (packages/jest-reporters/src/printDisplayName.ts:20:57)
|
Runtime › internalModule › loads internal modules from outside if on the optimization list:
undefined#L1
expect(received).toBe(expected) // Object.is equality
Expected: [Function anonymous]
Received: serializes to the same string
at toBe (packages/jest-runtime/src/__tests__/runtime_internal_module.test.js:89:57)
|
Watch mode flows › makes watch plugin initialization errors look nice:
undefined#L1
expect(received).rejects.toMatchSnapshot()
Snapshot name: `Watch mode flows makes watch plugin initialization errors look nice 1`
Snapshot: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
Received: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
at Object.toMatchSnapshot (packages/expect/build/index.js:2101:20)
|
printDisplayName › should default displayName color to white when color is not a valid value:
undefined#L1
TypeError: pc.createColors(...)[color] is not a function
at chosenColor (packages/jest-reporters/src/printDisplayName.ts:20:57)
|
Runtime › internalModule › loads internal modules from outside if on the optimization list:
undefined#L1
expect(received).toBe(expected) // Object.is equality
Expected: [Function anonymous]
Received: serializes to the same string
at toBe (packages/jest-runtime/src/__tests__/runtime_internal_module.test.js:89:57)
|
Watch mode flows › makes watch plugin initialization errors look nice:
undefined#L1
expect(received).rejects.toMatchSnapshot()
Snapshot name: `Watch mode flows makes watch plugin initialization errors look nice 1`
Snapshot: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
Received: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
at Object.toMatchSnapshot (packages/expect/build/index.js:2101:20)
|
Ubuntu with shard 2/4 / Node v20.x
Final attempt failed. Child_process exited with error code 1
|
Watch mode flows › makes watch plugin initialization errors look nice:
undefined#L1
expect(received).rejects.toMatchSnapshot()
Snapshot name: `Watch mode flows makes watch plugin initialization errors look nice 1`
Snapshot: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
Received: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
at Object.toMatchSnapshot (packages/expect/build/index.js:2101:20)
|
printDisplayName › should default displayName color to white when color is not a valid value:
undefined#L1
TypeError: pc.createColors(...)[color] is not a function
at chosenColor (packages/jest-reporters/src/printDisplayName.ts:20:57)
|
Runtime › internalModule › loads internal modules from outside if on the optimization list:
undefined#L1
expect(received).toBe(expected) // Object.is equality
Expected: [Function anonymous]
Received: serializes to the same string
at toBe (packages/jest-runtime/src/__tests__/runtime_internal_module.test.js:89:57)
|
printDisplayName › should default displayName color to white when color is not a valid value:
undefined#L1
TypeError: pc.createColors(...)[color] is not a function
at chosenColor (packages/jest-reporters/src/printDisplayName.ts:20:57)
|
Runtime › internalModule › loads internal modules from outside if on the optimization list:
undefined#L1
expect(received).toBe(expected) // Object.is equality
Expected: [Function anonymous]
Received: serializes to the same string
at toBe (packages/jest-runtime/src/__tests__/runtime_internal_module.test.js:89:57)
|
Watch mode flows › makes watch plugin initialization errors look nice:
undefined#L1
expect(received).rejects.toMatchSnapshot()
Snapshot name: `Watch mode flows makes watch plugin initialization errors look nice 1`
Snapshot: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
Received: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
at Object.toMatchSnapshot (packages/expect/build/index.js:2101:20)
|
printDisplayName › should default displayName color to white when color is not a valid value:
undefined#L1
TypeError: pc.createColors(...)[color] is not a function
at chosenColor (packages/jest-reporters/src/printDisplayName.ts:20:57)
|
Runtime › internalModule › loads internal modules from outside if on the optimization list:
undefined#L1
expect(received).toBe(expected) // Object.is equality
Expected: [Function anonymous]
Received: serializes to the same string
at toBe (packages/jest-runtime/src/__tests__/runtime_internal_module.test.js:89:57)
|
Watch mode flows › makes watch plugin initialization errors look nice:
undefined#L1
expect(received).rejects.toMatchSnapshot()
Snapshot name: `Watch mode flows makes watch plugin initialization errors look nice 1`
Snapshot: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
Received: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
at Object.toMatchSnapshot (packages/expect/build/index.js:2101:20)
|
Ubuntu with shard 2/4 / Node v23.x
Final attempt failed. Child_process exited with error code 1
|
Watch mode flows › makes watch plugin initialization errors look nice:
undefined#L1
expect(received).rejects.toMatchSnapshot()
Snapshot name: `Watch mode flows makes watch plugin initialization errors look nice 1`
Snapshot: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
Received: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
at Object.toMatchSnapshot (packages/expect/build/index.js:2101:20)
|
printDisplayName › should default displayName color to white when color is not a valid value:
undefined#L1
TypeError: pc.createColors(...)[color] is not a function
at chosenColor (packages/jest-reporters/src/printDisplayName.ts:20:57)
|
Runtime › internalModule › loads internal modules from outside if on the optimization list:
undefined#L1
expect(received).toBe(expected) // Object.is equality
Expected: [Function anonymous]
Received: serializes to the same string
at toBe (packages/jest-runtime/src/__tests__/runtime_internal_module.test.js:89:57)
|
printDisplayName › should default displayName color to white when color is not a valid value:
undefined#L1
TypeError: pc.createColors(...)[color] is not a function
at chosenColor (packages/jest-reporters/src/printDisplayName.ts:20:57)
|
Runtime › internalModule › loads internal modules from outside if on the optimization list:
undefined#L1
expect(received).toBe(expected) // Object.is equality
Expected: [Function anonymous]
Received: serializes to the same string
at toBe (packages/jest-runtime/src/__tests__/runtime_internal_module.test.js:89:57)
|
Watch mode flows › makes watch plugin initialization errors look nice:
undefined#L1
expect(received).rejects.toMatchSnapshot()
Snapshot name: `Watch mode flows makes watch plugin initialization errors look nice 1`
Snapshot: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
Received: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
at Object.toMatchSnapshot (packages/expect/build/index.js:2101:20)
|
printDisplayName › should default displayName color to white when color is not a valid value:
undefined#L1
TypeError: pc.createColors(...)[color] is not a function
at chosenColor (packages/jest-reporters/src/printDisplayName.ts:20:57)
|
Runtime › internalModule › loads internal modules from outside if on the optimization list:
undefined#L1
expect(received).toBe(expected) // Object.is equality
Expected: [Function anonymous]
Received: serializes to the same string
at toBe (packages/jest-runtime/src/__tests__/runtime_internal_module.test.js:89:57)
|
Watch mode flows › makes watch plugin initialization errors look nice:
undefined#L1
expect(received).rejects.toMatchSnapshot()
Snapshot name: `Watch mode flows makes watch plugin initialization errors look nice 1`
Snapshot: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
Received: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
at Object.toMatchSnapshot (packages/expect/build/index.js:2101:20)
|
Node LTS on Ubuntu with coverage (2/4)
Final attempt failed. Child_process exited with error code 1
|
should exclude jasmine from stack trace for Unix paths.:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `should exclude jasmine from stack trace for Unix paths. 1`
- Snapshot - 3
+ Received + 3
"<bold><red> <bold>● </intensity><bold>Unix test</color></intensity>
at stack (../jest-jasmine2/build/jasmine-2.4.1.js:1580:17)
- <dim></intensity>
- <dim> <dim>at Object.addResult (</intensity><dim>../jest-jasmine2/build/jasmine-2.4.1.js<dim>:1550:14)</intensity><dim></intensity>
- <dim> <dim>at Object.it (</intensity><dim>build/__tests__/messages-test.js<dim>:45:41)</intensity><dim></intensity>
+ <dim>
+ <dim>at Object.addResult (</intensity><dim>../jest-jasmine2/build/jasmine-2.4.1.js<dim>:1550:14)</intensity><dim>
+ <dim>at Object.it (</intensity><dim>build/__tests__/messages-test.js<dim>:45:41)</intensity><dim></intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:205:20)
|
formatStackTrace should strip node internals:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `formatStackTrace should strip node internals 1`
- Snapshot - 2
+ Received + 2
@@ -5,8 +5,8 @@
"number"
Received:
""
type:
"string"
- <dim></intensity>
- <dim> <dim>at Object.it (</intensity><dim>__tests__/test.js<dim>:8:14)</intensity><dim></intensity>
+ <dim>
+ <dim>at Object.it (</intensity><dim>__tests__/test.js<dim>:8:14)</intensity><dim></intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:253:20)
|
should not exclude vendor from stack trace:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `should not exclude vendor from stack trace 1`
- Snapshot - 3
+ Received + 3
@@ -5,9 +5,9 @@
"number"
Received:
""
type:
"string"
- <dim></intensity>
- <dim> <dim>at Object.it (</intensity><dim>__tests__/vendor/cool_test.js<dim>:6:666)</intensity><dim></intensity>
- <dim> <dim>at Object.asyncFn (</intensity><dim>__tests__/vendor/sulu/node_modules/sulu-content-bundle/best_component.js<dim>:1:5)</intensity><dim></intensity>
+ <dim>
+ <dim>at Object.it (</intensity><dim>__tests__/vendor/cool_test.js<dim>:6:666)</intensity><dim>
+ <dim>at Object.asyncFn (</intensity><dim>__tests__/vendor/sulu/node_modules/sulu-content-bundle/best_component.js<dim>:1:5)</intensity><dim></intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:282:20)
|
retains message in babel code frame error:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `retains message in babel code frame error 1`
- Snapshot - 8
+ Received + 8
"<bold><red> <bold>● </intensity><bold>Babel test</color></intensity>
packages/react/src/forwardRef.js: Unexpected token, expected , (20:10)
- <dim></intensity>
- <dim> </> <gray> 18 | </color> <cyan>false</color><yellow>,</color></intensity>
- <dim> <gray> 19 | </color> <green>'forwardRef requires a render function but received a `memo` '</color></intensity>
- <dim> <red><bold>></intensity><dim></color><gray> 20 | </color> <green>'component. Instead of forwardRef(memo(...)), use '</color> <yellow>+</color></intensity>
- <dim> <gray> | </color> <red><bold>^</intensity><dim></color></intensity>
- <dim> <gray> 21 | </color> <green>'memo(forwardRef(...)).'</color><yellow>,</color></intensity>
- <dim> <gray> 22 | </color> )<yellow>;</color></intensity>
- <dim> <gray> 23 | </color> } <cyan>else</color> <cyan>if</color> (<cyan>typeof</color> render <yellow>!==</color> <green>'function'</color>) {</></intensity>
+ <dim>
+ </> <gray> 18 | </color> <cyan>false</color><yellow>,</color>
+ <gray> 19 | </color> <green>'forwardRef requires a render function but received a `memo` '</color>
+ <red><bold>></intensity><dim></color><gray> 20 | </color> <green>'component. Instead of forwardRef(memo(...)), use '</color> <yellow>+</color>
+ <gray> | </color> <red><bold>^</intensity><dim></color>
+ <gray> 21 | </color> <green>'memo(forwardRef(...)).'</color><yellow>,</color>
+ <gray> 22 | </color> )<yellow>;</color>
+ <gray> 23 | </color> } <cyan>else</color> <cyan>if</color> (<cyan>typeof</color> render <yellow>!==</color> <green>'function'</color>) {</></intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:311:20)
|
formatStackTrace should properly handle deeply nested causes:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `formatStackTrace should properly handle deeply nested causes 1`
- Snapshot - 12
+ Received + 12
"<bold><red> <bold>● </intensity><bold>Error with cause test</color></intensity>
intercepted by f
- <dim></intensity>
- <dim> <dim>at f (</intensity><dim>cause.test.js<dim>:15:11)</intensity><dim></intensity>
- <dim> <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
+ <dim>
+ <dim>at f (</intensity><dim>cause.test.js<dim>:15:11)</intensity><dim>
+ <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
Cause:
intercepted by g
- <dim></intensity>
- <dim> <dim>at g (</intensity><dim>cause.test.js<dim>:8:11)</intensity><dim></intensity>
- <dim> <dim>at g (</intensity><dim>cause.test.js<dim>:13:5)</intensity><dim></intensity>
- <dim> <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
+ <dim>
+ <dim>at g (</intensity><dim>cause.test.js<dim>:8:11)</intensity><dim>
+ <dim>at g (</intensity><dim>cause.test.js<dim>:13:5)</intensity><dim>
+ <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
Cause:
boom
- <dim></intensity>
- <dim> <dim>at h (</intensity><dim>cause.test.js<dim>:2:9)</intensity><dim></intensity>
- <dim> <dim>at h (</intensity><dim>cause.test.js<dim>:6:5)</intensity><dim></intensity>
- <dim> <dim>at g (</intensity><dim>cause.test.js<dim>:13:5)</intensity><dim></intensity>
- <dim> <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
+ <dim>
+ <dim>at h (</intensity><dim>cause.test.js<dim>:2:9)</intensity><dim>
+ <dim>at h (</intensity><dim>cause.test.js<dim>:6:5)</intensity><dim>
+ <dim>at g (</intensity><dim>cause.test.js<dim>:13:5)</intensity><dim>
+ <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:340:20)
|
formatStackTrace should properly handle string causes:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `formatStackTrace should properly handle string causes 1`
- Snapshot - 5
+ Received + 5
"<bold><red> <bold>● </intensity><bold>Error with string cause test</color></intensity>
boom
- <dim></intensity>
- <dim> <dim>at f (</intensity><dim>cause.test.js<dim>:15:11)</intensity><dim></intensity>
- <dim> <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
+ <dim>
+ <dim>at f (</intensity><dim>cause.test.js<dim>:15:11)</intensity><dim>
+ <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
Cause:
string cause
- <dim></intensity>
- <dim></intensity>
+ <dim>
+ </intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:369:20)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 1`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 2`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 3`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
Watch mode flows › makes watch plugin initialization errors look nice:
undefined#L1
expect(received).rejects.toMatchSnapshot()
Snapshot name: `Watch mode flows makes watch plugin initialization errors look nice 1`
Snapshot: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
Received: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
at Object.toMatchSnapshot (packages/expect/build/index.js:2101:20)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 4`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
printDisplayName › should default displayName color to white when color is not a valid value:
undefined#L1
TypeError: pc.createColors(...)[color] is not a function
at chosenColor (packages/jest-reporters/src/printDisplayName.ts:20:57)
|
Runtime › internalModule › loads internal modules from outside if on the optimization list:
undefined#L1
expect(received).toBe(expected) // Object.is equality
Expected: [Function anonymous]
Received: serializes to the same string
at toBe (packages/jest-runtime/src/__tests__/runtime_internal_module.test.js:89:57)
|
printDisplayName › should default displayName color to white when color is not a valid value:
undefined#L1
TypeError: pc.createColors(...)[color] is not a function
at chosenColor (packages/jest-reporters/src/printDisplayName.ts:20:57)
|
Runtime › internalModule › loads internal modules from outside if on the optimization list:
undefined#L1
expect(received).toBe(expected) // Object.is equality
Expected: [Function anonymous]
Received: serializes to the same string
at toBe (packages/jest-runtime/src/__tests__/runtime_internal_module.test.js:89:57)
|
Watch mode flows › makes watch plugin initialization errors look nice:
undefined#L1
expect(received).rejects.toMatchSnapshot()
Snapshot name: `Watch mode flows makes watch plugin initialization errors look nice 1`
Snapshot: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
Received: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
at Object.toMatchSnapshot (packages/expect/build/index.js:2101:20)
|
printDisplayName › should default displayName color to white when color is not a valid value:
undefined#L1
TypeError: pc.createColors(...)[color] is not a function
at chosenColor (packages/jest-reporters/src/printDisplayName.ts:20:57)
|
Runtime › internalModule › loads internal modules from outside if on the optimization list:
undefined#L1
expect(received).toBe(expected) // Object.is equality
Expected: [Function anonymous]
Received: serializes to the same string
at toBe (packages/jest-runtime/src/__tests__/runtime_internal_module.test.js:89:57)
|
Watch mode flows › makes watch plugin initialization errors look nice:
undefined#L1
expect(received).rejects.toMatchSnapshot()
Snapshot name: `Watch mode flows makes watch plugin initialization errors look nice 1`
Snapshot: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
Received: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
at Object.toMatchSnapshot (packages/expect/build/index.js:2101:20)
|
Ubuntu with shard 2/4 / Node v18.x
Final attempt failed. Child_process exited with error code 1
|
Watch mode flows › makes watch plugin initialization errors look nice:
undefined#L1
expect(received).rejects.toMatchSnapshot()
Snapshot name: `Watch mode flows makes watch plugin initialization errors look nice 1`
Snapshot: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
Received: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
at Object.toMatchSnapshot (packages/expect/build/index.js:2101:20)
|
printDisplayName › should default displayName color to white when color is not a valid value:
undefined#L1
TypeError: pc.createColors(...)[color] is not a function
at chosenColor (packages/jest-reporters/src/printDisplayName.ts:20:57)
|
Runtime › internalModule › loads internal modules from outside if on the optimization list:
undefined#L1
expect(received).toBe(expected) // Object.is equality
Expected: [Function anonymous]
Received: serializes to the same string
at toBe (packages/jest-runtime/src/__tests__/runtime_internal_module.test.js:89:57)
|
printDisplayName › should default displayName color to white when color is not a valid value:
undefined#L1
TypeError: pc.createColors(...)[color] is not a function
at chosenColor (packages/jest-reporters/src/printDisplayName.ts:20:57)
|
Runtime › internalModule › loads internal modules from outside if on the optimization list:
undefined#L1
expect(received).toBe(expected) // Object.is equality
Expected: [Function anonymous]
Received: serializes to the same string
at toBe (packages/jest-runtime/src/__tests__/runtime_internal_module.test.js:89:57)
|
Watch mode flows › makes watch plugin initialization errors look nice:
undefined#L1
expect(received).rejects.toMatchSnapshot()
Snapshot name: `Watch mode flows makes watch plugin initialization errors look nice 1`
Snapshot: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
Received: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
at Object.toMatchSnapshot (packages/expect/build/index.js:2101:20)
|
printDisplayName › should default displayName color to white when color is not a valid value:
undefined#L1
TypeError: pc.createColors(...)[color] is not a function
at chosenColor (packages/jest-reporters/src/printDisplayName.ts:20:57)
|
Runtime › internalModule › loads internal modules from outside if on the optimization list:
undefined#L1
expect(received).toBe(expected) // Object.is equality
Expected: [Function anonymous]
Received: serializes to the same string
at toBe (packages/jest-runtime/src/__tests__/runtime_internal_module.test.js:89:57)
|
Watch mode flows › makes watch plugin initialization errors look nice:
undefined#L1
expect(received).rejects.toMatchSnapshot()
Snapshot name: `Watch mode flows makes watch plugin initialization errors look nice 1`
Snapshot: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
Received: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
at Object.toMatchSnapshot (packages/expect/build/index.js:2101:20)
|
Ubuntu with shard 2/4 / Node v22.x
Final attempt failed. Child_process exited with error code 1
|
Watch mode flows › makes watch plugin initialization errors look nice:
undefined#L1
expect(received).rejects.toMatchSnapshot()
Snapshot name: `Watch mode flows makes watch plugin initialization errors look nice 1`
Snapshot: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
Received: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
at Object.toMatchSnapshot (packages/expect/build/index.js:2101:20)
|
printDisplayName › should default displayName color to white when color is not a valid value:
undefined#L1
TypeError: pc.createColors(...)[color] is not a function
at chosenColor (packages/jest-reporters/src/printDisplayName.ts:20:57)
at runMicrotasks (<anonymous>)
|
Runtime › internalModule › loads internal modules from outside if on the optimization list:
undefined#L1
expect(received).toBe(expected) // Object.is equality
Expected: [Function anonymous]
Received: serializes to the same string
at toBe (packages/jest-runtime/src/__tests__/runtime_internal_module.test.js:89:57)
|
printDisplayName › should default displayName color to white when color is not a valid value:
undefined#L1
TypeError: pc.createColors(...)[color] is not a function
at chosenColor (packages/jest-reporters/src/printDisplayName.ts:20:57)
|
Runtime › internalModule › loads internal modules from outside if on the optimization list:
undefined#L1
expect(received).toBe(expected) // Object.is equality
Expected: [Function anonymous]
Received: serializes to the same string
at toBe (packages/jest-runtime/src/__tests__/runtime_internal_module.test.js:89:57)
|
Watch mode flows › makes watch plugin initialization errors look nice:
undefined#L1
expect(received).rejects.toMatchSnapshot()
Snapshot name: `Watch mode flows makes watch plugin initialization errors look nice 1`
Snapshot: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
Received: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
at Object.toMatchSnapshot (packages/expect/build/index.js:2101:20)
|
printDisplayName › should default displayName color to white when color is not a valid value:
undefined#L1
TypeError: pc.createColors(...)[color] is not a function
at chosenColor (packages/jest-reporters/src/printDisplayName.ts:20:57)
|
Runtime › internalModule › loads internal modules from outside if on the optimization list:
undefined#L1
expect(received).toBe(expected) // Object.is equality
Expected: [Function anonymous]
Received: serializes to the same string
at toBe (packages/jest-runtime/src/__tests__/runtime_internal_module.test.js:89:57)
|
Watch mode flows › makes watch plugin initialization errors look nice:
undefined#L1
expect(received).rejects.toMatchSnapshot()
Snapshot name: `Watch mode flows makes watch plugin initialization errors look nice 1`
Snapshot: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
Received: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
at Object.toMatchSnapshot (packages/expect/build/index.js:2101:20)
|
Ubuntu with shard 2/4 / Node v16.x
Final attempt failed. Child_process exited with error code 1
|
should exclude jasmine from stack trace for Unix paths.:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `should exclude jasmine from stack trace for Unix paths. 1`
- Snapshot - 3
+ Received + 3
"<bold><red> <bold>● </intensity><bold>Unix test</color></intensity>
at stack (../jest-jasmine2/build/jasmine-2.4.1.js:1580:17)
- <dim></intensity>
- <dim> <dim>at Object.addResult (</intensity><dim>../jest-jasmine2/build/jasmine-2.4.1.js<dim>:1550:14)</intensity><dim></intensity>
- <dim> <dim>at Object.it (</intensity><dim>build/__tests__/messages-test.js<dim>:45:41)</intensity><dim></intensity>
+ <dim>
+ <dim>at Object.addResult (</intensity><dim>../jest-jasmine2/build/jasmine-2.4.1.js<dim>:1550:14)</intensity><dim>
+ <dim>at Object.it (</intensity><dim>build/__tests__/messages-test.js<dim>:45:41)</intensity><dim></intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:205:20)
|
formatStackTrace should strip node internals:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `formatStackTrace should strip node internals 1`
- Snapshot - 2
+ Received + 2
@@ -5,8 +5,8 @@
"number"
Received:
""
type:
"string"
- <dim></intensity>
- <dim> <dim>at Object.it (</intensity><dim>__tests__/test.js<dim>:8:14)</intensity><dim></intensity>
+ <dim>
+ <dim>at Object.it (</intensity><dim>__tests__/test.js<dim>:8:14)</intensity><dim></intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:253:20)
|
should not exclude vendor from stack trace:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `should not exclude vendor from stack trace 1`
- Snapshot - 3
+ Received + 3
@@ -5,9 +5,9 @@
"number"
Received:
""
type:
"string"
- <dim></intensity>
- <dim> <dim>at Object.it (</intensity><dim>__tests__/vendor/cool_test.js<dim>:6:666)</intensity><dim></intensity>
- <dim> <dim>at Object.asyncFn (</intensity><dim>__tests__/vendor/sulu/node_modules/sulu-content-bundle/best_component.js<dim>:1:5)</intensity><dim></intensity>
+ <dim>
+ <dim>at Object.it (</intensity><dim>__tests__/vendor/cool_test.js<dim>:6:666)</intensity><dim>
+ <dim>at Object.asyncFn (</intensity><dim>__tests__/vendor/sulu/node_modules/sulu-content-bundle/best_component.js<dim>:1:5)</intensity><dim></intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:282:20)
|
retains message in babel code frame error:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `retains message in babel code frame error 1`
- Snapshot - 8
+ Received + 8
"<bold><red> <bold>● </intensity><bold>Babel test</color></intensity>
packages/react/src/forwardRef.js: Unexpected token, expected , (20:10)
- <dim></intensity>
- <dim> </> <gray> 18 | </color> <cyan>false</color><yellow>,</color></intensity>
- <dim> <gray> 19 | </color> <green>'forwardRef requires a render function but received a `memo` '</color></intensity>
- <dim> <red><bold>></intensity><dim></color><gray> 20 | </color> <green>'component. Instead of forwardRef(memo(...)), use '</color> <yellow>+</color></intensity>
- <dim> <gray> | </color> <red><bold>^</intensity><dim></color></intensity>
- <dim> <gray> 21 | </color> <green>'memo(forwardRef(...)).'</color><yellow>,</color></intensity>
- <dim> <gray> 22 | </color> )<yellow>;</color></intensity>
- <dim> <gray> 23 | </color> } <cyan>else</color> <cyan>if</color> (<cyan>typeof</color> render <yellow>!==</color> <green>'function'</color>) {</></intensity>
+ <dim>
+ </> <gray> 18 | </color> <cyan>false</color><yellow>,</color>
+ <gray> 19 | </color> <green>'forwardRef requires a render function but received a `memo` '</color>
+ <red><bold>></intensity><dim></color><gray> 20 | </color> <green>'component. Instead of forwardRef(memo(...)), use '</color> <yellow>+</color>
+ <gray> | </color> <red><bold>^</intensity><dim></color>
+ <gray> 21 | </color> <green>'memo(forwardRef(...)).'</color><yellow>,</color>
+ <gray> 22 | </color> )<yellow>;</color>
+ <gray> 23 | </color> } <cyan>else</color> <cyan>if</color> (<cyan>typeof</color> render <yellow>!==</color> <green>'function'</color>) {</></intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:311:20)
|
formatStackTrace should properly handle deeply nested causes:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `formatStackTrace should properly handle deeply nested causes 1`
- Snapshot - 12
+ Received + 12
"<bold><red> <bold>● </intensity><bold>Error with cause test</color></intensity>
intercepted by f
- <dim></intensity>
- <dim> <dim>at f (</intensity><dim>cause.test.js<dim>:15:11)</intensity><dim></intensity>
- <dim> <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
+ <dim>
+ <dim>at f (</intensity><dim>cause.test.js<dim>:15:11)</intensity><dim>
+ <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
Cause:
intercepted by g
- <dim></intensity>
- <dim> <dim>at g (</intensity><dim>cause.test.js<dim>:8:11)</intensity><dim></intensity>
- <dim> <dim>at g (</intensity><dim>cause.test.js<dim>:13:5)</intensity><dim></intensity>
- <dim> <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
+ <dim>
+ <dim>at g (</intensity><dim>cause.test.js<dim>:8:11)</intensity><dim>
+ <dim>at g (</intensity><dim>cause.test.js<dim>:13:5)</intensity><dim>
+ <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
Cause:
boom
- <dim></intensity>
- <dim> <dim>at h (</intensity><dim>cause.test.js<dim>:2:9)</intensity><dim></intensity>
- <dim> <dim>at h (</intensity><dim>cause.test.js<dim>:6:5)</intensity><dim></intensity>
- <dim> <dim>at g (</intensity><dim>cause.test.js<dim>:13:5)</intensity><dim></intensity>
- <dim> <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
+ <dim>
+ <dim>at h (</intensity><dim>cause.test.js<dim>:2:9)</intensity><dim>
+ <dim>at h (</intensity><dim>cause.test.js<dim>:6:5)</intensity><dim>
+ <dim>at g (</intensity><dim>cause.test.js<dim>:13:5)</intensity><dim>
+ <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:340:20)
|
formatStackTrace should properly handle string causes:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `formatStackTrace should properly handle string causes 1`
- Snapshot - 5
+ Received + 5
"<bold><red> <bold>● </intensity><bold>Error with string cause test</color></intensity>
boom
- <dim></intensity>
- <dim> <dim>at f (</intensity><dim>cause.test.js<dim>:15:11)</intensity><dim></intensity>
- <dim> <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
+ <dim>
+ <dim>at f (</intensity><dim>cause.test.js<dim>:15:11)</intensity><dim>
+ <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
Cause:
string cause
- <dim></intensity>
- <dim></intensity>
+ <dim>
+ </intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:369:20)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 1`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 2`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 3`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 4`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
rootDir › throws if the options is missing a rootDir property:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `rootDir throws if the options is missing a rootDir property 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Configuration option <bold>rootDir</intensity> must be specified.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Configuration option <bold>rootDir</intensity> must be specified.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
reporters › throws an error if value is neither string nor array:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if value is neither string nor array 1`
- Snapshot - 10
+ Received + 10
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Reporter at index 0 must be of type:</color>
- <red> <bold><green>array or string</color><red></intensity></color>
- <red> but instead received:</color>
- <red> <bold><red>number</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Reporter at index 0 must be of type:
+ <bold><green>array or string<red></intensity>
+ but instead received:
+ <bold><red>number<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
reporters › throws an error if first value in the tuple is not a string:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if first value in the tuple is not a string 1`
- Snapshot - 15
+ Received + 15
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Unexpected value for Path at index 0 of reporter at index 0</color>
- <red> Expected:</color>
- <red> <bold><red>string</color><red></intensity></color>
- <red> Got:</color>
- <red> <bold><green>number</color><red></intensity></color>
- <red> Reporter configuration:</color>
- <red> <bold><green>[</color><red></intensity></color>
- <red><bold><green> 123</color><red></intensity></color>
- <red><bold><green> ]</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Unexpected value for Path at index 0 of reporter at index 0
+ Expected:
+ <bold><red>string<red></intensity>
+ Got:
+ <bold><green>number<red></intensity>
+ Reporter configuration:
+ <bold><green>[
+ 123
+ ]<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
reporters › throws an error if second value is missing in the tuple:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if second value is missing in the tuple 1`
- Snapshot - 15
+ Received + 15
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Unexpected value for Reporter Configuration at index 1 of reporter at index 0</color>
- <red> Expected:</color>
- <red> <bold><red>object</color><red></intensity></color>
- <red> Got:</color>
- <red> <bold><green>undefined</color><red></intensity></color>
- <red> Reporter configuration:</color>
- <red> <bold><green>[</color><red></intensity></color>
- <red><bold><green> "some-reporter"</color><red></intensity></color>
- <red><bold><green> ]</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Unexpected value for Reporter Configuration at index 1 of reporter at index 0
+ Expected:
+ <bold><red>object<red></intensity>
+ Got:
+ <bold><green>undefined<red></intensity>
+ Reporter configuration:
+ <bold><green>[
+ "some-reporter"
+ ]<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
reporters › throws an error if second value in the tuple is not an object:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if second value in the tuple is not an object 1`
- Snapshot - 16
+ Received + 16
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Unexpected value for Reporter Configuration at index 1 of reporter at index 0</color>
- <red> Expected:</color>
- <red> <bold><red>object</color><red></intensity></color>
- <red> Got:</color>
- <red> <bold><green>boolean</color><red></intensity></color>
- <red> Reporter configuration:</color>
- <red> <bold><green>[</color><red></intensity></color>
- <red><bold><green> "some-reporter",</color><red></intensity></color>
- <red><bold><green> true</color><red></intensity></color>
- <red><bold><green> ]</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Unexpected value for Reporter Configuration at index 1 of reporter at index 0
+ Expected:
+ <bold><red>object<red></intensity>
+ Got:
+ <bold><green>boolean<red></intensity>
+ Reporter configuration:
+ <bold><green>[
+ "some-reporter",
+ true
+ ]<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
testEnvironment › throws on invalid environment names:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `testEnvironment throws on invalid environment names 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Test environment <bold>phantom</intensity> cannot be found. Make sure the <bold>testEnvironment</intensity> configuration option points to an existing node module.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Test environment <bold>phantom</intensity> cannot be found. Make sure the <bold>testEnvironment</intensity> configuration option points to an existing node module.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
testMatch › throws if testRegex and testMatch are both specified:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `testMatch throws if testRegex and testMatch are both specified 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Configuration options <bold>testMatch</intensity> and <bold>testRegex</intensity> cannot be used together.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Configuration options <bold>testMatch</intensity> and <bold>testRegex</intensity> cannot be used together.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
preset › throws when preset not found:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `preset throws when preset not found 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Preset <bold>doesnt-exist</intensity> not found relative to rootDir <bold>/root/path/foo</intensity>.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Preset <bold>doesnt-exist</intensity> not found relative to rootDir <bold>/root/path/foo</intensity>.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
preset › throws when module was found but no "jest-preset.js" or "jest-preset.json" files:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `preset throws when module was found but no "jest-preset.js" or "jest-preset.json" files 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Module <bold>exist-but-no-jest-preset</intensity> should have "jest-preset.js" or "jest-preset.json" file at the root.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Module <bold>exist-but-no-jest-preset</intensity> should have "jest-preset.js" or "jest-preset.json" file at the root.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
runner › throw error when a runner is not found:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `runner throw error when a runner is not found 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Jest Runner <bold>missing-runner</intensity> cannot be found. Make sure the <bold>runner</intensity> configuration option points to an existing node module.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Jest Runner <bold>missing-runner</intensity> cannot be found. Make sure the <bold>runner</intensity> configuration option points to an existing node module.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
should exclude jasmine from stack trace for Unix paths.:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `should exclude jasmine from stack trace for Unix paths. 1`
- Snapshot - 3
+ Received + 3
"<bold><red> <bold>● </intensity><bold>Unix test</color></intensity>
at stack (../jest-jasmine2/build/jasmine-2.4.1.js:1580:17)
- <dim></intensity>
- <dim> <dim>at Object.addResult (</intensity><dim>../jest-jasmine2/build/jasmine-2.4.1.js<dim>:1550:14)</intensity><dim></intensity>
- <dim> <dim>at Object.it (</intensity><dim>build/__tests__/messages-test.js<dim>:45:41)</intensity><dim></intensity>
+ <dim>
+ <dim>at Object.addResult (</intensity><dim>../jest-jasmine2/build/jasmine-2.4.1.js<dim>:1550:14)</intensity><dim>
+ <dim>at Object.it (</intensity><dim>build/__tests__/messages-test.js<dim>:45:41)</intensity><dim></intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:205:20)
|
formatStackTrace should strip node internals:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `formatStackTrace should strip node internals 1`
- Snapshot - 2
+ Received + 2
@@ -5,8 +5,8 @@
"number"
Received:
""
type:
"string"
- <dim></intensity>
- <dim> <dim>at Object.it (</intensity><dim>__tests__/test.js<dim>:8:14)</intensity><dim></intensity>
+ <dim>
+ <dim>at Object.it (</intensity><dim>__tests__/test.js<dim>:8:14)</intensity><dim></intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:253:20)
|
should not exclude vendor from stack trace:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `should not exclude vendor from stack trace 1`
- Snapshot - 3
+ Received + 3
@@ -5,9 +5,9 @@
"number"
Received:
""
type:
"string"
- <dim></intensity>
- <dim> <dim>at Object.it (</intensity><dim>__tests__/vendor/cool_test.js<dim>:6:666)</intensity><dim></intensity>
- <dim> <dim>at Object.asyncFn (</intensity><dim>__tests__/vendor/sulu/node_modules/sulu-content-bundle/best_component.js<dim>:1:5)</intensity><dim></intensity>
+ <dim>
+ <dim>at Object.it (</intensity><dim>__tests__/vendor/cool_test.js<dim>:6:666)</intensity><dim>
+ <dim>at Object.asyncFn (</intensity><dim>__tests__/vendor/sulu/node_modules/sulu-content-bundle/best_component.js<dim>:1:5)</intensity><dim></intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:282:20)
|
retains message in babel code frame error:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `retains message in babel code frame error 1`
- Snapshot - 8
+ Received + 8
"<bold><red> <bold>● </intensity><bold>Babel test</color></intensity>
packages/react/src/forwardRef.js: Unexpected token, expected , (20:10)
- <dim></intensity>
- <dim> </> <gray> 18 | </color> <cyan>false</color><yellow>,</color></intensity>
- <dim> <gray> 19 | </color> <green>'forwardRef requires a render function but received a `memo` '</color></intensity>
- <dim> <red><bold>></intensity><dim></color><gray> 20 | </color> <green>'component. Instead of forwardRef(memo(...)), use '</color> <yellow>+</color></intensity>
- <dim> <gray> | </color> <red><bold>^</intensity><dim></color></intensity>
- <dim> <gray> 21 | </color> <green>'memo(forwardRef(...)).'</color><yellow>,</color></intensity>
- <dim> <gray> 22 | </color> )<yellow>;</color></intensity>
- <dim> <gray> 23 | </color> } <cyan>else</color> <cyan>if</color> (<cyan>typeof</color> render <yellow>!==</color> <green>'function'</color>) {</></intensity>
+ <dim>
+ </> <gray> 18 | </color> <cyan>false</color><yellow>,</color>
+ <gray> 19 | </color> <green>'forwardRef requires a render function but received a `memo` '</color>
+ <red><bold>></intensity><dim></color><gray> 20 | </color> <green>'component. Instead of forwardRef(memo(...)), use '</color> <yellow>+</color>
+ <gray> | </color> <red><bold>^</intensity><dim></color>
+ <gray> 21 | </color> <green>'memo(forwardRef(...)).'</color><yellow>,</color>
+ <gray> 22 | </color> )<yellow>;</color>
+ <gray> 23 | </color> } <cyan>else</color> <cyan>if</color> (<cyan>typeof</color> render <yellow>!==</color> <green>'function'</color>) {</></intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:311:20)
|
formatStackTrace should properly handle deeply nested causes:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `formatStackTrace should properly handle deeply nested causes 1`
- Snapshot - 12
+ Received + 12
"<bold><red> <bold>● </intensity><bold>Error with cause test</color></intensity>
intercepted by f
- <dim></intensity>
- <dim> <dim>at f (</intensity><dim>cause.test.js<dim>:15:11)</intensity><dim></intensity>
- <dim> <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
+ <dim>
+ <dim>at f (</intensity><dim>cause.test.js<dim>:15:11)</intensity><dim>
+ <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
Cause:
intercepted by g
- <dim></intensity>
- <dim> <dim>at g (</intensity><dim>cause.test.js<dim>:8:11)</intensity><dim></intensity>
- <dim> <dim>at g (</intensity><dim>cause.test.js<dim>:13:5)</intensity><dim></intensity>
- <dim> <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
+ <dim>
+ <dim>at g (</intensity><dim>cause.test.js<dim>:8:11)</intensity><dim>
+ <dim>at g (</intensity><dim>cause.test.js<dim>:13:5)</intensity><dim>
+ <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
Cause:
boom
- <dim></intensity>
- <dim> <dim>at h (</intensity><dim>cause.test.js<dim>:2:9)</intensity><dim></intensity>
- <dim> <dim>at h (</intensity><dim>cause.test.js<dim>:6:5)</intensity><dim></intensity>
- <dim> <dim>at g (</intensity><dim>cause.test.js<dim>:13:5)</intensity><dim></intensity>
- <dim> <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
+ <dim>
+ <dim>at h (</intensity><dim>cause.test.js<dim>:2:9)</intensity><dim>
+ <dim>at h (</intensity><dim>cause.test.js<dim>:6:5)</intensity><dim>
+ <dim>at g (</intensity><dim>cause.test.js<dim>:13:5)</intensity><dim>
+ <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:340:20)
|
formatStackTrace should properly handle string causes:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `formatStackTrace should properly handle string causes 1`
- Snapshot - 5
+ Received + 5
"<bold><red> <bold>● </intensity><bold>Error with string cause test</color></intensity>
boom
- <dim></intensity>
- <dim> <dim>at f (</intensity><dim>cause.test.js<dim>:15:11)</intensity><dim></intensity>
- <dim> <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
+ <dim>
+ <dim>at f (</intensity><dim>cause.test.js<dim>:15:11)</intensity><dim>
+ <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
Cause:
string cause
- <dim></intensity>
- <dim></intensity>
+ <dim>
+ </intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:369:20)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 1`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 2`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 3`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 4`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
should exclude jasmine from stack trace for Unix paths.:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `should exclude jasmine from stack trace for Unix paths. 1`
- Snapshot - 3
+ Received + 3
"<bold><red> <bold>● </intensity><bold>Unix test</color></intensity>
at stack (../jest-jasmine2/build/jasmine-2.4.1.js:1580:17)
- <dim></intensity>
- <dim> <dim>at Object.addResult (</intensity><dim>../jest-jasmine2/build/jasmine-2.4.1.js<dim>:1550:14)</intensity><dim></intensity>
- <dim> <dim>at Object.it (</intensity><dim>build/__tests__/messages-test.js<dim>:45:41)</intensity><dim></intensity>
+ <dim>
+ <dim>at Object.addResult (</intensity><dim>../jest-jasmine2/build/jasmine-2.4.1.js<dim>:1550:14)</intensity><dim>
+ <dim>at Object.it (</intensity><dim>build/__tests__/messages-test.js<dim>:45:41)</intensity><dim></intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:205:20)
|
formatStackTrace should strip node internals:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `formatStackTrace should strip node internals 1`
- Snapshot - 2
+ Received + 2
@@ -5,8 +5,8 @@
"number"
Received:
""
type:
"string"
- <dim></intensity>
- <dim> <dim>at Object.it (</intensity><dim>__tests__/test.js<dim>:8:14)</intensity><dim></intensity>
+ <dim>
+ <dim>at Object.it (</intensity><dim>__tests__/test.js<dim>:8:14)</intensity><dim></intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:253:20)
|
should not exclude vendor from stack trace:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `should not exclude vendor from stack trace 1`
- Snapshot - 3
+ Received + 3
@@ -5,9 +5,9 @@
"number"
Received:
""
type:
"string"
- <dim></intensity>
- <dim> <dim>at Object.it (</intensity><dim>__tests__/vendor/cool_test.js<dim>:6:666)</intensity><dim></intensity>
- <dim> <dim>at Object.asyncFn (</intensity><dim>__tests__/vendor/sulu/node_modules/sulu-content-bundle/best_component.js<dim>:1:5)</intensity><dim></intensity>
+ <dim>
+ <dim>at Object.it (</intensity><dim>__tests__/vendor/cool_test.js<dim>:6:666)</intensity><dim>
+ <dim>at Object.asyncFn (</intensity><dim>__tests__/vendor/sulu/node_modules/sulu-content-bundle/best_component.js<dim>:1:5)</intensity><dim></intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:282:20)
|
retains message in babel code frame error:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `retains message in babel code frame error 1`
- Snapshot - 8
+ Received + 8
"<bold><red> <bold>● </intensity><bold>Babel test</color></intensity>
packages/react/src/forwardRef.js: Unexpected token, expected , (20:10)
- <dim></intensity>
- <dim> </> <gray> 18 | </color> <cyan>false</color><yellow>,</color></intensity>
- <dim> <gray> 19 | </color> <green>'forwardRef requires a render function but received a `memo` '</color></intensity>
- <dim> <red><bold>></intensity><dim></color><gray> 20 | </color> <green>'component. Instead of forwardRef(memo(...)), use '</color> <yellow>+</color></intensity>
- <dim> <gray> | </color> <red><bold>^</intensity><dim></color></intensity>
- <dim> <gray> 21 | </color> <green>'memo(forwardRef(...)).'</color><yellow>,</color></intensity>
- <dim> <gray> 22 | </color> )<yellow>;</color></intensity>
- <dim> <gray> 23 | </color> } <cyan>else</color> <cyan>if</color> (<cyan>typeof</color> render <yellow>!==</color> <green>'function'</color>) {</></intensity>
+ <dim>
+ </> <gray> 18 | </color> <cyan>false</color><yellow>,</color>
+ <gray> 19 | </color> <green>'forwardRef requires a render function but received a `memo` '</color>
+ <red><bold>></intensity><dim></color><gray> 20 | </color> <green>'component. Instead of forwardRef(memo(...)), use '</color> <yellow>+</color>
+ <gray> | </color> <red><bold>^</intensity><dim></color>
+ <gray> 21 | </color> <green>'memo(forwardRef(...)).'</color><yellow>,</color>
+ <gray> 22 | </color> )<yellow>;</color>
+ <gray> 23 | </color> } <cyan>else</color> <cyan>if</color> (<cyan>typeof</color> render <yellow>!==</color> <green>'function'</color>) {</></intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:311:20)
|
formatStackTrace should properly handle deeply nested causes:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `formatStackTrace should properly handle deeply nested causes 1`
- Snapshot - 12
+ Received + 12
"<bold><red> <bold>● </intensity><bold>Error with cause test</color></intensity>
intercepted by f
- <dim></intensity>
- <dim> <dim>at f (</intensity><dim>cause.test.js<dim>:15:11)</intensity><dim></intensity>
- <dim> <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
+ <dim>
+ <dim>at f (</intensity><dim>cause.test.js<dim>:15:11)</intensity><dim>
+ <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
Cause:
intercepted by g
- <dim></intensity>
- <dim> <dim>at g (</intensity><dim>cause.test.js<dim>:8:11)</intensity><dim></intensity>
- <dim> <dim>at g (</intensity><dim>cause.test.js<dim>:13:5)</intensity><dim></intensity>
- <dim> <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
+ <dim>
+ <dim>at g (</intensity><dim>cause.test.js<dim>:8:11)</intensity><dim>
+ <dim>at g (</intensity><dim>cause.test.js<dim>:13:5)</intensity><dim>
+ <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
Cause:
boom
- <dim></intensity>
- <dim> <dim>at h (</intensity><dim>cause.test.js<dim>:2:9)</intensity><dim></intensity>
- <dim> <dim>at h (</intensity><dim>cause.test.js<dim>:6:5)</intensity><dim></intensity>
- <dim> <dim>at g (</intensity><dim>cause.test.js<dim>:13:5)</intensity><dim></intensity>
- <dim> <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
+ <dim>
+ <dim>at h (</intensity><dim>cause.test.js<dim>:2:9)</intensity><dim>
+ <dim>at h (</intensity><dim>cause.test.js<dim>:6:5)</intensity><dim>
+ <dim>at g (</intensity><dim>cause.test.js<dim>:13:5)</intensity><dim>
+ <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:340:20)
|
formatStackTrace should properly handle string causes:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `formatStackTrace should properly handle string causes 1`
- Snapshot - 5
+ Received + 5
"<bold><red> <bold>● </intensity><bold>Error with string cause test</color></intensity>
boom
- <dim></intensity>
- <dim> <dim>at f (</intensity><dim>cause.test.js<dim>:15:11)</intensity><dim></intensity>
- <dim> <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
+ <dim>
+ <dim>at f (</intensity><dim>cause.test.js<dim>:15:11)</intensity><dim>
+ <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
Cause:
string cause
- <dim></intensity>
- <dim></intensity>
+ <dim>
+ </intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:369:20)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 1`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 2`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 3`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 4`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
should exclude jasmine from stack trace for Unix paths.:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `should exclude jasmine from stack trace for Unix paths. 1`
- Snapshot - 3
+ Received + 3
"<bold><red> <bold>● </intensity><bold>Unix test</color></intensity>
at stack (../jest-jasmine2/build/jasmine-2.4.1.js:1580:17)
- <dim></intensity>
- <dim> <dim>at Object.addResult (</intensity><dim>../jest-jasmine2/build/jasmine-2.4.1.js<dim>:1550:14)</intensity><dim></intensity>
- <dim> <dim>at Object.it (</intensity><dim>build/__tests__/messages-test.js<dim>:45:41)</intensity><dim></intensity>
+ <dim>
+ <dim>at Object.addResult (</intensity><dim>../jest-jasmine2/build/jasmine-2.4.1.js<dim>:1550:14)</intensity><dim>
+ <dim>at Object.it (</intensity><dim>build/__tests__/messages-test.js<dim>:45:41)</intensity><dim></intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:205:20)
|
formatStackTrace should strip node internals:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `formatStackTrace should strip node internals 1`
- Snapshot - 2
+ Received + 2
@@ -5,8 +5,8 @@
"number"
Received:
""
type:
"string"
- <dim></intensity>
- <dim> <dim>at Object.it (</intensity><dim>__tests__/test.js<dim>:8:14)</intensity><dim></intensity>
+ <dim>
+ <dim>at Object.it (</intensity><dim>__tests__/test.js<dim>:8:14)</intensity><dim></intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:253:20)
|
should not exclude vendor from stack trace:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `should not exclude vendor from stack trace 1`
- Snapshot - 3
+ Received + 3
@@ -5,9 +5,9 @@
"number"
Received:
""
type:
"string"
- <dim></intensity>
- <dim> <dim>at Object.it (</intensity><dim>__tests__/vendor/cool_test.js<dim>:6:666)</intensity><dim></intensity>
- <dim> <dim>at Object.asyncFn (</intensity><dim>__tests__/vendor/sulu/node_modules/sulu-content-bundle/best_component.js<dim>:1:5)</intensity><dim></intensity>
+ <dim>
+ <dim>at Object.it (</intensity><dim>__tests__/vendor/cool_test.js<dim>:6:666)</intensity><dim>
+ <dim>at Object.asyncFn (</intensity><dim>__tests__/vendor/sulu/node_modules/sulu-content-bundle/best_component.js<dim>:1:5)</intensity><dim></intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:282:20)
|
retains message in babel code frame error:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `retains message in babel code frame error 1`
- Snapshot - 8
+ Received + 8
"<bold><red> <bold>● </intensity><bold>Babel test</color></intensity>
packages/react/src/forwardRef.js: Unexpected token, expected , (20:10)
- <dim></intensity>
- <dim> </> <gray> 18 | </color> <cyan>false</color><yellow>,</color></intensity>
- <dim> <gray> 19 | </color> <green>'forwardRef requires a render function but received a `memo` '</color></intensity>
- <dim> <red><bold>></intensity><dim></color><gray> 20 | </color> <green>'component. Instead of forwardRef(memo(...)), use '</color> <yellow>+</color></intensity>
- <dim> <gray> | </color> <red><bold>^</intensity><dim></color></intensity>
- <dim> <gray> 21 | </color> <green>'memo(forwardRef(...)).'</color><yellow>,</color></intensity>
- <dim> <gray> 22 | </color> )<yellow>;</color></intensity>
- <dim> <gray> 23 | </color> } <cyan>else</color> <cyan>if</color> (<cyan>typeof</color> render <yellow>!==</color> <green>'function'</color>) {</></intensity>
+ <dim>
+ </> <gray> 18 | </color> <cyan>false</color><yellow>,</color>
+ <gray> 19 | </color> <green>'forwardRef requires a render function but received a `memo` '</color>
+ <red><bold>></intensity><dim></color><gray> 20 | </color> <green>'component. Instead of forwardRef(memo(...)), use '</color> <yellow>+</color>
+ <gray> | </color> <red><bold>^</intensity><dim></color>
+ <gray> 21 | </color> <green>'memo(forwardRef(...)).'</color><yellow>,</color>
+ <gray> 22 | </color> )<yellow>;</color>
+ <gray> 23 | </color> } <cyan>else</color> <cyan>if</color> (<cyan>typeof</color> render <yellow>!==</color> <green>'function'</color>) {</></intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:311:20)
|
formatStackTrace should properly handle deeply nested causes:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `formatStackTrace should properly handle deeply nested causes 1`
- Snapshot - 12
+ Received + 12
"<bold><red> <bold>● </intensity><bold>Error with cause test</color></intensity>
intercepted by f
- <dim></intensity>
- <dim> <dim>at f (</intensity><dim>cause.test.js<dim>:15:11)</intensity><dim></intensity>
- <dim> <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
+ <dim>
+ <dim>at f (</intensity><dim>cause.test.js<dim>:15:11)</intensity><dim>
+ <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
Cause:
intercepted by g
- <dim></intensity>
- <dim> <dim>at g (</intensity><dim>cause.test.js<dim>:8:11)</intensity><dim></intensity>
- <dim> <dim>at g (</intensity><dim>cause.test.js<dim>:13:5)</intensity><dim></intensity>
- <dim> <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
+ <dim>
+ <dim>at g (</intensity><dim>cause.test.js<dim>:8:11)</intensity><dim>
+ <dim>at g (</intensity><dim>cause.test.js<dim>:13:5)</intensity><dim>
+ <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
Cause:
boom
- <dim></intensity>
- <dim> <dim>at h (</intensity><dim>cause.test.js<dim>:2:9)</intensity><dim></intensity>
- <dim> <dim>at h (</intensity><dim>cause.test.js<dim>:6:5)</intensity><dim></intensity>
- <dim> <dim>at g (</intensity><dim>cause.test.js<dim>:13:5)</intensity><dim></intensity>
- <dim> <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
+ <dim>
+ <dim>at h (</intensity><dim>cause.test.js<dim>:2:9)</intensity><dim>
+ <dim>at h (</intensity><dim>cause.test.js<dim>:6:5)</intensity><dim>
+ <dim>at g (</intensity><dim>cause.test.js<dim>:13:5)</intensity><dim>
+ <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:340:20)
|
formatStackTrace should properly handle string causes:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `formatStackTrace should properly handle string causes 1`
- Snapshot - 5
+ Received + 5
"<bold><red> <bold>● </intensity><bold>Error with string cause test</color></intensity>
boom
- <dim></intensity>
- <dim> <dim>at f (</intensity><dim>cause.test.js<dim>:15:11)</intensity><dim></intensity>
- <dim> <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
+ <dim>
+ <dim>at f (</intensity><dim>cause.test.js<dim>:15:11)</intensity><dim>
+ <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
Cause:
string cause
- <dim></intensity>
- <dim></intensity>
+ <dim>
+ </intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:369:20)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 1`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 2`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 3`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 4`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
rootDir › throws if the options is missing a rootDir property:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `rootDir throws if the options is missing a rootDir property 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Configuration option <bold>rootDir</intensity> must be specified.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Configuration option <bold>rootDir</intensity> must be specified.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
reporters › throws an error if value is neither string nor array:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if value is neither string nor array 1`
- Snapshot - 10
+ Received + 10
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Reporter at index 0 must be of type:</color>
- <red> <bold><green>array or string</color><red></intensity></color>
- <red> but instead received:</color>
- <red> <bold><red>number</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Reporter at index 0 must be of type:
+ <bold><green>array or string<red></intensity>
+ but instead received:
+ <bold><red>number<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
reporters › throws an error if first value in the tuple is not a string:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if first value in the tuple is not a string 1`
- Snapshot - 15
+ Received + 15
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Unexpected value for Path at index 0 of reporter at index 0</color>
- <red> Expected:</color>
- <red> <bold><red>string</color><red></intensity></color>
- <red> Got:</color>
- <red> <bold><green>number</color><red></intensity></color>
- <red> Reporter configuration:</color>
- <red> <bold><green>[</color><red></intensity></color>
- <red><bold><green> 123</color><red></intensity></color>
- <red><bold><green> ]</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Unexpected value for Path at index 0 of reporter at index 0
+ Expected:
+ <bold><red>string<red></intensity>
+ Got:
+ <bold><green>number<red></intensity>
+ Reporter configuration:
+ <bold><green>[
+ 123
+ ]<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
reporters › throws an error if second value is missing in the tuple:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if second value is missing in the tuple 1`
- Snapshot - 15
+ Received + 15
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Unexpected value for Reporter Configuration at index 1 of reporter at index 0</color>
- <red> Expected:</color>
- <red> <bold><red>object</color><red></intensity></color>
- <red> Got:</color>
- <red> <bold><green>undefined</color><red></intensity></color>
- <red> Reporter configuration:</color>
- <red> <bold><green>[</color><red></intensity></color>
- <red><bold><green> "some-reporter"</color><red></intensity></color>
- <red><bold><green> ]</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Unexpected value for Reporter Configuration at index 1 of reporter at index 0
+ Expected:
+ <bold><red>object<red></intensity>
+ Got:
+ <bold><green>undefined<red></intensity>
+ Reporter configuration:
+ <bold><green>[
+ "some-reporter"
+ ]<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
reporters › throws an error if second value in the tuple is not an object:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if second value in the tuple is not an object 1`
- Snapshot - 16
+ Received + 16
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Unexpected value for Reporter Configuration at index 1 of reporter at index 0</color>
- <red> Expected:</color>
- <red> <bold><red>object</color><red></intensity></color>
- <red> Got:</color>
- <red> <bold><green>boolean</color><red></intensity></color>
- <red> Reporter configuration:</color>
- <red> <bold><green>[</color><red></intensity></color>
- <red><bold><green> "some-reporter",</color><red></intensity></color>
- <red><bold><green> true</color><red></intensity></color>
- <red><bold><green> ]</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Unexpected value for Reporter Configuration at index 1 of reporter at index 0
+ Expected:
+ <bold><red>object<red></intensity>
+ Got:
+ <bold><green>boolean<red></intensity>
+ Reporter configuration:
+ <bold><green>[
+ "some-reporter",
+ true
+ ]<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
testEnvironment › throws on invalid environment names:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `testEnvironment throws on invalid environment names 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Test environment <bold>phantom</intensity> cannot be found. Make sure the <bold>testEnvironment</intensity> configuration option points to an existing node module.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Test environment <bold>phantom</intensity> cannot be found. Make sure the <bold>testEnvironment</intensity> configuration option points to an existing node module.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
testMatch › throws if testRegex and testMatch are both specified:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `testMatch throws if testRegex and testMatch are both specified 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Configuration options <bold>testMatch</intensity> and <bold>testRegex</intensity> cannot be used together.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Configuration options <bold>testMatch</intensity> and <bold>testRegex</intensity> cannot be used together.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
preset › throws when preset not found:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `preset throws when preset not found 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Preset <bold>doesnt-exist</intensity> not found relative to rootDir <bold>/root/path/foo</intensity>.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Preset <bold>doesnt-exist</intensity> not found relative to rootDir <bold>/root/path/foo</intensity>.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
preset › throws when module was found but no "jest-preset.js" or "jest-preset.json" files:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `preset throws when module was found but no "jest-preset.js" or "jest-preset.json" files 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Module <bold>exist-but-no-jest-preset</intensity> should have "jest-preset.js" or "jest-preset.json" file at the root.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Module <bold>exist-but-no-jest-preset</intensity> should have "jest-preset.js" or "jest-preset.json" file at the root.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
runner › throw error when a runner is not found:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `runner throw error when a runner is not found 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Jest Runner <bold>missing-runner</intensity> cannot be found. Make sure the <bold>runner</intensity> configuration option points to an existing node module.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Jest Runner <bold>missing-runner</intensity> cannot be found. Make sure the <bold>runner</intensity> configuration option points to an existing node module.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
should exclude jasmine from stack trace for Unix paths.:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `should exclude jasmine from stack trace for Unix paths. 1`
- Snapshot - 3
+ Received + 3
"<bold><red> <bold>● </intensity><bold>Unix test</color></intensity>
at stack (../jest-jasmine2/build/jasmine-2.4.1.js:1580:17)
- <dim></intensity>
- <dim> <dim>at Object.addResult (</intensity><dim>../jest-jasmine2/build/jasmine-2.4.1.js<dim>:1550:14)</intensity><dim></intensity>
- <dim> <dim>at Object.it (</intensity><dim>build/__tests__/messages-test.js<dim>:45:41)</intensity><dim></intensity>
+ <dim>
+ <dim>at Object.addResult (</intensity><dim>../jest-jasmine2/build/jasmine-2.4.1.js<dim>:1550:14)</intensity><dim>
+ <dim>at Object.it (</intensity><dim>build/__tests__/messages-test.js<dim>:45:41)</intensity><dim></intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:205:20)
|
formatStackTrace should strip node internals:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `formatStackTrace should strip node internals 1`
- Snapshot - 2
+ Received + 2
@@ -5,8 +5,8 @@
"number"
Received:
""
type:
"string"
- <dim></intensity>
- <dim> <dim>at Object.it (</intensity><dim>__tests__/test.js<dim>:8:14)</intensity><dim></intensity>
+ <dim>
+ <dim>at Object.it (</intensity><dim>__tests__/test.js<dim>:8:14)</intensity><dim></intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:253:20)
|
should not exclude vendor from stack trace:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `should not exclude vendor from stack trace 1`
- Snapshot - 3
+ Received + 3
@@ -5,9 +5,9 @@
"number"
Received:
""
type:
"string"
- <dim></intensity>
- <dim> <dim>at Object.it (</intensity><dim>__tests__/vendor/cool_test.js<dim>:6:666)</intensity><dim></intensity>
- <dim> <dim>at Object.asyncFn (</intensity><dim>__tests__/vendor/sulu/node_modules/sulu-content-bundle/best_component.js<dim>:1:5)</intensity><dim></intensity>
+ <dim>
+ <dim>at Object.it (</intensity><dim>__tests__/vendor/cool_test.js<dim>:6:666)</intensity><dim>
+ <dim>at Object.asyncFn (</intensity><dim>__tests__/vendor/sulu/node_modules/sulu-content-bundle/best_component.js<dim>:1:5)</intensity><dim></intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:282:20)
|
retains message in babel code frame error:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `retains message in babel code frame error 1`
- Snapshot - 8
+ Received + 8
"<bold><red> <bold>● </intensity><bold>Babel test</color></intensity>
packages/react/src/forwardRef.js: Unexpected token, expected , (20:10)
- <dim></intensity>
- <dim> </> <gray> 18 | </color> <cyan>false</color><yellow>,</color></intensity>
- <dim> <gray> 19 | </color> <green>'forwardRef requires a render function but received a `memo` '</color></intensity>
- <dim> <red><bold>></intensity><dim></color><gray> 20 | </color> <green>'component. Instead of forwardRef(memo(...)), use '</color> <yellow>+</color></intensity>
- <dim> <gray> | </color> <red><bold>^</intensity><dim></color></intensity>
- <dim> <gray> 21 | </color> <green>'memo(forwardRef(...)).'</color><yellow>,</color></intensity>
- <dim> <gray> 22 | </color> )<yellow>;</color></intensity>
- <dim> <gray> 23 | </color> } <cyan>else</color> <cyan>if</color> (<cyan>typeof</color> render <yellow>!==</color> <green>'function'</color>) {</></intensity>
+ <dim>
+ </> <gray> 18 | </color> <cyan>false</color><yellow>,</color>
+ <gray> 19 | </color> <green>'forwardRef requires a render function but received a `memo` '</color>
+ <red><bold>></intensity><dim></color><gray> 20 | </color> <green>'component. Instead of forwardRef(memo(...)), use '</color> <yellow>+</color>
+ <gray> | </color> <red><bold>^</intensity><dim></color>
+ <gray> 21 | </color> <green>'memo(forwardRef(...)).'</color><yellow>,</color>
+ <gray> 22 | </color> )<yellow>;</color>
+ <gray> 23 | </color> } <cyan>else</color> <cyan>if</color> (<cyan>typeof</color> render <yellow>!==</color> <green>'function'</color>) {</></intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:311:20)
|
formatStackTrace should properly handle deeply nested causes:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `formatStackTrace should properly handle deeply nested causes 1`
- Snapshot - 12
+ Received + 12
"<bold><red> <bold>● </intensity><bold>Error with cause test</color></intensity>
intercepted by f
- <dim></intensity>
- <dim> <dim>at f (</intensity><dim>cause.test.js<dim>:15:11)</intensity><dim></intensity>
- <dim> <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
+ <dim>
+ <dim>at f (</intensity><dim>cause.test.js<dim>:15:11)</intensity><dim>
+ <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
Cause:
intercepted by g
- <dim></intensity>
- <dim> <dim>at g (</intensity><dim>cause.test.js<dim>:8:11)</intensity><dim></intensity>
- <dim> <dim>at g (</intensity><dim>cause.test.js<dim>:13:5)</intensity><dim></intensity>
- <dim> <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
+ <dim>
+ <dim>at g (</intensity><dim>cause.test.js<dim>:8:11)</intensity><dim>
+ <dim>at g (</intensity><dim>cause.test.js<dim>:13:5)</intensity><dim>
+ <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
Cause:
boom
- <dim></intensity>
- <dim> <dim>at h (</intensity><dim>cause.test.js<dim>:2:9)</intensity><dim></intensity>
- <dim> <dim>at h (</intensity><dim>cause.test.js<dim>:6:5)</intensity><dim></intensity>
- <dim> <dim>at g (</intensity><dim>cause.test.js<dim>:13:5)</intensity><dim></intensity>
- <dim> <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
+ <dim>
+ <dim>at h (</intensity><dim>cause.test.js<dim>:2:9)</intensity><dim>
+ <dim>at h (</intensity><dim>cause.test.js<dim>:6:5)</intensity><dim>
+ <dim>at g (</intensity><dim>cause.test.js<dim>:13:5)</intensity><dim>
+ <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:340:20)
|
formatStackTrace should properly handle string causes:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `formatStackTrace should properly handle string causes 1`
- Snapshot - 5
+ Received + 5
"<bold><red> <bold>● </intensity><bold>Error with string cause test</color></intensity>
boom
- <dim></intensity>
- <dim> <dim>at f (</intensity><dim>cause.test.js<dim>:15:11)</intensity><dim></intensity>
- <dim> <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
+ <dim>
+ <dim>at f (</intensity><dim>cause.test.js<dim>:15:11)</intensity><dim>
+ <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
Cause:
string cause
- <dim></intensity>
- <dim></intensity>
+ <dim>
+ </intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:369:20)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 1`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 2`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 3`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 4`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
rootDir › throws if the options is missing a rootDir property:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `rootDir throws if the options is missing a rootDir property 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Configuration option <bold>rootDir</intensity> must be specified.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Configuration option <bold>rootDir</intensity> must be specified.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
reporters › throws an error if value is neither string nor array:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if value is neither string nor array 1`
- Snapshot - 10
+ Received + 10
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Reporter at index 0 must be of type:</color>
- <red> <bold><green>array or string</color><red></intensity></color>
- <red> but instead received:</color>
- <red> <bold><red>number</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Reporter at index 0 must be of type:
+ <bold><green>array or string<red></intensity>
+ but instead received:
+ <bold><red>number<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
reporters › throws an error if first value in the tuple is not a string:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if first value in the tuple is not a string 1`
- Snapshot - 15
+ Received + 15
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Unexpected value for Path at index 0 of reporter at index 0</color>
- <red> Expected:</color>
- <red> <bold><red>string</color><red></intensity></color>
- <red> Got:</color>
- <red> <bold><green>number</color><red></intensity></color>
- <red> Reporter configuration:</color>
- <red> <bold><green>[</color><red></intensity></color>
- <red><bold><green> 123</color><red></intensity></color>
- <red><bold><green> ]</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Unexpected value for Path at index 0 of reporter at index 0
+ Expected:
+ <bold><red>string<red></intensity>
+ Got:
+ <bold><green>number<red></intensity>
+ Reporter configuration:
+ <bold><green>[
+ 123
+ ]<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
reporters › throws an error if second value is missing in the tuple:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if second value is missing in the tuple 1`
- Snapshot - 15
+ Received + 15
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Unexpected value for Reporter Configuration at index 1 of reporter at index 0</color>
- <red> Expected:</color>
- <red> <bold><red>object</color><red></intensity></color>
- <red> Got:</color>
- <red> <bold><green>undefined</color><red></intensity></color>
- <red> Reporter configuration:</color>
- <red> <bold><green>[</color><red></intensity></color>
- <red><bold><green> "some-reporter"</color><red></intensity></color>
- <red><bold><green> ]</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Unexpected value for Reporter Configuration at index 1 of reporter at index 0
+ Expected:
+ <bold><red>object<red></intensity>
+ Got:
+ <bold><green>undefined<red></intensity>
+ Reporter configuration:
+ <bold><green>[
+ "some-reporter"
+ ]<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
reporters › throws an error if second value in the tuple is not an object:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if second value in the tuple is not an object 1`
- Snapshot - 16
+ Received + 16
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Unexpected value for Reporter Configuration at index 1 of reporter at index 0</color>
- <red> Expected:</color>
- <red> <bold><red>object</color><red></intensity></color>
- <red> Got:</color>
- <red> <bold><green>boolean</color><red></intensity></color>
- <red> Reporter configuration:</color>
- <red> <bold><green>[</color><red></intensity></color>
- <red><bold><green> "some-reporter",</color><red></intensity></color>
- <red><bold><green> true</color><red></intensity></color>
- <red><bold><green> ]</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Unexpected value for Reporter Configuration at index 1 of reporter at index 0
+ Expected:
+ <bold><red>object<red></intensity>
+ Got:
+ <bold><green>boolean<red></intensity>
+ Reporter configuration:
+ <bold><green>[
+ "some-reporter",
+ true
+ ]<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
testEnvironment › throws on invalid environment names:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `testEnvironment throws on invalid environment names 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Test environment <bold>phantom</intensity> cannot be found. Make sure the <bold>testEnvironment</intensity> configuration option points to an existing node module.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Test environment <bold>phantom</intensity> cannot be found. Make sure the <bold>testEnvironment</intensity> configuration option points to an existing node module.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
testMatch › throws if testRegex and testMatch are both specified:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `testMatch throws if testRegex and testMatch are both specified 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Configuration options <bold>testMatch</intensity> and <bold>testRegex</intensity> cannot be used together.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Configuration options <bold>testMatch</intensity> and <bold>testRegex</intensity> cannot be used together.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
should exclude jasmine from stack trace for Unix paths.:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `should exclude jasmine from stack trace for Unix paths. 1`
- Snapshot - 3
+ Received + 3
"<bold><red> <bold>● </intensity><bold>Unix test</color></intensity>
at stack (../jest-jasmine2/build/jasmine-2.4.1.js:1580:17)
- <dim></intensity>
- <dim> <dim>at Object.addResult (</intensity><dim>../jest-jasmine2/build/jasmine-2.4.1.js<dim>:1550:14)</intensity><dim></intensity>
- <dim> <dim>at Object.it (</intensity><dim>build/__tests__/messages-test.js<dim>:45:41)</intensity><dim></intensity>
+ <dim>
+ <dim>at Object.addResult (</intensity><dim>../jest-jasmine2/build/jasmine-2.4.1.js<dim>:1550:14)</intensity><dim>
+ <dim>at Object.it (</intensity><dim>build/__tests__/messages-test.js<dim>:45:41)</intensity><dim></intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:205:20)
|
preset › throws when preset not found:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `preset throws when preset not found 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Preset <bold>doesnt-exist</intensity> not found relative to rootDir <bold>/root/path/foo</intensity>.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Preset <bold>doesnt-exist</intensity> not found relative to rootDir <bold>/root/path/foo</intensity>.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
formatStackTrace should strip node internals:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `formatStackTrace should strip node internals 1`
- Snapshot - 2
+ Received + 2
@@ -5,8 +5,8 @@
"number"
Received:
""
type:
"string"
- <dim></intensity>
- <dim> <dim>at Object.it (</intensity><dim>__tests__/test.js<dim>:8:14)</intensity><dim></intensity>
+ <dim>
+ <dim>at Object.it (</intensity><dim>__tests__/test.js<dim>:8:14)</intensity><dim></intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:253:20)
|
preset › throws when module was found but no "jest-preset.js" or "jest-preset.json" files:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `preset throws when module was found but no "jest-preset.js" or "jest-preset.json" files 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Module <bold>exist-but-no-jest-preset</intensity> should have "jest-preset.js" or "jest-preset.json" file at the root.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Module <bold>exist-but-no-jest-preset</intensity> should have "jest-preset.js" or "jest-preset.json" file at the root.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
should not exclude vendor from stack trace:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `should not exclude vendor from stack trace 1`
- Snapshot - 3
+ Received + 3
@@ -5,9 +5,9 @@
"number"
Received:
""
type:
"string"
- <dim></intensity>
- <dim> <dim>at Object.it (</intensity><dim>__tests__/vendor/cool_test.js<dim>:6:666)</intensity><dim></intensity>
- <dim> <dim>at Object.asyncFn (</intensity><dim>__tests__/vendor/sulu/node_modules/sulu-content-bundle/best_component.js<dim>:1:5)</intensity><dim></intensity>
+ <dim>
+ <dim>at Object.it (</intensity><dim>__tests__/vendor/cool_test.js<dim>:6:666)</intensity><dim>
+ <dim>at Object.asyncFn (</intensity><dim>__tests__/vendor/sulu/node_modules/sulu-content-bundle/best_component.js<dim>:1:5)</intensity><dim></intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:282:20)
|
runner › throw error when a runner is not found:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `runner throw error when a runner is not found 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Jest Runner <bold>missing-runner</intensity> cannot be found. Make sure the <bold>runner</intensity> configuration option points to an existing node module.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Jest Runner <bold>missing-runner</intensity> cannot be found. Make sure the <bold>runner</intensity> configuration option points to an existing node module.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
retains message in babel code frame error:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `retains message in babel code frame error 1`
- Snapshot - 8
+ Received + 8
"<bold><red> <bold>● </intensity><bold>Babel test</color></intensity>
packages/react/src/forwardRef.js: Unexpected token, expected , (20:10)
- <dim></intensity>
- <dim> </> <gray> 18 | </color> <cyan>false</color><yellow>,</color></intensity>
- <dim> <gray> 19 | </color> <green>'forwardRef requires a render function but received a `memo` '</color></intensity>
- <dim> <red><bold>></intensity><dim></color><gray> 20 | </color> <green>'component. Instead of forwardRef(memo(...)), use '</color> <yellow>+</color></intensity>
- <dim> <gray> | </color> <red><bold>^</intensity><dim></color></intensity>
- <dim> <gray> 21 | </color> <green>'memo(forwardRef(...)).'</color><yellow>,</color></intensity>
- <dim> <gray> 22 | </color> )<yellow>;</color></intensity>
- <dim> <gray> 23 | </color> } <cyan>else</color> <cyan>if</color> (<cyan>typeof</color> render <yellow>!==</color> <green>'function'</color>) {</></intensity>
+ <dim>
+ </> <gray> 18 | </color> <cyan>false</color><yellow>,</color>
+ <gray> 19 | </color> <green>'forwardRef requires a render function but received a `memo` '</color>
+ <red><bold>></intensity><dim></color><gray> 20 | </color> <green>'component. Instead of forwardRef(memo(...)), use '</color> <yellow>+</color>
+ <gray> | </color> <red><bold>^</intensity><dim></color>
+ <gray> 21 | </color> <green>'memo(forwardRef(...)).'</color><yellow>,</color>
+ <gray> 22 | </color> )<yellow>;</color>
+ <gray> 23 | </color> } <cyan>else</color> <cyan>if</color> (<cyan>typeof</color> render <yellow>!==</color> <green>'function'</color>) {</></intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:311:20)
|
formatStackTrace should properly handle deeply nested causes:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `formatStackTrace should properly handle deeply nested causes 1`
- Snapshot - 12
+ Received + 12
"<bold><red> <bold>● </intensity><bold>Error with cause test</color></intensity>
intercepted by f
- <dim></intensity>
- <dim> <dim>at f (</intensity><dim>cause.test.js<dim>:15:11)</intensity><dim></intensity>
- <dim> <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
+ <dim>
+ <dim>at f (</intensity><dim>cause.test.js<dim>:15:11)</intensity><dim>
+ <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
Cause:
intercepted by g
- <dim></intensity>
- <dim> <dim>at g (</intensity><dim>cause.test.js<dim>:8:11)</intensity><dim></intensity>
- <dim> <dim>at g (</intensity><dim>cause.test.js<dim>:13:5)</intensity><dim></intensity>
- <dim> <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
+ <dim>
+ <dim>at g (</intensity><dim>cause.test.js<dim>:8:11)</intensity><dim>
+ <dim>at g (</intensity><dim>cause.test.js<dim>:13:5)</intensity><dim>
+ <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
Cause:
boom
- <dim></intensity>
- <dim> <dim>at h (</intensity><dim>cause.test.js<dim>:2:9)</intensity><dim></intensity>
- <dim> <dim>at h (</intensity><dim>cause.test.js<dim>:6:5)</intensity><dim></intensity>
- <dim> <dim>at g (</intensity><dim>cause.test.js<dim>:13:5)</intensity><dim></intensity>
- <dim> <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
+ <dim>
+ <dim>at h (</intensity><dim>cause.test.js<dim>:2:9)</intensity><dim>
+ <dim>at h (</intensity><dim>cause.test.js<dim>:6:5)</intensity><dim>
+ <dim>at g (</intensity><dim>cause.test.js<dim>:13:5)</intensity><dim>
+ <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:340:20)
|
formatStackTrace should properly handle string causes:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `formatStackTrace should properly handle string causes 1`
- Snapshot - 5
+ Received + 5
"<bold><red> <bold>● </intensity><bold>Error with string cause test</color></intensity>
boom
- <dim></intensity>
- <dim> <dim>at f (</intensity><dim>cause.test.js<dim>:15:11)</intensity><dim></intensity>
- <dim> <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
+ <dim>
+ <dim>at f (</intensity><dim>cause.test.js<dim>:15:11)</intensity><dim>
+ <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
Cause:
string cause
- <dim></intensity>
- <dim></intensity>
+ <dim>
+ </intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:369:20)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 1`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 2`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 3`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 4`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
rootDir › throws if the options is missing a rootDir property:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `rootDir throws if the options is missing a rootDir property 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Configuration option <bold>rootDir</intensity> must be specified.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Configuration option <bold>rootDir</intensity> must be specified.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
reporters › throws an error if value is neither string nor array:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if value is neither string nor array 1`
- Snapshot - 10
+ Received + 10
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Reporter at index 0 must be of type:</color>
- <red> <bold><green>array or string</color><red></intensity></color>
- <red> but instead received:</color>
- <red> <bold><red>number</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Reporter at index 0 must be of type:
+ <bold><green>array or string<red></intensity>
+ but instead received:
+ <bold><red>number<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
reporters › throws an error if first value in the tuple is not a string:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if first value in the tuple is not a string 1`
- Snapshot - 15
+ Received + 15
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Unexpected value for Path at index 0 of reporter at index 0</color>
- <red> Expected:</color>
- <red> <bold><red>string</color><red></intensity></color>
- <red> Got:</color>
- <red> <bold><green>number</color><red></intensity></color>
- <red> Reporter configuration:</color>
- <red> <bold><green>[</color><red></intensity></color>
- <red><bold><green> 123</color><red></intensity></color>
- <red><bold><green> ]</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Unexpected value for Path at index 0 of reporter at index 0
+ Expected:
+ <bold><red>string<red></intensity>
+ Got:
+ <bold><green>number<red></intensity>
+ Reporter configuration:
+ <bold><green>[
+ 123
+ ]<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
reporters › throws an error if second value is missing in the tuple:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if second value is missing in the tuple 1`
- Snapshot - 15
+ Received + 15
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Unexpected value for Reporter Configuration at index 1 of reporter at index 0</color>
- <red> Expected:</color>
- <red> <bold><red>object</color><red></intensity></color>
- <red> Got:</color>
- <red> <bold><green>undefined</color><red></intensity></color>
- <red> Reporter configuration:</color>
- <red> <bold><green>[</color><red></intensity></color>
- <red><bold><green> "some-reporter"</color><red></intensity></color>
- <red><bold><green> ]</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Unexpected value for Reporter Configuration at index 1 of reporter at index 0
+ Expected:
+ <bold><red>object<red></intensity>
+ Got:
+ <bold><green>undefined<red></intensity>
+ Reporter configuration:
+ <bold><green>[
+ "some-reporter"
+ ]<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
reporters › throws an error if second value in the tuple is not an object:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if second value in the tuple is not an object 1`
- Snapshot - 16
+ Received + 16
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Unexpected value for Reporter Configuration at index 1 of reporter at index 0</color>
- <red> Expected:</color>
- <red> <bold><red>object</color><red></intensity></color>
- <red> Got:</color>
- <red> <bold><green>boolean</color><red></intensity></color>
- <red> Reporter configuration:</color>
- <red> <bold><green>[</color><red></intensity></color>
- <red><bold><green> "some-reporter",</color><red></intensity></color>
- <red><bold><green> true</color><red></intensity></color>
- <red><bold><green> ]</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Unexpected value for Reporter Configuration at index 1 of reporter at index 0
+ Expected:
+ <bold><red>object<red></intensity>
+ Got:
+ <bold><green>boolean<red></intensity>
+ Reporter configuration:
+ <bold><green>[
+ "some-reporter",
+ true
+ ]<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
testEnvironment › throws on invalid environment names:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `testEnvironment throws on invalid environment names 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Test environment <bold>phantom</intensity> cannot be found. Make sure the <bold>testEnvironment</intensity> configuration option points to an existing node module.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Test environment <bold>phantom</intensity> cannot be found. Make sure the <bold>testEnvironment</intensity> configuration option points to an existing node module.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
testMatch › throws if testRegex and testMatch are both specified:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `testMatch throws if testRegex and testMatch are both specified 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Configuration options <bold>testMatch</intensity> and <bold>testRegex</intensity> cannot be used together.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Configuration options <bold>testMatch</intensity> and <bold>testRegex</intensity> cannot be used together.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
preset › throws when preset not found:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `preset throws when preset not found 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Preset <bold>doesnt-exist</intensity> not found relative to rootDir <bold>/root/path/foo</intensity>.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Preset <bold>doesnt-exist</intensity> not found relative to rootDir <bold>/root/path/foo</intensity>.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
preset › throws when module was found but no "jest-preset.js" or "jest-preset.json" files:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `preset throws when module was found but no "jest-preset.js" or "jest-preset.json" files 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Module <bold>exist-but-no-jest-preset</intensity> should have "jest-preset.js" or "jest-preset.json" file at the root.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Module <bold>exist-but-no-jest-preset</intensity> should have "jest-preset.js" or "jest-preset.json" file at the root.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
runner › throw error when a runner is not found:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `runner throw error when a runner is not found 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Jest Runner <bold>missing-runner</intensity> cannot be found. Make sure the <bold>runner</intensity> configuration option points to an existing node module.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Jest Runner <bold>missing-runner</intensity> cannot be found. Make sure the <bold>runner</intensity> configuration option points to an existing node module.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
rootDir › throws if the options is missing a rootDir property:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `rootDir throws if the options is missing a rootDir property 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Configuration option <bold>rootDir</intensity> must be specified.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Configuration option <bold>rootDir</intensity> must be specified.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
reporters › throws an error if value is neither string nor array:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if value is neither string nor array 1`
- Snapshot - 10
+ Received + 10
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Reporter at index 0 must be of type:</color>
- <red> <bold><green>array or string</color><red></intensity></color>
- <red> but instead received:</color>
- <red> <bold><red>number</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Reporter at index 0 must be of type:
+ <bold><green>array or string<red></intensity>
+ but instead received:
+ <bold><red>number<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
reporters › throws an error if first value in the tuple is not a string:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if first value in the tuple is not a string 1`
- Snapshot - 15
+ Received + 15
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Unexpected value for Path at index 0 of reporter at index 0</color>
- <red> Expected:</color>
- <red> <bold><red>string</color><red></intensity></color>
- <red> Got:</color>
- <red> <bold><green>number</color><red></intensity></color>
- <red> Reporter configuration:</color>
- <red> <bold><green>[</color><red></intensity></color>
- <red><bold><green> 123</color><red></intensity></color>
- <red><bold><green> ]</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Unexpected value for Path at index 0 of reporter at index 0
+ Expected:
+ <bold><red>string<red></intensity>
+ Got:
+ <bold><green>number<red></intensity>
+ Reporter configuration:
+ <bold><green>[
+ 123
+ ]<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
reporters › throws an error if second value is missing in the tuple:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if second value is missing in the tuple 1`
- Snapshot - 15
+ Received + 15
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Unexpected value for Reporter Configuration at index 1 of reporter at index 0</color>
- <red> Expected:</color>
- <red> <bold><red>object</color><red></intensity></color>
- <red> Got:</color>
- <red> <bold><green>undefined</color><red></intensity></color>
- <red> Reporter configuration:</color>
- <red> <bold><green>[</color><red></intensity></color>
- <red><bold><green> "some-reporter"</color><red></intensity></color>
- <red><bold><green> ]</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Unexpected value for Reporter Configuration at index 1 of reporter at index 0
+ Expected:
+ <bold><red>object<red></intensity>
+ Got:
+ <bold><green>undefined<red></intensity>
+ Reporter configuration:
+ <bold><green>[
+ "some-reporter"
+ ]<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
reporters › throws an error if second value in the tuple is not an object:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if second value in the tuple is not an object 1`
- Snapshot - 16
+ Received + 16
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Unexpected value for Reporter Configuration at index 1 of reporter at index 0</color>
- <red> Expected:</color>
- <red> <bold><red>object</color><red></intensity></color>
- <red> Got:</color>
- <red> <bold><green>boolean</color><red></intensity></color>
- <red> Reporter configuration:</color>
- <red> <bold><green>[</color><red></intensity></color>
- <red><bold><green> "some-reporter",</color><red></intensity></color>
- <red><bold><green> true</color><red></intensity></color>
- <red><bold><green> ]</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Unexpected value for Reporter Configuration at index 1 of reporter at index 0
+ Expected:
+ <bold><red>object<red></intensity>
+ Got:
+ <bold><green>boolean<red></intensity>
+ Reporter configuration:
+ <bold><green>[
+ "some-reporter",
+ true
+ ]<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
testEnvironment › throws on invalid environment names:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `testEnvironment throws on invalid environment names 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Test environment <bold>phantom</intensity> cannot be found. Make sure the <bold>testEnvironment</intensity> configuration option points to an existing node module.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Test environment <bold>phantom</intensity> cannot be found. Make sure the <bold>testEnvironment</intensity> configuration option points to an existing node module.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
testMatch › throws if testRegex and testMatch are both specified:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `testMatch throws if testRegex and testMatch are both specified 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Configuration options <bold>testMatch</intensity> and <bold>testRegex</intensity> cannot be used together.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Configuration options <bold>testMatch</intensity> and <bold>testRegex</intensity> cannot be used together.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
preset › throws when preset not found:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `preset throws when preset not found 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Preset <bold>doesnt-exist</intensity> not found relative to rootDir <bold>/root/path/foo</intensity>.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Preset <bold>doesnt-exist</intensity> not found relative to rootDir <bold>/root/path/foo</intensity>.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
preset › throws when module was found but no "jest-preset.js" or "jest-preset.json" files:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `preset throws when module was found but no "jest-preset.js" or "jest-preset.json" files 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Module <bold>exist-but-no-jest-preset</intensity> should have "jest-preset.js" or "jest-preset.json" file at the root.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Module <bold>exist-but-no-jest-preset</intensity> should have "jest-preset.js" or "jest-preset.json" file at the root.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
runner › throw error when a runner is not found:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `runner throw error when a runner is not found 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Jest Runner <bold>missing-runner</intensity> cannot be found. Make sure the <bold>runner</intensity> configuration option points to an existing node module.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Jest Runner <bold>missing-runner</intensity> cannot be found. Make sure the <bold>runner</intensity> configuration option points to an existing node module.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
rootDir › throws if the options is missing a rootDir property:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `rootDir throws if the options is missing a rootDir property 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Configuration option <bold>rootDir</intensity> must be specified.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Configuration option <bold>rootDir</intensity> must be specified.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
reporters › throws an error if value is neither string nor array:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if value is neither string nor array 1`
- Snapshot - 10
+ Received + 10
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Reporter at index 0 must be of type:</color>
- <red> <bold><green>array or string</color><red></intensity></color>
- <red> but instead received:</color>
- <red> <bold><red>number</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Reporter at index 0 must be of type:
+ <bold><green>array or string<red></intensity>
+ but instead received:
+ <bold><red>number<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
reporters › throws an error if first value in the tuple is not a string:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if first value in the tuple is not a string 1`
- Snapshot - 15
+ Received + 15
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Unexpected value for Path at index 0 of reporter at index 0</color>
- <red> Expected:</color>
- <red> <bold><red>string</color><red></intensity></color>
- <red> Got:</color>
- <red> <bold><green>number</color><red></intensity></color>
- <red> Reporter configuration:</color>
- <red> <bold><green>[</color><red></intensity></color>
- <red><bold><green> 123</color><red></intensity></color>
- <red><bold><green> ]</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Unexpected value for Path at index 0 of reporter at index 0
+ Expected:
+ <bold><red>string<red></intensity>
+ Got:
+ <bold><green>number<red></intensity>
+ Reporter configuration:
+ <bold><green>[
+ 123
+ ]<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
reporters › throws an error if second value is missing in the tuple:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if second value is missing in the tuple 1`
- Snapshot - 15
+ Received + 15
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Unexpected value for Reporter Configuration at index 1 of reporter at index 0</color>
- <red> Expected:</color>
- <red> <bold><red>object</color><red></intensity></color>
- <red> Got:</color>
- <red> <bold><green>undefined</color><red></intensity></color>
- <red> Reporter configuration:</color>
- <red> <bold><green>[</color><red></intensity></color>
- <red><bold><green> "some-reporter"</color><red></intensity></color>
- <red><bold><green> ]</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Unexpected value for Reporter Configuration at index 1 of reporter at index 0
+ Expected:
+ <bold><red>object<red></intensity>
+ Got:
+ <bold><green>undefined<red></intensity>
+ Reporter configuration:
+ <bold><green>[
+ "some-reporter"
+ ]<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
reporters › throws an error if second value in the tuple is not an object:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if second value in the tuple is not an object 1`
- Snapshot - 16
+ Received + 16
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Unexpected value for Reporter Configuration at index 1 of reporter at index 0</color>
- <red> Expected:</color>
- <red> <bold><red>object</color><red></intensity></color>
- <red> Got:</color>
- <red> <bold><green>boolean</color><red></intensity></color>
- <red> Reporter configuration:</color>
- <red> <bold><green>[</color><red></intensity></color>
- <red><bold><green> "some-reporter",</color><red></intensity></color>
- <red><bold><green> true</color><red></intensity></color>
- <red><bold><green> ]</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Unexpected value for Reporter Configuration at index 1 of reporter at index 0
+ Expected:
+ <bold><red>object<red></intensity>
+ Got:
+ <bold><green>boolean<red></intensity>
+ Reporter configuration:
+ <bold><green>[
+ "some-reporter",
+ true
+ ]<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
testEnvironment › throws on invalid environment names:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `testEnvironment throws on invalid environment names 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Test environment <bold>phantom</intensity> cannot be found. Make sure the <bold>testEnvironment</intensity> configuration option points to an existing node module.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Test environment <bold>phantom</intensity> cannot be found. Make sure the <bold>testEnvironment</intensity> configuration option points to an existing node module.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
testMatch › throws if testRegex and testMatch are both specified:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `testMatch throws if testRegex and testMatch are both specified 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Configuration options <bold>testMatch</intensity> and <bold>testRegex</intensity> cannot be used together.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Configuration options <bold>testMatch</intensity> and <bold>testRegex</intensity> cannot be used together.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
preset › throws when preset not found:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `preset throws when preset not found 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Preset <bold>doesnt-exist</intensity> not found relative to rootDir <bold>/root/path/foo</intensity>.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Preset <bold>doesnt-exist</intensity> not found relative to rootDir <bold>/root/path/foo</intensity>.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
preset › throws when module was found but no "jest-preset.js" or "jest-preset.json" files:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `preset throws when module was found but no "jest-preset.js" or "jest-preset.json" files 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Module <bold>exist-but-no-jest-preset</intensity> should have "jest-preset.js" or "jest-preset.json" file at the root.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Module <bold>exist-but-no-jest-preset</intensity> should have "jest-preset.js" or "jest-preset.json" file at the root.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
runner › throw error when a runner is not found:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `runner throw error when a runner is not found 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Jest Runner <bold>missing-runner</intensity> cannot be found. Make sure the <bold>runner</intensity> configuration option points to an existing node module.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Jest Runner <bold>missing-runner</intensity> cannot be found. Make sure the <bold>runner</intensity> configuration option points to an existing node module.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
falls back to not call toJSON › if serialization has no differences › but then objects have differences:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `falls back to not call toJSON if serialization has no differences but then objects have differences 1`
- Snapshot - 2
+ Received + 2
@@ -1,7 +1,7 @@
- <d>Compared values serialize to the same structure.</>
- <d>Printing internal object structure without calling `toJSON` instead.</>
+ <d>Compared values serialize to the same structure.
+ Printing internal object structure without calling `toJSON` instead.</>
<g>- Expected - 1</>
<r>+ Received + 1</>
<d> Object {</>
at Object.toMatchSnapshot (packages/jest-diff/src/__tests__/diff.test.ts:136:41)
|
jest-each › .test › throws error when there are additional words in first column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are additional words in first column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a is the left | b | expected</color>
- <red> "</color>"
+ <red>"
+ a is the left | b | expected
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:74:11)
|
jest-each › .test › throws error when there are additional words in second column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are additional words in second column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a | b is the right | expected</color>
- <red> "</color>"
+ <red>"
+ a | b is the right | expected
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:112:11)
|
jest-each › .test › throws error when there are additional words in last column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are additional words in last column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a | b | expected value</color>
- <red> "</color>"
+ <red>"
+ a | b | expected value
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:150:11)
|
jest-each › .test › throws error when there are fewer arguments than headings when given one row:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are fewer arguments than headings when given one row 1`
- Snapshot - 4
+ Received + 4
"Not enough arguments supplied for given headings:
<green>a | b | expected</color>
Received:
- <red>Array [</color>
- <red> 0,</color>
- <red> 1,</color>
- <red>]</color>
+ <red>Array [
+ 0,
+ 1,
+ ]</color>
Missing <red>1</color> argument"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:268:11)
|
jest-each › .test › throws error when there are fewer arguments than headings over multiple rows:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are fewer arguments than headings over multiple rows 1`
- Snapshot - 7
+ Received + 7
"Not enough arguments supplied for given headings:
<green>a | b | expected</color>
Received:
- <red>Array [</color>
- <red> 0,</color>
- <red> 1,</color>
- <red> 1,</color>
- <red> 1,</color>
- <red> 1,</color>
- <red>]</color>
+ <red>Array [
+ 0,
+ 1,
+ 1,
+ 1,
+ 1,
+ ]</color>
Missing <red>1</color> argument"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:287:11)
|
jest-each › .test.concurrent › throws error when there are additional words in first column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test.concurrent throws error when there are additional words in first column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a is the left | b | expected</color>
- <red> "</color>"
+ <red>"
+ a is the left | b | expected
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:74:11)
|
jest-each › .test.concurrent › throws error when there are additional words in second column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test.concurrent throws error when there are additional words in second column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a | b is the right | expected</color>
- <red> "</color>"
+ <red>"
+ a | b is the right | expected
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:112:11)
|
jest-each › .test.concurrent › throws error when there are additional words in last column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test.concurrent throws error when there are additional words in last column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a | b | expected value</color>
- <red> "</color>"
+ <red>"
+ a | b | expected value
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:150:11)
|
jest-each › .test.concurrent › throws error when there are fewer arguments than headings when given one row:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test.concurrent throws error when there are fewer arguments than headings when given one row 1`
- Snapshot - 4
+ Received + 4
"Not enough arguments supplied for given headings:
<green>a | b | expected</color>
Received:
- <red>Array [</color>
- <red> 0,</color>
- <red> 1,</color>
- <red>]</color>
+ <red>Array [
+ 0,
+ 1,
+ ]</color>
Missing <red>1</color> argument"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:268:11)
|
falls back to not call toJSON › if serialization has no differences › but then objects have differences:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `falls back to not call toJSON if serialization has no differences but then objects have differences 1`
- Snapshot - 2
+ Received + 2
@@ -1,7 +1,7 @@
- <d>Compared values serialize to the same structure.</>
- <d>Printing internal object structure without calling `toJSON` instead.</>
+ <d>Compared values serialize to the same structure.
+ Printing internal object structure without calling `toJSON` instead.</>
<g>- Expected - 1</>
<r>+ Received + 1</>
<d> Object {</>
at Object.toMatchSnapshot (packages/jest-diff/src/__tests__/diff.test.ts:136:41)
|
jest-each › .test › throws error when there are additional words in first column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are additional words in first column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a is the left | b | expected</color>
- <red> "</color>"
+ <red>"
+ a is the left | b | expected
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:74:11)
|
jest-each › .test › throws error when there are additional words in second column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are additional words in second column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a | b is the right | expected</color>
- <red> "</color>"
+ <red>"
+ a | b is the right | expected
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:112:11)
|
jest-each › .test › throws error when there are additional words in last column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are additional words in last column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a | b | expected value</color>
- <red> "</color>"
+ <red>"
+ a | b | expected value
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:150:11)
|
jest-each › .test › throws error when there are fewer arguments than headings when given one row:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are fewer arguments than headings when given one row 1`
- Snapshot - 4
+ Received + 4
"Not enough arguments supplied for given headings:
<green>a | b | expected</color>
Received:
- <red>Array [</color>
- <red> 0,</color>
- <red> 1,</color>
- <red>]</color>
+ <red>Array [
+ 0,
+ 1,
+ ]</color>
Missing <red>1</color> argument"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:268:11)
|
jest-each › .test › throws error when there are fewer arguments than headings over multiple rows:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are fewer arguments than headings over multiple rows 1`
- Snapshot - 7
+ Received + 7
"Not enough arguments supplied for given headings:
<green>a | b | expected</color>
Received:
- <red>Array [</color>
- <red> 0,</color>
- <red> 1,</color>
- <red> 1,</color>
- <red> 1,</color>
- <red> 1,</color>
- <red>]</color>
+ <red>Array [
+ 0,
+ 1,
+ 1,
+ 1,
+ 1,
+ ]</color>
Missing <red>1</color> argument"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:287:11)
|
jest-each › .test.concurrent › throws error when there are additional words in first column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test.concurrent throws error when there are additional words in first column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a is the left | b | expected</color>
- <red> "</color>"
+ <red>"
+ a is the left | b | expected
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:74:11)
|
jest-each › .test.concurrent › throws error when there are additional words in second column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test.concurrent throws error when there are additional words in second column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a | b is the right | expected</color>
- <red> "</color>"
+ <red>"
+ a | b is the right | expected
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:112:11)
|
jest-each › .test.concurrent › throws error when there are additional words in last column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test.concurrent throws error when there are additional words in last column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a | b | expected value</color>
- <red> "</color>"
+ <red>"
+ a | b | expected value
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:150:11)
|
jest-each › .test.concurrent › throws error when there are fewer arguments than headings when given one row:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test.concurrent throws error when there are fewer arguments than headings when given one row 1`
- Snapshot - 4
+ Received + 4
"Not enough arguments supplied for given headings:
<green>a | b | expected</color>
Received:
- <red>Array [</color>
- <red> 0,</color>
- <red> 1,</color>
- <red>]</color>
+ <red>Array [
+ 0,
+ 1,
+ ]</color>
Missing <red>1</color> argument"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:268:11)
|
falls back to not call toJSON › if serialization has no differences › but then objects have differences:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `falls back to not call toJSON if serialization has no differences but then objects have differences 1`
- Snapshot - 2
+ Received + 2
@@ -1,7 +1,7 @@
- <d>Compared values serialize to the same structure.</>
- <d>Printing internal object structure without calling `toJSON` instead.</>
+ <d>Compared values serialize to the same structure.
+ Printing internal object structure without calling `toJSON` instead.</>
<g>- Expected - 1</>
<r>+ Received + 1</>
<d> Object {</>
at Object.toMatchSnapshot (packages/jest-diff/src/__tests__/diff.test.ts:136:41)
|
jest-each › .test › throws error when there are additional words in first column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are additional words in first column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a is the left | b | expected</color>
- <red> "</color>"
+ <red>"
+ a is the left | b | expected
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:74:11)
|
jest-each › .test › throws error when there are additional words in second column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are additional words in second column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a | b is the right | expected</color>
- <red> "</color>"
+ <red>"
+ a | b is the right | expected
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:112:11)
|
jest-each › .test › throws error when there are additional words in last column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are additional words in last column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a | b | expected value</color>
- <red> "</color>"
+ <red>"
+ a | b | expected value
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:150:11)
|
jest-each › .test › throws error when there are fewer arguments than headings when given one row:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are fewer arguments than headings when given one row 1`
- Snapshot - 4
+ Received + 4
"Not enough arguments supplied for given headings:
<green>a | b | expected</color>
Received:
- <red>Array [</color>
- <red> 0,</color>
- <red> 1,</color>
- <red>]</color>
+ <red>Array [
+ 0,
+ 1,
+ ]</color>
Missing <red>1</color> argument"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:268:11)
|
jest-each › .test › throws error when there are fewer arguments than headings over multiple rows:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are fewer arguments than headings over multiple rows 1`
- Snapshot - 7
+ Received + 7
"Not enough arguments supplied for given headings:
<green>a | b | expected</color>
Received:
- <red>Array [</color>
- <red> 0,</color>
- <red> 1,</color>
- <red> 1,</color>
- <red> 1,</color>
- <red> 1,</color>
- <red>]</color>
+ <red>Array [
+ 0,
+ 1,
+ 1,
+ 1,
+ 1,
+ ]</color>
Missing <red>1</color> argument"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:287:11)
|
jest-each › .test.concurrent › throws error when there are additional words in first column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test.concurrent throws error when there are additional words in first column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a is the left | b | expected</color>
- <red> "</color>"
+ <red>"
+ a is the left | b | expected
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:74:11)
|
jest-each › .test.concurrent › throws error when there are additional words in second column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test.concurrent throws error when there are additional words in second column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a | b is the right | expected</color>
- <red> "</color>"
+ <red>"
+ a | b is the right | expected
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:112:11)
|
jest-each › .test.concurrent › throws error when there are additional words in last column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test.concurrent throws error when there are additional words in last column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a | b | expected value</color>
- <red> "</color>"
+ <red>"
+ a | b | expected value
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:150:11)
|
jest-each › .test.concurrent › throws error when there are fewer arguments than headings when given one row:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test.concurrent throws error when there are fewer arguments than headings when given one row 1`
- Snapshot - 4
+ Received + 4
"Not enough arguments supplied for given headings:
<green>a | b | expected</color>
Received:
- <red>Array [</color>
- <red> 0,</color>
- <red> 1,</color>
- <red>]</color>
+ <red>Array [
+ 0,
+ 1,
+ ]</color>
Missing <red>1</color> argument"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:268:11)
|
falls back to not call toJSON › if serialization has no differences › but then objects have differences:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `falls back to not call toJSON if serialization has no differences but then objects have differences 1`
- Snapshot - 2
+ Received + 2
@@ -1,7 +1,7 @@
- <d>Compared values serialize to the same structure.</>
- <d>Printing internal object structure without calling `toJSON` instead.</>
+ <d>Compared values serialize to the same structure.
+ Printing internal object structure without calling `toJSON` instead.</>
<g>- Expected - 1</>
<r>+ Received + 1</>
<d> Object {</>
at Object.toMatchSnapshot (packages/jest-diff/src/__tests__/diff.test.ts:136:41)
|
jest-each › .test › throws error when there are additional words in first column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are additional words in first column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a is the left | b | expected</color>
- <red> "</color>"
+ <red>"
+ a is the left | b | expected
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:74:11)
|
jest-each › .test › throws error when there are additional words in second column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are additional words in second column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a | b is the right | expected</color>
- <red> "</color>"
+ <red>"
+ a | b is the right | expected
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:112:11)
|
jest-each › .test › throws error when there are additional words in last column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are additional words in last column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a | b | expected value</color>
- <red> "</color>"
+ <red>"
+ a | b | expected value
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:150:11)
|
jest-each › .test › throws error when there are fewer arguments than headings when given one row:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are fewer arguments than headings when given one row 1`
- Snapshot - 4
+ Received + 4
"Not enough arguments supplied for given headings:
<green>a | b | expected</color>
Received:
- <red>Array [</color>
- <red> 0,</color>
- <red> 1,</color>
- <red>]</color>
+ <red>Array [
+ 0,
+ 1,
+ ]</color>
Missing <red>1</color> argument"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:268:11)
|
jest-each › .test › throws error when there are fewer arguments than headings over multiple rows:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are fewer arguments than headings over multiple rows 1`
- Snapshot - 7
+ Received + 7
"Not enough arguments supplied for given headings:
<green>a | b | expected</color>
Received:
- <red>Array [</color>
- <red> 0,</color>
- <red> 1,</color>
- <red> 1,</color>
- <red> 1,</color>
- <red> 1,</color>
- <red>]</color>
+ <red>Array [
+ 0,
+ 1,
+ 1,
+ 1,
+ 1,
+ ]</color>
Missing <red>1</color> argument"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:287:11)
|
jest-each › .test.concurrent › throws error when there are additional words in first column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test.concurrent throws error when there are additional words in first column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a is the left | b | expected</color>
- <red> "</color>"
+ <red>"
+ a is the left | b | expected
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:74:11)
|
jest-each › .test.concurrent › throws error when there are additional words in second column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test.concurrent throws error when there are additional words in second column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a | b is the right | expected</color>
- <red> "</color>"
+ <red>"
+ a | b is the right | expected
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:112:11)
|
jest-each › .test.concurrent › throws error when there are additional words in last column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test.concurrent throws error when there are additional words in last column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a | b | expected value</color>
- <red> "</color>"
+ <red>"
+ a | b | expected value
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:150:11)
|
jest-each › .test.concurrent › throws error when there are fewer arguments than headings when given one row:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test.concurrent throws error when there are fewer arguments than headings when given one row 1`
- Snapshot - 4
+ Received + 4
"Not enough arguments supplied for given headings:
<green>a | b | expected</color>
Received:
- <red>Array [</color>
- <red> 0,</color>
- <red> 1,</color>
- <red>]</color>
+ <red>Array [
+ 0,
+ 1,
+ ]</color>
Missing <red>1</color> argument"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:268:11)
|
falls back to not call toJSON › if serialization has no differences › but then objects have differences:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `falls back to not call toJSON if serialization has no differences but then objects have differences 1`
- Snapshot - 2
+ Received + 2
@@ -1,7 +1,7 @@
- <d>Compared values serialize to the same structure.</>
- <d>Printing internal object structure without calling `toJSON` instead.</>
+ <d>Compared values serialize to the same structure.
+ Printing internal object structure without calling `toJSON` instead.</>
<g>- Expected - 1</>
<r>+ Received + 1</>
<d> Object {</>
at Object.toMatchSnapshot (packages/jest-diff/src/__tests__/diff.test.ts:136:41)
|
jest-each › .test › throws error when there are additional words in first column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are additional words in first column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a is the left | b | expected</color>
- <red> "</color>"
+ <red>"
+ a is the left | b | expected
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:74:11)
|
jest-each › .test › throws error when there are additional words in second column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are additional words in second column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a | b is the right | expected</color>
- <red> "</color>"
+ <red>"
+ a | b is the right | expected
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:112:11)
|
jest-each › .test › throws error when there are additional words in last column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are additional words in last column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a | b | expected value</color>
- <red> "</color>"
+ <red>"
+ a | b | expected value
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:150:11)
|
jest-each › .test › throws error when there are fewer arguments than headings when given one row:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are fewer arguments than headings when given one row 1`
- Snapshot - 4
+ Received + 4
"Not enough arguments supplied for given headings:
<green>a | b | expected</color>
Received:
- <red>Array [</color>
- <red> 0,</color>
- <red> 1,</color>
- <red>]</color>
+ <red>Array [
+ 0,
+ 1,
+ ]</color>
Missing <red>1</color> argument"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:268:11)
|
jest-each › .test › throws error when there are fewer arguments than headings over multiple rows:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are fewer arguments than headings over multiple rows 1`
- Snapshot - 7
+ Received + 7
"Not enough arguments supplied for given headings:
<green>a | b | expected</color>
Received:
- <red>Array [</color>
- <red> 0,</color>
- <red> 1,</color>
- <red> 1,</color>
- <red> 1,</color>
- <red> 1,</color>
- <red>]</color>
+ <red>Array [
+ 0,
+ 1,
+ 1,
+ 1,
+ 1,
+ ]</color>
Missing <red>1</color> argument"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:287:11)
|
jest-each › .test.concurrent › throws error when there are additional words in first column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test.concurrent throws error when there are additional words in first column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a is the left | b | expected</color>
- <red> "</color>"
+ <red>"
+ a is the left | b | expected
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:74:11)
|
jest-each › .test.concurrent › throws error when there are additional words in second column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test.concurrent throws error when there are additional words in second column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a | b is the right | expected</color>
- <red> "</color>"
+ <red>"
+ a | b is the right | expected
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:112:11)
|
jest-each › .test.concurrent › throws error when there are additional words in last column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test.concurrent throws error when there are additional words in last column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a | b | expected value</color>
- <red> "</color>"
+ <red>"
+ a | b | expected value
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:150:11)
|
jest-each › .test.concurrent › throws error when there are fewer arguments than headings when given one row:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test.concurrent throws error when there are fewer arguments than headings when given one row 1`
- Snapshot - 4
+ Received + 4
"Not enough arguments supplied for given headings:
<green>a | b | expected</color>
Received:
- <red>Array [</color>
- <red> 0,</color>
- <red> 1,</color>
- <red>]</color>
+ <red>Array [
+ 0,
+ 1,
+ ]</color>
Missing <red>1</color> argument"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:268:11)
|
falls back to not call toJSON › if serialization has no differences › but then objects have differences:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `falls back to not call toJSON if serialization has no differences but then objects have differences 1`
- Snapshot - 2
+ Received + 2
@@ -1,7 +1,7 @@
- <d>Compared values serialize to the same structure.</>
- <d>Printing internal object structure without calling `toJSON` instead.</>
+ <d>Compared values serialize to the same structure.
+ Printing internal object structure without calling `toJSON` instead.</>
<g>- Expected - 1</>
<r>+ Received + 1</>
<d> Object {</>
at Object.toMatchSnapshot (packages/jest-diff/src/__tests__/diff.test.ts:136:41)
|
jest-each › .test › throws error when there are additional words in first column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are additional words in first column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a is the left | b | expected</color>
- <red> "</color>"
+ <red>"
+ a is the left | b | expected
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:74:11)
|
jest-each › .test › throws error when there are additional words in second column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are additional words in second column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a | b is the right | expected</color>
- <red> "</color>"
+ <red>"
+ a | b is the right | expected
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:112:11)
|
jest-each › .test › throws error when there are additional words in last column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are additional words in last column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a | b | expected value</color>
- <red> "</color>"
+ <red>"
+ a | b | expected value
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:150:11)
|
jest-each › .test › throws error when there are fewer arguments than headings when given one row:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are fewer arguments than headings when given one row 1`
- Snapshot - 4
+ Received + 4
"Not enough arguments supplied for given headings:
<green>a | b | expected</color>
Received:
- <red>Array [</color>
- <red> 0,</color>
- <red> 1,</color>
- <red>]</color>
+ <red>Array [
+ 0,
+ 1,
+ ]</color>
Missing <red>1</color> argument"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:268:11)
|
jest-each › .test › throws error when there are fewer arguments than headings over multiple rows:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are fewer arguments than headings over multiple rows 1`
- Snapshot - 7
+ Received + 7
"Not enough arguments supplied for given headings:
<green>a | b | expected</color>
Received:
- <red>Array [</color>
- <red> 0,</color>
- <red> 1,</color>
- <red> 1,</color>
- <red> 1,</color>
- <red> 1,</color>
- <red>]</color>
+ <red>Array [
+ 0,
+ 1,
+ 1,
+ 1,
+ 1,
+ ]</color>
Missing <red>1</color> argument"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:287:11)
|
jest-each › .test.concurrent › throws error when there are additional words in first column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test.concurrent throws error when there are additional words in first column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a is the left | b | expected</color>
- <red> "</color>"
+ <red>"
+ a is the left | b | expected
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:74:11)
|
jest-each › .test.concurrent › throws error when there are additional words in second column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test.concurrent throws error when there are additional words in second column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a | b is the right | expected</color>
- <red> "</color>"
+ <red>"
+ a | b is the right | expected
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:112:11)
|
jest-each › .test.concurrent › throws error when there are additional words in last column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test.concurrent throws error when there are additional words in last column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a | b | expected value</color>
- <red> "</color>"
+ <red>"
+ a | b | expected value
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:150:11)
|
jest-each › .test.concurrent › throws error when there are fewer arguments than headings when given one row:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test.concurrent throws error when there are fewer arguments than headings when given one row 1`
- Snapshot - 4
+ Received + 4
"Not enough arguments supplied for given headings:
<green>a | b | expected</color>
Received:
- <red>Array [</color>
- <red> 0,</color>
- <red> 1,</color>
- <red>]</color>
+ <red>Array [
+ 0,
+ 1,
+ ]</color>
Missing <red>1</color> argument"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:268:11)
|
rootDir › throws if the options is missing a rootDir property:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `rootDir throws if the options is missing a rootDir property 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Configuration option <bold>rootDir</intensity> must be specified.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Configuration option <bold>rootDir</intensity> must be specified.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2209:20)
|
reporters › throws an error if value is neither string nor array:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if value is neither string nor array 1`
- Snapshot - 10
+ Received + 10
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Reporter at index 0 must be of type:</color>
- <red> <bold><green>array or string</color><red></intensity></color>
- <red> but instead received:</color>
- <red> <bold><red>number</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Reporter at index 0 must be of type:
+ <bold><green>array or string<red></intensity>
+ but instead received:
+ <bold><red>number<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2209:20)
|
reporters › throws an error if first value in the tuple is not a string:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if first value in the tuple is not a string 1`
- Snapshot - 15
+ Received + 15
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Unexpected value for Path at index 0 of reporter at index 0</color>
- <red> Expected:</color>
- <red> <bold><red>string</color><red></intensity></color>
- <red> Got:</color>
- <red> <bold><green>number</color><red></intensity></color>
- <red> Reporter configuration:</color>
- <red> <bold><green>[</color><red></intensity></color>
- <red><bold><green> 123</color><red></intensity></color>
- <red><bold><green> ]</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Unexpected value for Path at index 0 of reporter at index 0
+ Expected:
+ <bold><red>string<red></intensity>
+ Got:
+ <bold><green>number<red></intensity>
+ Reporter configuration:
+ <bold><green>[
+ 123
+ ]<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2209:20)
|
reporters › throws an error if second value is missing in the tuple:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if second value is missing in the tuple 1`
- Snapshot - 15
+ Received + 15
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Unexpected value for Reporter Configuration at index 1 of reporter at index 0</color>
- <red> Expected:</color>
- <red> <bold><red>object</color><red></intensity></color>
- <red> Got:</color>
- <red> <bold><green>undefined</color><red></intensity></color>
- <red> Reporter configuration:</color>
- <red> <bold><green>[</color><red></intensity></color>
- <red><bold><green> "some-reporter"</color><red></intensity></color>
- <red><bold><green> ]</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Unexpected value for Reporter Configuration at index 1 of reporter at index 0
+ Expected:
+ <bold><red>object<red></intensity>
+ Got:
+ <bold><green>undefined<red></intensity>
+ Reporter configuration:
+ <bold><green>[
+ "some-reporter"
+ ]<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2209:20)
|
reporters › throws an error if second value in the tuple is not an object:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if second value in the tuple is not an object 1`
- Snapshot - 16
+ Received + 16
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Unexpected value for Reporter Configuration at index 1 of reporter at index 0</color>
- <red> Expected:</color>
- <red> <bold><red>object</color><red></intensity></color>
- <red> Got:</color>
- <red> <bold><green>boolean</color><red></intensity></color>
- <red> Reporter configuration:</color>
- <red> <bold><green>[</color><red></intensity></color>
- <red><bold><green> "some-reporter",</color><red></intensity></color>
- <red><bold><green> true</color><red></intensity></color>
- <red><bold><green> ]</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Unexpected value for Reporter Configuration at index 1 of reporter at index 0
+ Expected:
+ <bold><red>object<red></intensity>
+ Got:
+ <bold><green>boolean<red></intensity>
+ Reporter configuration:
+ <bold><green>[
+ "some-reporter",
+ true
+ ]<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2209:20)
|
testEnvironment › throws on invalid environment names:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `testEnvironment throws on invalid environment names 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Test environment <bold>phantom</intensity> cannot be found. Make sure the <bold>testEnvironment</intensity> configuration option points to an existing node module.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Test environment <bold>phantom</intensity> cannot be found. Make sure the <bold>testEnvironment</intensity> configuration option points to an existing node module.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2209:20)
|
testMatch › throws if testRegex and testMatch are both specified:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `testMatch throws if testRegex and testMatch are both specified 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Configuration options <bold>testMatch</intensity> and <bold>testRegex</intensity> cannot be used together.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Configuration options <bold>testMatch</intensity> and <bold>testRegex</intensity> cannot be used together.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2209:20)
|
preset › throws when preset not found:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `preset throws when preset not found 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Preset <bold>doesnt-exist</intensity> not found relative to rootDir <bold>/root/path/foo</intensity>.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Preset <bold>doesnt-exist</intensity> not found relative to rootDir <bold>/root/path/foo</intensity>.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2209:20)
|
preset › throws when module was found but no "jest-preset.js" or "jest-preset.json" files:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `preset throws when module was found but no "jest-preset.js" or "jest-preset.json" files 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Module <bold>exist-but-no-jest-preset</intensity> should have "jest-preset.js" or "jest-preset.json" file at the root.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Module <bold>exist-but-no-jest-preset</intensity> should have "jest-preset.js" or "jest-preset.json" file at the root.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2209:20)
|
runner › throw error when a runner is not found:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `runner throw error when a runner is not found 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Jest Runner <bold>missing-runner</intensity> cannot be found. Make sure the <bold>runner</intensity> configuration option points to an existing node module.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Jest Runner <bold>missing-runner</intensity> cannot be found. Make sure the <bold>runner</intensity> configuration option points to an existing node module.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2209:20)
|
falls back to not call toJSON › if serialization has no differences › but then objects have differences:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `falls back to not call toJSON if serialization has no differences but then objects have differences 1`
- Snapshot - 2
+ Received + 2
@@ -1,7 +1,7 @@
- <d>Compared values serialize to the same structure.</>
- <d>Printing internal object structure without calling `toJSON` instead.</>
+ <d>Compared values serialize to the same structure.
+ Printing internal object structure without calling `toJSON` instead.</>
<g>- Expected - 1</>
<r>+ Received + 1</>
<d> Object {</>
at Object.toMatchSnapshot (packages/jest-diff/src/__tests__/diff.test.ts:136:41)
|
SnapshotInteractiveMode › skip 1 test:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `SnapshotInteractiveMode skip 1 test, then restart 1`
- Snapshot - 1
+ Received + 1
@@ -1,10 +1,10 @@
"<moveCursorUpBy6Rows>
<eraseScreenDown>
<bold>Interactive Snapshot Progress</intensity>
- › <bold><dim>1 snapshot remaining</intensity></intensity>
+ › <bold><dim>1 snapshot remaining</intensity><bold></intensity>
<bold>Watch Usage</intensity>
<dim> › Press </intensity>u<dim> to update failing snapshots for this test.</intensity>
<dim> › Press </intensity>s<dim> to skip the current test.</intensity>
<dim> › Press </intensity>q<dim> to quit Interactive Snapshot Mode.</intensity>
at Object.toMatchSnapshot (packages/jest-core/src/__tests__/SnapshotInteractiveMode.test.js:90:46)
|
SnapshotInteractiveMode › skip 1 test:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `SnapshotInteractiveMode skip 1 test, then restart 2`
- Snapshot - 1
+ Received + 1
"<clearTerminal>
<bold>Interactive Snapshot Result</intensity>
- › <bold><dim>1 snapshot reviewed</intensity></intensity>, <bold><yellow>1 snapshot skipped</color></intensity>
+ › <bold><dim>1 snapshot reviewed</intensity><bold></intensity>, <bold><yellow>1 snapshot skipped</color></intensity>
<bold>Watch Usage</intensity>
<dim> › Press </intensity>r<dim> to restart Interactive Snapshot Mode.</intensity>
<dim> › Press </intensity>q<dim> to quit Interactive Snapshot Mode.</intensity>
"
at Object.toMatchSnapshot (packages/jest-core/src/__tests__/SnapshotInteractiveMode.test.js:95:46)
|
SnapshotInteractiveMode › skip 1 test:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `SnapshotInteractiveMode skip 1 test, then restart 3`
- Snapshot - 1
+ Received + 1
@@ -1,10 +1,10 @@
"<moveCursorUpBy6Rows>
<eraseScreenDown>
<bold>Interactive Snapshot Progress</intensity>
- › <bold><dim>1 snapshot remaining</intensity></intensity>
+ › <bold><dim>1 snapshot remaining</intensity><bold></intensity>
<bold>Watch Usage</intensity>
<dim> › Press </intensity>u<dim> to update failing snapshots for this test.</intensity>
<dim> › Press </intensity>s<dim> to skip the current test.</intensity>
<dim> › Press </intensity>q<dim> to quit Interactive Snapshot Mode.</intensity>
at Object.toMatchSnapshot (packages/jest-core/src/__tests__/SnapshotInteractiveMode.test.js:102:46)
|
SnapshotInteractiveMode › skip 1 test:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `SnapshotInteractiveMode skip 1 test, then quit 1`
- Snapshot - 1
+ Received + 1
@@ -1,10 +1,10 @@
"<moveCursorUpBy6Rows>
<eraseScreenDown>
<bold>Interactive Snapshot Progress</intensity>
- › <bold><dim>1 snapshot remaining</intensity></intensity>
+ › <bold><dim>1 snapshot remaining</intensity><bold></intensity>
<bold>Watch Usage</intensity>
<dim> › Press </intensity>u<dim> to update failing snapshots for this test.</intensity>
<dim> › Press </intensity>s<dim> to skip the current test.</intensity>
<dim> › Press </intensity>q<dim> to quit Interactive Snapshot Mode.</intensity>
at Object.toMatchSnapshot (packages/jest-core/src/__tests__/SnapshotInteractiveMode.test.js:110:46)
|
SnapshotInteractiveMode › skip 1 test:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `SnapshotInteractiveMode skip 1 test, then quit 2`
- Snapshot - 1
+ Received + 1
"<clearTerminal>
<bold>Interactive Snapshot Result</intensity>
- › <bold><dim>1 snapshot reviewed</intensity></intensity>, <bold><yellow>1 snapshot skipped</color></intensity>
+ › <bold><dim>1 snapshot reviewed</intensity><bold></intensity>, <bold><yellow>1 snapshot skipped</color></intensity>
<bold>Watch Usage</intensity>
<dim> › Press </intensity>r<dim> to restart Interactive Snapshot Mode.</intensity>
<dim> › Press </intensity>q<dim> to quit Interactive Snapshot Mode.</intensity>
"
at Object.toMatchSnapshot (packages/jest-core/src/__tests__/SnapshotInteractiveMode.test.js:115:46)
|
SnapshotInteractiveMode › update 1 test:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `SnapshotInteractiveMode update 1 test, then finish and return 1`
- Snapshot - 1
+ Received + 1
@@ -1,10 +1,10 @@
"<moveCursorUpBy6Rows>
<eraseScreenDown>
<bold>Interactive Snapshot Progress</intensity>
- › <bold><dim>1 snapshot remaining</intensity></intensity>
+ › <bold><dim>1 snapshot remaining</intensity><bold></intensity>
<bold>Watch Usage</intensity>
<dim> › Press </intensity>u<dim> to update failing snapshots for this test.</intensity>
<dim> › Press </intensity>s<dim> to skip the current test.</intensity>
<dim> › Press </intensity>q<dim> to quit Interactive Snapshot Mode.</intensity>
at Object.toMatchSnapshot (packages/jest-core/src/__tests__/SnapshotInteractiveMode.test.js:140:46)
|
SnapshotInteractiveMode › update 1 test:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `SnapshotInteractiveMode update 1 test, then finish and return 2`
- Snapshot - 1
+ Received + 1
"<clearTerminal>
<bold>Interactive Snapshot Result</intensity>
- › <bold><dim>1 snapshot reviewed</intensity></intensity>, <bold><green>1 snapshot updated</color></intensity>
+ › <bold><dim>1 snapshot reviewed</intensity><bold></intensity>, <bold><green>1 snapshot updated</color></intensity>
<bold>Watch Usage</intensity>
<dim> › Press </intensity>Enter<dim> to return to watch mode.</intensity>
"
at Object.toMatchSnapshot (packages/jest-core/src/__tests__/SnapshotInteractiveMode.test.js:146:46)
|
SnapshotInteractiveMode › skip 2 tests:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `SnapshotInteractiveMode skip 2 tests, then finish and restart 1`
- Snapshot - 1
+ Received + 1
@@ -1,10 +1,10 @@
"<moveCursorUpBy6Rows>
<eraseScreenDown>
<bold>Interactive Snapshot Progress</intensity>
- › <bold><dim>2 snapshots remaining</intensity></intensity>
+ › <bold><dim>2 snapshots remaining</intensity><bold></intensity>
<bold>Watch Usage</intensity>
<dim> › Press </intensity>u<dim> to update failing snapshots for this test.</intensity>
<dim> › Press </intensity>s<dim> to skip the current test.</intensity>
<dim> › Press </intensity>q<dim> to quit Interactive Snapshot Mode.</intensity>
at Object.toMatchSnapshot (packages/jest-core/src/__tests__/SnapshotInteractiveMode.test.js:160:46)
|
SnapshotInteractiveMode › skip 2 tests:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `SnapshotInteractiveMode skip 2 tests, then finish and restart 2`
- Snapshot - 1
+ Received + 1
@@ -1,10 +1,10 @@
"<moveCursorUpBy6Rows>
<eraseScreenDown>
<bold>Interactive Snapshot Progress</intensity>
- › <bold><dim>1 snapshot remaining</intensity></intensity>, <bold><yellow>1 snapshot skipped</color></intensity>
+ › <bold><dim>1 snapshot remaining</intensity><bold></intensity>, <bold><yellow>1 snapshot skipped</color></intensity>
<bold>Watch Usage</intensity>
<dim> › Press </intensity>u<dim> to update failing snapshots for this test.</intensity>
<dim> › Press </intensity>s<dim> to skip the current test.</intensity>
<dim> › Press </intensity>q<dim> to quit Interactive Snapshot Mode.</intensity>
at Object.toMatchSnapshot (packages/jest-core/src/__tests__/SnapshotInteractiveMode.test.js:166:46)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 1`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 2`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 3`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 4`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
ScriptTransformer › throws an error if `processAsync` doesn't return a promise of object containing `code` key with processed string:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`processAsync\` doesn't return a promise of object containing \`code\` key with processed string 1`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor-fruits-banana-js" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor-fruits-banana-js"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
at Array.map (<anonymous>)
|
ScriptTransformer › throws an error if `processAsync` doesn't return a promise of object containing `code` key with processed string:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`processAsync\` doesn't return a promise of object containing \`code\` key with processed string 2`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor-fruits-avocado-js" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor-fruits-avocado-js"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
at Array.map (<anonymous>)
|
ScriptTransformer › throws an error if `processAsync` doesn't return a promise of object containing `code` key with processed string:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`processAsync\` doesn't return a promise of object containing \`code\` key with processed string 3`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor-fruits-kiwi-js" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor-fruits-kiwi-js"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
at Array.map (<anonymous>)
|
ScriptTransformer › throws an error if `processAsync` doesn't return a promise of object containing `code` key with processed string:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`processAsync\` doesn't return a promise of object containing \`code\` key with processed string 4`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor-fruits-grapefruit-js" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor-fruits-grapefruit-js"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
at Array.map (<anonymous>)
|
ScriptTransformer › throws an error if neither `process` nor `processAsync` is defined:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if neither \`process\` nor \`processAsync\` is defined 1`
- Snapshot - 6
+ Received + 6
- "<red><bold>● Invalid transformer module:</intensity></color>
- <red> "skipped-required-props-preprocessor" specified in the "transform" object of Jest configuration</color>
- <red> must export a `process` or `processAsync` or `createTransformer` function.</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid transformer module:</intensity>
+ "skipped-required-props-preprocessor" specified in the "transform" object of Jest configuration
+ must export a `process` or `processAsync` or `createTransformer` function.
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
ScriptTransformer › (in sync mode) throws an error if `process` isn't defined:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer (in sync mode) throws an error if \`process\` isn't defined 1`
- Snapshot - 6
+ Received + 6
- "<red><bold>● Invalid synchronous transformer module:</intensity></color>
- <red> "skipped-required-props-preprocessor-only-async" specified in the "transform" object of Jest configuration</color>
- <red> must export a `process` function.</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid synchronous transformer module:</intensity>
+ "skipped-required-props-preprocessor-only-async" specified in the "transform" object of Jest configuration
+ must export a `process` function.
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:542:7)
|
falls back to not call toJSON › if serialization has no differences › but then objects have differences:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `falls back to not call toJSON if serialization has no differences but then objects have differences 1`
- Snapshot - 2
+ Received + 2
@@ -1,7 +1,7 @@
- <d>Compared values serialize to the same structure.</>
- <d>Printing internal object structure without calling `toJSON` instead.</>
+ <d>Compared values serialize to the same structure.
+ Printing internal object structure without calling `toJSON` instead.</>
<g>- Expected - 1</>
<r>+ Received + 1</>
<d> Object {</>
at Object.toMatchSnapshot (packages/jest-diff/src/__tests__/diff.test.ts:136:41)
|
jest-each › .test › throws error when there are additional words in first column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are additional words in first column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a is the left | b | expected</color>
- <red> "</color>"
+ <red>"
+ a is the left | b | expected
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:74:11)
|
jest-each › .test › throws error when there are additional words in second column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are additional words in second column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a | b is the right | expected</color>
- <red> "</color>"
+ <red>"
+ a | b is the right | expected
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:112:11)
|
jest-each › .test › throws error when there are additional words in last column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are additional words in last column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a | b | expected value</color>
- <red> "</color>"
+ <red>"
+ a | b | expected value
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:150:11)
|
jest-each › .test › throws error when there are fewer arguments than headings when given one row:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are fewer arguments than headings when given one row 1`
- Snapshot - 4
+ Received + 4
"Not enough arguments supplied for given headings:
<green>a | b | expected</color>
Received:
- <red>Array [</color>
- <red> 0,</color>
- <red> 1,</color>
- <red>]</color>
+ <red>Array [
+ 0,
+ 1,
+ ]</color>
Missing <red>1</color> argument"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:268:11)
|
jest-each › .test › throws error when there are fewer arguments than headings over multiple rows:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test throws error when there are fewer arguments than headings over multiple rows 1`
- Snapshot - 7
+ Received + 7
"Not enough arguments supplied for given headings:
<green>a | b | expected</color>
Received:
- <red>Array [</color>
- <red> 0,</color>
- <red> 1,</color>
- <red> 1,</color>
- <red> 1,</color>
- <red> 1,</color>
- <red>]</color>
+ <red>Array [
+ 0,
+ 1,
+ 1,
+ 1,
+ 1,
+ ]</color>
Missing <red>1</color> argument"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:287:11)
|
jest-each › .test.concurrent › throws error when there are additional words in first column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test.concurrent throws error when there are additional words in first column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a is the left | b | expected</color>
- <red> "</color>"
+ <red>"
+ a is the left | b | expected
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:74:11)
|
jest-each › .test.concurrent › throws error when there are additional words in second column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test.concurrent throws error when there are additional words in second column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a | b is the right | expected</color>
- <red> "</color>"
+ <red>"
+ a | b is the right | expected
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:112:11)
|
jest-each › .test.concurrent › throws error when there are additional words in last column heading:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test.concurrent throws error when there are additional words in last column heading 1`
- Snapshot - 3
+ Received + 3
@@ -2,8 +2,8 @@
<green>heading1 | headingN</color>
Received:
- <red>"</color>
- <red> a | b | expected value</color>
- <red> "</color>"
+ <red>"
+ a | b | expected value
+ "</color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:150:11)
|
jest-each › .test.concurrent › throws error when there are fewer arguments than headings when given one row:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `jest-each .test.concurrent throws error when there are fewer arguments than headings when given one row 1`
- Snapshot - 4
+ Received + 4
"Not enough arguments supplied for given headings:
<green>a | b | expected</color>
Received:
- <red>Array [</color>
- <red> 0,</color>
- <red> 1,</color>
- <red>]</color>
+ <red>Array [
+ 0,
+ 1,
+ ]</color>
Missing <red>1</color> argument"
at Object.toThrowErrorMatchingSnapshot (packages/jest-each/src/__tests__/template.test.ts:268:11)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 1`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 2`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 3`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 4`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
ScriptTransformer › throws an error if `processAsync` doesn't return a promise of object containing `code` key with processed string:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`processAsync\` doesn't return a promise of object containing \`code\` key with processed string 1`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor-fruits-banana-js" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor-fruits-banana-js"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
at Array.map (<anonymous>)
|
ScriptTransformer › throws an error if `processAsync` doesn't return a promise of object containing `code` key with processed string:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`processAsync\` doesn't return a promise of object containing \`code\` key with processed string 2`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor-fruits-avocado-js" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor-fruits-avocado-js"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
at Array.map (<anonymous>)
|
ScriptTransformer › throws an error if `processAsync` doesn't return a promise of object containing `code` key with processed string:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`processAsync\` doesn't return a promise of object containing \`code\` key with processed string 3`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor-fruits-kiwi-js" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor-fruits-kiwi-js"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
at Array.map (<anonymous>)
|
ScriptTransformer › throws an error if `processAsync` doesn't return a promise of object containing `code` key with processed string:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`processAsync\` doesn't return a promise of object containing \`code\` key with processed string 4`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor-fruits-grapefruit-js" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor-fruits-grapefruit-js"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
at Array.map (<anonymous>)
|
ScriptTransformer › throws an error if neither `process` nor `processAsync` is defined:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if neither \`process\` nor \`processAsync\` is defined 1`
- Snapshot - 6
+ Received + 6
- "<red><bold>● Invalid transformer module:</intensity></color>
- <red> "skipped-required-props-preprocessor" specified in the "transform" object of Jest configuration</color>
- <red> must export a `process` or `processAsync` or `createTransformer` function.</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid transformer module:</intensity>
+ "skipped-required-props-preprocessor" specified in the "transform" object of Jest configuration
+ must export a `process` or `processAsync` or `createTransformer` function.
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
ScriptTransformer › (in sync mode) throws an error if `process` isn't defined:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer (in sync mode) throws an error if \`process\` isn't defined 1`
- Snapshot - 6
+ Received + 6
- "<red><bold>● Invalid synchronous transformer module:</intensity></color>
- <red> "skipped-required-props-preprocessor-only-async" specified in the "transform" object of Jest configuration</color>
- <red> must export a `process` function.</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid synchronous transformer module:</intensity>
+ "skipped-required-props-preprocessor-only-async" specified in the "transform" object of Jest configuration
+ must export a `process` function.
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:542:7)
|
falls back to not call toJSON › if serialization has no differences › but then objects have differences:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `falls back to not call toJSON if serialization has no differences but then objects have differences 1`
- Snapshot - 2
+ Received + 2
@@ -1,7 +1,7 @@
- <d>Compared values serialize to the same structure.</>
- <d>Printing internal object structure without calling `toJSON` instead.</>
+ <d>Compared values serialize to the same structure.
+ Printing internal object structure without calling `toJSON` instead.</>
<g>- Expected - 1</>
<r>+ Received + 1</>
<d> Object {</>
at Object.toMatchSnapshot (packages/jest-diff/src/__tests__/diff.test.ts:136:41)
|
SnapshotInteractiveMode › skip 1 test:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `SnapshotInteractiveMode skip 1 test, then restart 1`
- Snapshot - 1
+ Received + 1
@@ -1,10 +1,10 @@
"<moveCursorUpBy6Rows>
<eraseScreenDown>
<bold>Interactive Snapshot Progress</intensity>
- › <bold><dim>1 snapshot remaining</intensity></intensity>
+ › <bold><dim>1 snapshot remaining</intensity><bold></intensity>
<bold>Watch Usage</intensity>
<dim> › Press </intensity>u<dim> to update failing snapshots for this test.</intensity>
<dim> › Press </intensity>s<dim> to skip the current test.</intensity>
<dim> › Press </intensity>q<dim> to quit Interactive Snapshot Mode.</intensity>
at Object.toMatchSnapshot (packages/jest-core/src/__tests__/SnapshotInteractiveMode.test.js:90:46)
|
SnapshotInteractiveMode › skip 1 test:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `SnapshotInteractiveMode skip 1 test, then restart 2`
- Snapshot - 1
+ Received + 1
"<clearTerminal>
<bold>Interactive Snapshot Result</intensity>
- › <bold><dim>1 snapshot reviewed</intensity></intensity>, <bold><yellow>1 snapshot skipped</color></intensity>
+ › <bold><dim>1 snapshot reviewed</intensity><bold></intensity>, <bold><yellow>1 snapshot skipped</color></intensity>
<bold>Watch Usage</intensity>
<dim> › Press </intensity>r<dim> to restart Interactive Snapshot Mode.</intensity>
<dim> › Press </intensity>q<dim> to quit Interactive Snapshot Mode.</intensity>
"
at Object.toMatchSnapshot (packages/jest-core/src/__tests__/SnapshotInteractiveMode.test.js:95:46)
|
SnapshotInteractiveMode › skip 1 test:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `SnapshotInteractiveMode skip 1 test, then restart 3`
- Snapshot - 1
+ Received + 1
@@ -1,10 +1,10 @@
"<moveCursorUpBy6Rows>
<eraseScreenDown>
<bold>Interactive Snapshot Progress</intensity>
- › <bold><dim>1 snapshot remaining</intensity></intensity>
+ › <bold><dim>1 snapshot remaining</intensity><bold></intensity>
<bold>Watch Usage</intensity>
<dim> › Press </intensity>u<dim> to update failing snapshots for this test.</intensity>
<dim> › Press </intensity>s<dim> to skip the current test.</intensity>
<dim> › Press </intensity>q<dim> to quit Interactive Snapshot Mode.</intensity>
at Object.toMatchSnapshot (packages/jest-core/src/__tests__/SnapshotInteractiveMode.test.js:102:46)
|
SnapshotInteractiveMode › skip 1 test:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `SnapshotInteractiveMode skip 1 test, then quit 1`
- Snapshot - 1
+ Received + 1
@@ -1,10 +1,10 @@
"<moveCursorUpBy6Rows>
<eraseScreenDown>
<bold>Interactive Snapshot Progress</intensity>
- › <bold><dim>1 snapshot remaining</intensity></intensity>
+ › <bold><dim>1 snapshot remaining</intensity><bold></intensity>
<bold>Watch Usage</intensity>
<dim> › Press </intensity>u<dim> to update failing snapshots for this test.</intensity>
<dim> › Press </intensity>s<dim> to skip the current test.</intensity>
<dim> › Press </intensity>q<dim> to quit Interactive Snapshot Mode.</intensity>
at Object.toMatchSnapshot (packages/jest-core/src/__tests__/SnapshotInteractiveMode.test.js:110:46)
|
SnapshotInteractiveMode › skip 1 test:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `SnapshotInteractiveMode skip 1 test, then quit 2`
- Snapshot - 1
+ Received + 1
"<clearTerminal>
<bold>Interactive Snapshot Result</intensity>
- › <bold><dim>1 snapshot reviewed</intensity></intensity>, <bold><yellow>1 snapshot skipped</color></intensity>
+ › <bold><dim>1 snapshot reviewed</intensity><bold></intensity>, <bold><yellow>1 snapshot skipped</color></intensity>
<bold>Watch Usage</intensity>
<dim> › Press </intensity>r<dim> to restart Interactive Snapshot Mode.</intensity>
<dim> › Press </intensity>q<dim> to quit Interactive Snapshot Mode.</intensity>
"
at Object.toMatchSnapshot (packages/jest-core/src/__tests__/SnapshotInteractiveMode.test.js:115:46)
|
SnapshotInteractiveMode › update 1 test:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `SnapshotInteractiveMode update 1 test, then finish and return 1`
- Snapshot - 1
+ Received + 1
@@ -1,10 +1,10 @@
"<moveCursorUpBy6Rows>
<eraseScreenDown>
<bold>Interactive Snapshot Progress</intensity>
- › <bold><dim>1 snapshot remaining</intensity></intensity>
+ › <bold><dim>1 snapshot remaining</intensity><bold></intensity>
<bold>Watch Usage</intensity>
<dim> › Press </intensity>u<dim> to update failing snapshots for this test.</intensity>
<dim> › Press </intensity>s<dim> to skip the current test.</intensity>
<dim> › Press </intensity>q<dim> to quit Interactive Snapshot Mode.</intensity>
at Object.toMatchSnapshot (packages/jest-core/src/__tests__/SnapshotInteractiveMode.test.js:140:46)
|
SnapshotInteractiveMode › update 1 test:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `SnapshotInteractiveMode update 1 test, then finish and return 2`
- Snapshot - 1
+ Received + 1
"<clearTerminal>
<bold>Interactive Snapshot Result</intensity>
- › <bold><dim>1 snapshot reviewed</intensity></intensity>, <bold><green>1 snapshot updated</color></intensity>
+ › <bold><dim>1 snapshot reviewed</intensity><bold></intensity>, <bold><green>1 snapshot updated</color></intensity>
<bold>Watch Usage</intensity>
<dim> › Press </intensity>Enter<dim> to return to watch mode.</intensity>
"
at Object.toMatchSnapshot (packages/jest-core/src/__tests__/SnapshotInteractiveMode.test.js:146:46)
|
SnapshotInteractiveMode › skip 2 tests:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `SnapshotInteractiveMode skip 2 tests, then finish and restart 1`
- Snapshot - 1
+ Received + 1
@@ -1,10 +1,10 @@
"<moveCursorUpBy6Rows>
<eraseScreenDown>
<bold>Interactive Snapshot Progress</intensity>
- › <bold><dim>2 snapshots remaining</intensity></intensity>
+ › <bold><dim>2 snapshots remaining</intensity><bold></intensity>
<bold>Watch Usage</intensity>
<dim> › Press </intensity>u<dim> to update failing snapshots for this test.</intensity>
<dim> › Press </intensity>s<dim> to skip the current test.</intensity>
<dim> › Press </intensity>q<dim> to quit Interactive Snapshot Mode.</intensity>
at Object.toMatchSnapshot (packages/jest-core/src/__tests__/SnapshotInteractiveMode.test.js:160:46)
|
SnapshotInteractiveMode › skip 2 tests:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `SnapshotInteractiveMode skip 2 tests, then finish and restart 2`
- Snapshot - 1
+ Received + 1
@@ -1,10 +1,10 @@
"<moveCursorUpBy6Rows>
<eraseScreenDown>
<bold>Interactive Snapshot Progress</intensity>
- › <bold><dim>1 snapshot remaining</intensity></intensity>, <bold><yellow>1 snapshot skipped</color></intensity>
+ › <bold><dim>1 snapshot remaining</intensity><bold></intensity>, <bold><yellow>1 snapshot skipped</color></intensity>
<bold>Watch Usage</intensity>
<dim> › Press </intensity>u<dim> to update failing snapshots for this test.</intensity>
<dim> › Press </intensity>s<dim> to skip the current test.</intensity>
<dim> › Press </intensity>q<dim> to quit Interactive Snapshot Mode.</intensity>
at Object.toMatchSnapshot (packages/jest-core/src/__tests__/SnapshotInteractiveMode.test.js:166:46)
|
falls back to not call toJSON › if serialization has no differences › but then objects have differences:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `falls back to not call toJSON if serialization has no differences but then objects have differences 1`
- Snapshot - 2
+ Received + 2
@@ -1,7 +1,7 @@
- <d>Compared values serialize to the same structure.</>
- <d>Printing internal object structure without calling `toJSON` instead.</>
+ <d>Compared values serialize to the same structure.
+ Printing internal object structure without calling `toJSON` instead.</>
<g>- Expected - 1</>
<r>+ Received + 1</>
<d> Object {</>
at Object.toMatchSnapshot (packages/jest-diff/src/__tests__/diff.test.ts:136:41)
|
SnapshotInteractiveMode › skip 1 test:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `SnapshotInteractiveMode skip 1 test, then restart 1`
- Snapshot - 1
+ Received + 1
@@ -1,10 +1,10 @@
"<moveCursorUpBy6Rows>
<eraseScreenDown>
<bold>Interactive Snapshot Progress</intensity>
- › <bold><dim>1 snapshot remaining</intensity></intensity>
+ › <bold><dim>1 snapshot remaining</intensity><bold></intensity>
<bold>Watch Usage</intensity>
<dim> › Press </intensity>u<dim> to update failing snapshots for this test.</intensity>
<dim> › Press </intensity>s<dim> to skip the current test.</intensity>
<dim> › Press </intensity>q<dim> to quit Interactive Snapshot Mode.</intensity>
at Object.toMatchSnapshot (packages/jest-core/src/__tests__/SnapshotInteractiveMode.test.js:90:46)
|
SnapshotInteractiveMode › skip 1 test:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `SnapshotInteractiveMode skip 1 test, then restart 2`
- Snapshot - 1
+ Received + 1
"<clearTerminal>
<bold>Interactive Snapshot Result</intensity>
- › <bold><dim>1 snapshot reviewed</intensity></intensity>, <bold><yellow>1 snapshot skipped</color></intensity>
+ › <bold><dim>1 snapshot reviewed</intensity><bold></intensity>, <bold><yellow>1 snapshot skipped</color></intensity>
<bold>Watch Usage</intensity>
<dim> › Press </intensity>r<dim> to restart Interactive Snapshot Mode.</intensity>
<dim> › Press </intensity>q<dim> to quit Interactive Snapshot Mode.</intensity>
"
at Object.toMatchSnapshot (packages/jest-core/src/__tests__/SnapshotInteractiveMode.test.js:95:46)
|
SnapshotInteractiveMode › skip 1 test:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `SnapshotInteractiveMode skip 1 test, then restart 3`
- Snapshot - 1
+ Received + 1
@@ -1,10 +1,10 @@
"<moveCursorUpBy6Rows>
<eraseScreenDown>
<bold>Interactive Snapshot Progress</intensity>
- › <bold><dim>1 snapshot remaining</intensity></intensity>
+ › <bold><dim>1 snapshot remaining</intensity><bold></intensity>
<bold>Watch Usage</intensity>
<dim> › Press </intensity>u<dim> to update failing snapshots for this test.</intensity>
<dim> › Press </intensity>s<dim> to skip the current test.</intensity>
<dim> › Press </intensity>q<dim> to quit Interactive Snapshot Mode.</intensity>
at Object.toMatchSnapshot (packages/jest-core/src/__tests__/SnapshotInteractiveMode.test.js:102:46)
|
SnapshotInteractiveMode › skip 1 test:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `SnapshotInteractiveMode skip 1 test, then quit 1`
- Snapshot - 1
+ Received + 1
@@ -1,10 +1,10 @@
"<moveCursorUpBy6Rows>
<eraseScreenDown>
<bold>Interactive Snapshot Progress</intensity>
- › <bold><dim>1 snapshot remaining</intensity></intensity>
+ › <bold><dim>1 snapshot remaining</intensity><bold></intensity>
<bold>Watch Usage</intensity>
<dim> › Press </intensity>u<dim> to update failing snapshots for this test.</intensity>
<dim> › Press </intensity>s<dim> to skip the current test.</intensity>
<dim> › Press </intensity>q<dim> to quit Interactive Snapshot Mode.</intensity>
at Object.toMatchSnapshot (packages/jest-core/src/__tests__/SnapshotInteractiveMode.test.js:110:46)
|
SnapshotInteractiveMode › skip 1 test:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `SnapshotInteractiveMode skip 1 test, then quit 2`
- Snapshot - 1
+ Received + 1
"<clearTerminal>
<bold>Interactive Snapshot Result</intensity>
- › <bold><dim>1 snapshot reviewed</intensity></intensity>, <bold><yellow>1 snapshot skipped</color></intensity>
+ › <bold><dim>1 snapshot reviewed</intensity><bold></intensity>, <bold><yellow>1 snapshot skipped</color></intensity>
<bold>Watch Usage</intensity>
<dim> › Press </intensity>r<dim> to restart Interactive Snapshot Mode.</intensity>
<dim> › Press </intensity>q<dim> to quit Interactive Snapshot Mode.</intensity>
"
at Object.toMatchSnapshot (packages/jest-core/src/__tests__/SnapshotInteractiveMode.test.js:115:46)
|
SnapshotInteractiveMode › update 1 test:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `SnapshotInteractiveMode update 1 test, then finish and return 1`
- Snapshot - 1
+ Received + 1
@@ -1,10 +1,10 @@
"<moveCursorUpBy6Rows>
<eraseScreenDown>
<bold>Interactive Snapshot Progress</intensity>
- › <bold><dim>1 snapshot remaining</intensity></intensity>
+ › <bold><dim>1 snapshot remaining</intensity><bold></intensity>
<bold>Watch Usage</intensity>
<dim> › Press </intensity>u<dim> to update failing snapshots for this test.</intensity>
<dim> › Press </intensity>s<dim> to skip the current test.</intensity>
<dim> › Press </intensity>q<dim> to quit Interactive Snapshot Mode.</intensity>
at Object.toMatchSnapshot (packages/jest-core/src/__tests__/SnapshotInteractiveMode.test.js:140:46)
|
SnapshotInteractiveMode › update 1 test:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `SnapshotInteractiveMode update 1 test, then finish and return 2`
- Snapshot - 1
+ Received + 1
"<clearTerminal>
<bold>Interactive Snapshot Result</intensity>
- › <bold><dim>1 snapshot reviewed</intensity></intensity>, <bold><green>1 snapshot updated</color></intensity>
+ › <bold><dim>1 snapshot reviewed</intensity><bold></intensity>, <bold><green>1 snapshot updated</color></intensity>
<bold>Watch Usage</intensity>
<dim> › Press </intensity>Enter<dim> to return to watch mode.</intensity>
"
at Object.toMatchSnapshot (packages/jest-core/src/__tests__/SnapshotInteractiveMode.test.js:146:46)
|
SnapshotInteractiveMode › skip 2 tests:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `SnapshotInteractiveMode skip 2 tests, then finish and restart 1`
- Snapshot - 1
+ Received + 1
@@ -1,10 +1,10 @@
"<moveCursorUpBy6Rows>
<eraseScreenDown>
<bold>Interactive Snapshot Progress</intensity>
- › <bold><dim>2 snapshots remaining</intensity></intensity>
+ › <bold><dim>2 snapshots remaining</intensity><bold></intensity>
<bold>Watch Usage</intensity>
<dim> › Press </intensity>u<dim> to update failing snapshots for this test.</intensity>
<dim> › Press </intensity>s<dim> to skip the current test.</intensity>
<dim> › Press </intensity>q<dim> to quit Interactive Snapshot Mode.</intensity>
at Object.toMatchSnapshot (packages/jest-core/src/__tests__/SnapshotInteractiveMode.test.js:160:46)
|
SnapshotInteractiveMode › skip 2 tests:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `SnapshotInteractiveMode skip 2 tests, then finish and restart 2`
- Snapshot - 1
+ Received + 1
@@ -1,10 +1,10 @@
"<moveCursorUpBy6Rows>
<eraseScreenDown>
<bold>Interactive Snapshot Progress</intensity>
- › <bold><dim>1 snapshot remaining</intensity></intensity>, <bold><yellow>1 snapshot skipped</color></intensity>
+ › <bold><dim>1 snapshot remaining</intensity><bold></intensity>, <bold><yellow>1 snapshot skipped</color></intensity>
<bold>Watch Usage</intensity>
<dim> › Press </intensity>u<dim> to update failing snapshots for this test.</intensity>
<dim> › Press </intensity>s<dim> to skip the current test.</intensity>
<dim> › Press </intensity>q<dim> to quit Interactive Snapshot Mode.</intensity>
at Object.toMatchSnapshot (packages/jest-core/src/__tests__/SnapshotInteractiveMode.test.js:166:46)
|
falls back to not call toJSON › if serialization has no differences › but then objects have differences:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `falls back to not call toJSON if serialization has no differences but then objects have differences 1`
- Snapshot - 2
+ Received + 2
@@ -1,7 +1,7 @@
- <d>Compared values serialize to the same structure.</>
- <d>Printing internal object structure without calling `toJSON` instead.</>
+ <d>Compared values serialize to the same structure.
+ Printing internal object structure without calling `toJSON` instead.</>
<g>- Expected - 1</>
<r>+ Received + 1</>
<d> Object {</>
at Object.toMatchSnapshot (packages/jest-diff/src/__tests__/diff.test.ts:136:41)
|
SnapshotInteractiveMode › skip 1 test:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `SnapshotInteractiveMode skip 1 test, then restart 1`
- Snapshot - 1
+ Received + 1
@@ -1,10 +1,10 @@
"<moveCursorUpBy6Rows>
<eraseScreenDown>
<bold>Interactive Snapshot Progress</intensity>
- › <bold><dim>1 snapshot remaining</intensity></intensity>
+ › <bold><dim>1 snapshot remaining</intensity><bold></intensity>
<bold>Watch Usage</intensity>
<dim> › Press </intensity>u<dim> to update failing snapshots for this test.</intensity>
<dim> › Press </intensity>s<dim> to skip the current test.</intensity>
<dim> › Press </intensity>q<dim> to quit Interactive Snapshot Mode.</intensity>
at Object.toMatchSnapshot (packages/jest-core/src/__tests__/SnapshotInteractiveMode.test.js:90:46)
|
SnapshotInteractiveMode › skip 1 test:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `SnapshotInteractiveMode skip 1 test, then restart 2`
- Snapshot - 1
+ Received + 1
"<clearTerminal>
<bold>Interactive Snapshot Result</intensity>
- › <bold><dim>1 snapshot reviewed</intensity></intensity>, <bold><yellow>1 snapshot skipped</color></intensity>
+ › <bold><dim>1 snapshot reviewed</intensity><bold></intensity>, <bold><yellow>1 snapshot skipped</color></intensity>
<bold>Watch Usage</intensity>
<dim> › Press </intensity>r<dim> to restart Interactive Snapshot Mode.</intensity>
<dim> › Press </intensity>q<dim> to quit Interactive Snapshot Mode.</intensity>
"
at Object.toMatchSnapshot (packages/jest-core/src/__tests__/SnapshotInteractiveMode.test.js:95:46)
|
SnapshotInteractiveMode › skip 1 test:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `SnapshotInteractiveMode skip 1 test, then restart 3`
- Snapshot - 1
+ Received + 1
@@ -1,10 +1,10 @@
"<moveCursorUpBy6Rows>
<eraseScreenDown>
<bold>Interactive Snapshot Progress</intensity>
- › <bold><dim>1 snapshot remaining</intensity></intensity>
+ › <bold><dim>1 snapshot remaining</intensity><bold></intensity>
<bold>Watch Usage</intensity>
<dim> › Press </intensity>u<dim> to update failing snapshots for this test.</intensity>
<dim> › Press </intensity>s<dim> to skip the current test.</intensity>
<dim> › Press </intensity>q<dim> to quit Interactive Snapshot Mode.</intensity>
at Object.toMatchSnapshot (packages/jest-core/src/__tests__/SnapshotInteractiveMode.test.js:102:46)
|
SnapshotInteractiveMode › skip 1 test:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `SnapshotInteractiveMode skip 1 test, then quit 1`
- Snapshot - 1
+ Received + 1
@@ -1,10 +1,10 @@
"<moveCursorUpBy6Rows>
<eraseScreenDown>
<bold>Interactive Snapshot Progress</intensity>
- › <bold><dim>1 snapshot remaining</intensity></intensity>
+ › <bold><dim>1 snapshot remaining</intensity><bold></intensity>
<bold>Watch Usage</intensity>
<dim> › Press </intensity>u<dim> to update failing snapshots for this test.</intensity>
<dim> › Press </intensity>s<dim> to skip the current test.</intensity>
<dim> › Press </intensity>q<dim> to quit Interactive Snapshot Mode.</intensity>
at Object.toMatchSnapshot (packages/jest-core/src/__tests__/SnapshotInteractiveMode.test.js:110:46)
|
SnapshotInteractiveMode › skip 1 test:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `SnapshotInteractiveMode skip 1 test, then quit 2`
- Snapshot - 1
+ Received + 1
"<clearTerminal>
<bold>Interactive Snapshot Result</intensity>
- › <bold><dim>1 snapshot reviewed</intensity></intensity>, <bold><yellow>1 snapshot skipped</color></intensity>
+ › <bold><dim>1 snapshot reviewed</intensity><bold></intensity>, <bold><yellow>1 snapshot skipped</color></intensity>
<bold>Watch Usage</intensity>
<dim> › Press </intensity>r<dim> to restart Interactive Snapshot Mode.</intensity>
<dim> › Press </intensity>q<dim> to quit Interactive Snapshot Mode.</intensity>
"
at Object.toMatchSnapshot (packages/jest-core/src/__tests__/SnapshotInteractiveMode.test.js:115:46)
|
SnapshotInteractiveMode › update 1 test:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `SnapshotInteractiveMode update 1 test, then finish and return 1`
- Snapshot - 1
+ Received + 1
@@ -1,10 +1,10 @@
"<moveCursorUpBy6Rows>
<eraseScreenDown>
<bold>Interactive Snapshot Progress</intensity>
- › <bold><dim>1 snapshot remaining</intensity></intensity>
+ › <bold><dim>1 snapshot remaining</intensity><bold></intensity>
<bold>Watch Usage</intensity>
<dim> › Press </intensity>u<dim> to update failing snapshots for this test.</intensity>
<dim> › Press </intensity>s<dim> to skip the current test.</intensity>
<dim> › Press </intensity>q<dim> to quit Interactive Snapshot Mode.</intensity>
at Object.toMatchSnapshot (packages/jest-core/src/__tests__/SnapshotInteractiveMode.test.js:140:46)
|
SnapshotInteractiveMode › update 1 test:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `SnapshotInteractiveMode update 1 test, then finish and return 2`
- Snapshot - 1
+ Received + 1
"<clearTerminal>
<bold>Interactive Snapshot Result</intensity>
- › <bold><dim>1 snapshot reviewed</intensity></intensity>, <bold><green>1 snapshot updated</color></intensity>
+ › <bold><dim>1 snapshot reviewed</intensity><bold></intensity>, <bold><green>1 snapshot updated</color></intensity>
<bold>Watch Usage</intensity>
<dim> › Press </intensity>Enter<dim> to return to watch mode.</intensity>
"
at Object.toMatchSnapshot (packages/jest-core/src/__tests__/SnapshotInteractiveMode.test.js:146:46)
|
SnapshotInteractiveMode › skip 2 tests:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `SnapshotInteractiveMode skip 2 tests, then finish and restart 1`
- Snapshot - 1
+ Received + 1
@@ -1,10 +1,10 @@
"<moveCursorUpBy6Rows>
<eraseScreenDown>
<bold>Interactive Snapshot Progress</intensity>
- › <bold><dim>2 snapshots remaining</intensity></intensity>
+ › <bold><dim>2 snapshots remaining</intensity><bold></intensity>
<bold>Watch Usage</intensity>
<dim> › Press </intensity>u<dim> to update failing snapshots for this test.</intensity>
<dim> › Press </intensity>s<dim> to skip the current test.</intensity>
<dim> › Press </intensity>q<dim> to quit Interactive Snapshot Mode.</intensity>
at Object.toMatchSnapshot (packages/jest-core/src/__tests__/SnapshotInteractiveMode.test.js:160:46)
|
SnapshotInteractiveMode › skip 2 tests:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `SnapshotInteractiveMode skip 2 tests, then finish and restart 2`
- Snapshot - 1
+ Received + 1
@@ -1,10 +1,10 @@
"<moveCursorUpBy6Rows>
<eraseScreenDown>
<bold>Interactive Snapshot Progress</intensity>
- › <bold><dim>1 snapshot remaining</intensity></intensity>, <bold><yellow>1 snapshot skipped</color></intensity>
+ › <bold><dim>1 snapshot remaining</intensity><bold></intensity>, <bold><yellow>1 snapshot skipped</color></intensity>
<bold>Watch Usage</intensity>
<dim> › Press </intensity>u<dim> to update failing snapshots for this test.</intensity>
<dim> › Press </intensity>s<dim> to skip the current test.</intensity>
<dim> › Press </intensity>q<dim> to quit Interactive Snapshot Mode.</intensity>
at Object.toMatchSnapshot (packages/jest-core/src/__tests__/SnapshotInteractiveMode.test.js:166:46)
|
falls back to not call toJSON › if serialization has no differences › but then objects have differences:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `falls back to not call toJSON if serialization has no differences but then objects have differences 1`
- Snapshot - 2
+ Received + 2
@@ -1,7 +1,7 @@
- <d>Compared values serialize to the same structure.</>
- <d>Printing internal object structure without calling `toJSON` instead.</>
+ <d>Compared values serialize to the same structure.
+ Printing internal object structure without calling `toJSON` instead.</>
<g>- Expected - 1</>
<r>+ Received + 1</>
<d> Object {</>
at Object.toMatchSnapshot (packages/jest-diff/src/__tests__/diff.test.ts:136:41)
|
SnapshotInteractiveMode › skip 1 test:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `SnapshotInteractiveMode skip 1 test, then restart 1`
- Snapshot - 1
+ Received + 1
@@ -1,10 +1,10 @@
"<moveCursorUpBy6Rows>
<eraseScreenDown>
<bold>Interactive Snapshot Progress</intensity>
- › <bold><dim>1 snapshot remaining</intensity></intensity>
+ › <bold><dim>1 snapshot remaining</intensity><bold></intensity>
<bold>Watch Usage</intensity>
<dim> › Press </intensity>u<dim> to update failing snapshots for this test.</intensity>
<dim> › Press </intensity>s<dim> to skip the current test.</intensity>
<dim> › Press </intensity>q<dim> to quit Interactive Snapshot Mode.</intensity>
at Object.toMatchSnapshot (packages/jest-core/src/__tests__/SnapshotInteractiveMode.test.js:90:46)
|
SnapshotInteractiveMode › skip 1 test:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `SnapshotInteractiveMode skip 1 test, then restart 2`
- Snapshot - 1
+ Received + 1
"<clearTerminal>
<bold>Interactive Snapshot Result</intensity>
- › <bold><dim>1 snapshot reviewed</intensity></intensity>, <bold><yellow>1 snapshot skipped</color></intensity>
+ › <bold><dim>1 snapshot reviewed</intensity><bold></intensity>, <bold><yellow>1 snapshot skipped</color></intensity>
<bold>Watch Usage</intensity>
<dim> › Press </intensity>r<dim> to restart Interactive Snapshot Mode.</intensity>
<dim> › Press </intensity>q<dim> to quit Interactive Snapshot Mode.</intensity>
"
at Object.toMatchSnapshot (packages/jest-core/src/__tests__/SnapshotInteractiveMode.test.js:95:46)
|
SnapshotInteractiveMode › skip 1 test:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `SnapshotInteractiveMode skip 1 test, then restart 3`
- Snapshot - 1
+ Received + 1
@@ -1,10 +1,10 @@
"<moveCursorUpBy6Rows>
<eraseScreenDown>
<bold>Interactive Snapshot Progress</intensity>
- › <bold><dim>1 snapshot remaining</intensity></intensity>
+ › <bold><dim>1 snapshot remaining</intensity><bold></intensity>
<bold>Watch Usage</intensity>
<dim> › Press </intensity>u<dim> to update failing snapshots for this test.</intensity>
<dim> › Press </intensity>s<dim> to skip the current test.</intensity>
<dim> › Press </intensity>q<dim> to quit Interactive Snapshot Mode.</intensity>
at Object.toMatchSnapshot (packages/jest-core/src/__tests__/SnapshotInteractiveMode.test.js:102:46)
|
SnapshotInteractiveMode › skip 1 test:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `SnapshotInteractiveMode skip 1 test, then quit 1`
- Snapshot - 1
+ Received + 1
@@ -1,10 +1,10 @@
"<moveCursorUpBy6Rows>
<eraseScreenDown>
<bold>Interactive Snapshot Progress</intensity>
- › <bold><dim>1 snapshot remaining</intensity></intensity>
+ › <bold><dim>1 snapshot remaining</intensity><bold></intensity>
<bold>Watch Usage</intensity>
<dim> › Press </intensity>u<dim> to update failing snapshots for this test.</intensity>
<dim> › Press </intensity>s<dim> to skip the current test.</intensity>
<dim> › Press </intensity>q<dim> to quit Interactive Snapshot Mode.</intensity>
at Object.toMatchSnapshot (packages/jest-core/src/__tests__/SnapshotInteractiveMode.test.js:110:46)
|
SnapshotInteractiveMode › skip 1 test:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `SnapshotInteractiveMode skip 1 test, then quit 2`
- Snapshot - 1
+ Received + 1
"<clearTerminal>
<bold>Interactive Snapshot Result</intensity>
- › <bold><dim>1 snapshot reviewed</intensity></intensity>, <bold><yellow>1 snapshot skipped</color></intensity>
+ › <bold><dim>1 snapshot reviewed</intensity><bold></intensity>, <bold><yellow>1 snapshot skipped</color></intensity>
<bold>Watch Usage</intensity>
<dim> › Press </intensity>r<dim> to restart Interactive Snapshot Mode.</intensity>
<dim> › Press </intensity>q<dim> to quit Interactive Snapshot Mode.</intensity>
"
at Object.toMatchSnapshot (packages/jest-core/src/__tests__/SnapshotInteractiveMode.test.js:115:46)
|
SnapshotInteractiveMode › update 1 test:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `SnapshotInteractiveMode update 1 test, then finish and return 1`
- Snapshot - 1
+ Received + 1
@@ -1,10 +1,10 @@
"<moveCursorUpBy6Rows>
<eraseScreenDown>
<bold>Interactive Snapshot Progress</intensity>
- › <bold><dim>1 snapshot remaining</intensity></intensity>
+ › <bold><dim>1 snapshot remaining</intensity><bold></intensity>
<bold>Watch Usage</intensity>
<dim> › Press </intensity>u<dim> to update failing snapshots for this test.</intensity>
<dim> › Press </intensity>s<dim> to skip the current test.</intensity>
<dim> › Press </intensity>q<dim> to quit Interactive Snapshot Mode.</intensity>
at Object.toMatchSnapshot (packages/jest-core/src/__tests__/SnapshotInteractiveMode.test.js:140:46)
|
SnapshotInteractiveMode › update 1 test:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `SnapshotInteractiveMode update 1 test, then finish and return 2`
- Snapshot - 1
+ Received + 1
"<clearTerminal>
<bold>Interactive Snapshot Result</intensity>
- › <bold><dim>1 snapshot reviewed</intensity></intensity>, <bold><green>1 snapshot updated</color></intensity>
+ › <bold><dim>1 snapshot reviewed</intensity><bold></intensity>, <bold><green>1 snapshot updated</color></intensity>
<bold>Watch Usage</intensity>
<dim> › Press </intensity>Enter<dim> to return to watch mode.</intensity>
"
at Object.toMatchSnapshot (packages/jest-core/src/__tests__/SnapshotInteractiveMode.test.js:146:46)
|
SnapshotInteractiveMode › skip 2 tests:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `SnapshotInteractiveMode skip 2 tests, then finish and restart 1`
- Snapshot - 1
+ Received + 1
@@ -1,10 +1,10 @@
"<moveCursorUpBy6Rows>
<eraseScreenDown>
<bold>Interactive Snapshot Progress</intensity>
- › <bold><dim>2 snapshots remaining</intensity></intensity>
+ › <bold><dim>2 snapshots remaining</intensity><bold></intensity>
<bold>Watch Usage</intensity>
<dim> › Press </intensity>u<dim> to update failing snapshots for this test.</intensity>
<dim> › Press </intensity>s<dim> to skip the current test.</intensity>
<dim> › Press </intensity>q<dim> to quit Interactive Snapshot Mode.</intensity>
at Object.toMatchSnapshot (packages/jest-core/src/__tests__/SnapshotInteractiveMode.test.js:160:46)
|
SnapshotInteractiveMode › skip 2 tests:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `SnapshotInteractiveMode skip 2 tests, then finish and restart 2`
- Snapshot - 1
+ Received + 1
@@ -1,10 +1,10 @@
"<moveCursorUpBy6Rows>
<eraseScreenDown>
<bold>Interactive Snapshot Progress</intensity>
- › <bold><dim>1 snapshot remaining</intensity></intensity>, <bold><yellow>1 snapshot skipped</color></intensity>
+ › <bold><dim>1 snapshot remaining</intensity><bold></intensity>, <bold><yellow>1 snapshot skipped</color></intensity>
<bold>Watch Usage</intensity>
<dim> › Press </intensity>u<dim> to update failing snapshots for this test.</intensity>
<dim> › Press </intensity>s<dim> to skip the current test.</intensity>
<dim> › Press </intensity>q<dim> to quit Interactive Snapshot Mode.</intensity>
at Object.toMatchSnapshot (packages/jest-core/src/__tests__/SnapshotInteractiveMode.test.js:166:46)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 1`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 2`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 3`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 4`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
ScriptTransformer › throws an error if `processAsync` doesn't return a promise of object containing `code` key with processed string:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`processAsync\` doesn't return a promise of object containing \`code\` key with processed string 1`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor-fruits-banana-js" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor-fruits-banana-js"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
at Array.map (<anonymous>)
|
ScriptTransformer › throws an error if `processAsync` doesn't return a promise of object containing `code` key with processed string:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`processAsync\` doesn't return a promise of object containing \`code\` key with processed string 2`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor-fruits-avocado-js" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor-fruits-avocado-js"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
at Array.map (<anonymous>)
|
ScriptTransformer › throws an error if `processAsync` doesn't return a promise of object containing `code` key with processed string:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`processAsync\` doesn't return a promise of object containing \`code\` key with processed string 3`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor-fruits-kiwi-js" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor-fruits-kiwi-js"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
at Array.map (<anonymous>)
|
ScriptTransformer › throws an error if `processAsync` doesn't return a promise of object containing `code` key with processed string:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`processAsync\` doesn't return a promise of object containing \`code\` key with processed string 4`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor-fruits-grapefruit-js" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor-fruits-grapefruit-js"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
at Array.map (<anonymous>)
|
ScriptTransformer › throws an error if neither `process` nor `processAsync` is defined:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if neither \`process\` nor \`processAsync\` is defined 1`
- Snapshot - 6
+ Received + 6
- "<red><bold>● Invalid transformer module:</intensity></color>
- <red> "skipped-required-props-preprocessor" specified in the "transform" object of Jest configuration</color>
- <red> must export a `process` or `processAsync` or `createTransformer` function.</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid transformer module:</intensity>
+ "skipped-required-props-preprocessor" specified in the "transform" object of Jest configuration
+ must export a `process` or `processAsync` or `createTransformer` function.
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
ScriptTransformer › (in sync mode) throws an error if `process` isn't defined:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer (in sync mode) throws an error if \`process\` isn't defined 1`
- Snapshot - 6
+ Received + 6
- "<red><bold>● Invalid synchronous transformer module:</intensity></color>
- <red> "skipped-required-props-preprocessor-only-async" specified in the "transform" object of Jest configuration</color>
- <red> must export a `process` function.</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid synchronous transformer module:</intensity>
+ "skipped-required-props-preprocessor-only-async" specified in the "transform" object of Jest configuration
+ must export a `process` function.
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:542:7)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 1`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 2`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 3`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 4`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
ScriptTransformer › throws an error if `processAsync` doesn't return a promise of object containing `code` key with processed string:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`processAsync\` doesn't return a promise of object containing \`code\` key with processed string 1`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor-fruits-banana-js" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor-fruits-banana-js"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
at Array.map (<anonymous>)
|
ScriptTransformer › throws an error if `processAsync` doesn't return a promise of object containing `code` key with processed string:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`processAsync\` doesn't return a promise of object containing \`code\` key with processed string 2`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor-fruits-avocado-js" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor-fruits-avocado-js"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
at Array.map (<anonymous>)
|
ScriptTransformer › throws an error if `processAsync` doesn't return a promise of object containing `code` key with processed string:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`processAsync\` doesn't return a promise of object containing \`code\` key with processed string 3`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor-fruits-kiwi-js" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor-fruits-kiwi-js"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
at Array.map (<anonymous>)
|
ScriptTransformer › throws an error if `processAsync` doesn't return a promise of object containing `code` key with processed string:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`processAsync\` doesn't return a promise of object containing \`code\` key with processed string 4`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor-fruits-grapefruit-js" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor-fruits-grapefruit-js"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
at Array.map (<anonymous>)
|
ScriptTransformer › throws an error if neither `process` nor `processAsync` is defined:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if neither \`process\` nor \`processAsync\` is defined 1`
- Snapshot - 6
+ Received + 6
- "<red><bold>● Invalid transformer module:</intensity></color>
- <red> "skipped-required-props-preprocessor" specified in the "transform" object of Jest configuration</color>
- <red> must export a `process` or `processAsync` or `createTransformer` function.</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid transformer module:</intensity>
+ "skipped-required-props-preprocessor" specified in the "transform" object of Jest configuration
+ must export a `process` or `processAsync` or `createTransformer` function.
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
ScriptTransformer › (in sync mode) throws an error if `process` isn't defined:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer (in sync mode) throws an error if \`process\` isn't defined 1`
- Snapshot - 6
+ Received + 6
- "<red><bold>● Invalid synchronous transformer module:</intensity></color>
- <red> "skipped-required-props-preprocessor-only-async" specified in the "transform" object of Jest configuration</color>
- <red> must export a `process` function.</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid synchronous transformer module:</intensity>
+ "skipped-required-props-preprocessor-only-async" specified in the "transform" object of Jest configuration
+ must export a `process` function.
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:542:7)
|
rootDir › throws if the options is missing a rootDir property:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `rootDir throws if the options is missing a rootDir property 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Configuration option <bold>rootDir</intensity> must be specified.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Configuration option <bold>rootDir</intensity> must be specified.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2209:20)
|
reporters › throws an error if value is neither string nor array:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if value is neither string nor array 1`
- Snapshot - 10
+ Received + 10
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Reporter at index 0 must be of type:</color>
- <red> <bold><green>array or string</color><red></intensity></color>
- <red> but instead received:</color>
- <red> <bold><red>number</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Reporter at index 0 must be of type:
+ <bold><green>array or string<red></intensity>
+ but instead received:
+ <bold><red>number<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2209:20)
|
reporters › throws an error if first value in the tuple is not a string:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if first value in the tuple is not a string 1`
- Snapshot - 15
+ Received + 15
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Unexpected value for Path at index 0 of reporter at index 0</color>
- <red> Expected:</color>
- <red> <bold><red>string</color><red></intensity></color>
- <red> Got:</color>
- <red> <bold><green>number</color><red></intensity></color>
- <red> Reporter configuration:</color>
- <red> <bold><green>[</color><red></intensity></color>
- <red><bold><green> 123</color><red></intensity></color>
- <red><bold><green> ]</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Unexpected value for Path at index 0 of reporter at index 0
+ Expected:
+ <bold><red>string<red></intensity>
+ Got:
+ <bold><green>number<red></intensity>
+ Reporter configuration:
+ <bold><green>[
+ 123
+ ]<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2209:20)
|
reporters › throws an error if second value is missing in the tuple:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if second value is missing in the tuple 1`
- Snapshot - 15
+ Received + 15
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Unexpected value for Reporter Configuration at index 1 of reporter at index 0</color>
- <red> Expected:</color>
- <red> <bold><red>object</color><red></intensity></color>
- <red> Got:</color>
- <red> <bold><green>undefined</color><red></intensity></color>
- <red> Reporter configuration:</color>
- <red> <bold><green>[</color><red></intensity></color>
- <red><bold><green> "some-reporter"</color><red></intensity></color>
- <red><bold><green> ]</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Unexpected value for Reporter Configuration at index 1 of reporter at index 0
+ Expected:
+ <bold><red>object<red></intensity>
+ Got:
+ <bold><green>undefined<red></intensity>
+ Reporter configuration:
+ <bold><green>[
+ "some-reporter"
+ ]<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2209:20)
|
reporters › throws an error if second value in the tuple is not an object:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if second value in the tuple is not an object 1`
- Snapshot - 16
+ Received + 16
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Unexpected value for Reporter Configuration at index 1 of reporter at index 0</color>
- <red> Expected:</color>
- <red> <bold><red>object</color><red></intensity></color>
- <red> Got:</color>
- <red> <bold><green>boolean</color><red></intensity></color>
- <red> Reporter configuration:</color>
- <red> <bold><green>[</color><red></intensity></color>
- <red><bold><green> "some-reporter",</color><red></intensity></color>
- <red><bold><green> true</color><red></intensity></color>
- <red><bold><green> ]</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Unexpected value for Reporter Configuration at index 1 of reporter at index 0
+ Expected:
+ <bold><red>object<red></intensity>
+ Got:
+ <bold><green>boolean<red></intensity>
+ Reporter configuration:
+ <bold><green>[
+ "some-reporter",
+ true
+ ]<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2209:20)
|
testEnvironment › throws on invalid environment names:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `testEnvironment throws on invalid environment names 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Test environment <bold>phantom</intensity> cannot be found. Make sure the <bold>testEnvironment</intensity> configuration option points to an existing node module.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Test environment <bold>phantom</intensity> cannot be found. Make sure the <bold>testEnvironment</intensity> configuration option points to an existing node module.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2209:20)
|
testMatch › throws if testRegex and testMatch are both specified:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `testMatch throws if testRegex and testMatch are both specified 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Configuration options <bold>testMatch</intensity> and <bold>testRegex</intensity> cannot be used together.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Configuration options <bold>testMatch</intensity> and <bold>testRegex</intensity> cannot be used together.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2209:20)
|
preset › throws when preset not found:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `preset throws when preset not found 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Preset <bold>doesnt-exist</intensity> not found relative to rootDir <bold>/root/path/foo</intensity>.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Preset <bold>doesnt-exist</intensity> not found relative to rootDir <bold>/root/path/foo</intensity>.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2209:20)
|
preset › throws when module was found but no "jest-preset.js" or "jest-preset.json" files:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `preset throws when module was found but no "jest-preset.js" or "jest-preset.json" files 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Module <bold>exist-but-no-jest-preset</intensity> should have "jest-preset.js" or "jest-preset.json" file at the root.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Module <bold>exist-but-no-jest-preset</intensity> should have "jest-preset.js" or "jest-preset.json" file at the root.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2209:20)
|
runner › throw error when a runner is not found:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `runner throw error when a runner is not found 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Jest Runner <bold>missing-runner</intensity> cannot be found. Make sure the <bold>runner</intensity> configuration option points to an existing node module.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Jest Runner <bold>missing-runner</intensity> cannot be found. Make sure the <bold>runner</intensity> configuration option points to an existing node module.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2209:20)
|
rootDir › throws if the options is missing a rootDir property:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `rootDir throws if the options is missing a rootDir property 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Configuration option <bold>rootDir</intensity> must be specified.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Configuration option <bold>rootDir</intensity> must be specified.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2209:20)
|
reporters › throws an error if value is neither string nor array:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if value is neither string nor array 1`
- Snapshot - 10
+ Received + 10
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Reporter at index 0 must be of type:</color>
- <red> <bold><green>array or string</color><red></intensity></color>
- <red> but instead received:</color>
- <red> <bold><red>number</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Reporter at index 0 must be of type:
+ <bold><green>array or string<red></intensity>
+ but instead received:
+ <bold><red>number<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2209:20)
|
reporters › throws an error if first value in the tuple is not a string:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if first value in the tuple is not a string 1`
- Snapshot - 15
+ Received + 15
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Unexpected value for Path at index 0 of reporter at index 0</color>
- <red> Expected:</color>
- <red> <bold><red>string</color><red></intensity></color>
- <red> Got:</color>
- <red> <bold><green>number</color><red></intensity></color>
- <red> Reporter configuration:</color>
- <red> <bold><green>[</color><red></intensity></color>
- <red><bold><green> 123</color><red></intensity></color>
- <red><bold><green> ]</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Unexpected value for Path at index 0 of reporter at index 0
+ Expected:
+ <bold><red>string<red></intensity>
+ Got:
+ <bold><green>number<red></intensity>
+ Reporter configuration:
+ <bold><green>[
+ 123
+ ]<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2209:20)
|
reporters › throws an error if second value is missing in the tuple:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if second value is missing in the tuple 1`
- Snapshot - 15
+ Received + 15
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Unexpected value for Reporter Configuration at index 1 of reporter at index 0</color>
- <red> Expected:</color>
- <red> <bold><red>object</color><red></intensity></color>
- <red> Got:</color>
- <red> <bold><green>undefined</color><red></intensity></color>
- <red> Reporter configuration:</color>
- <red> <bold><green>[</color><red></intensity></color>
- <red><bold><green> "some-reporter"</color><red></intensity></color>
- <red><bold><green> ]</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Unexpected value for Reporter Configuration at index 1 of reporter at index 0
+ Expected:
+ <bold><red>object<red></intensity>
+ Got:
+ <bold><green>undefined<red></intensity>
+ Reporter configuration:
+ <bold><green>[
+ "some-reporter"
+ ]<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2209:20)
|
reporters › throws an error if second value in the tuple is not an object:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if second value in the tuple is not an object 1`
- Snapshot - 16
+ Received + 16
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Unexpected value for Reporter Configuration at index 1 of reporter at index 0</color>
- <red> Expected:</color>
- <red> <bold><red>object</color><red></intensity></color>
- <red> Got:</color>
- <red> <bold><green>boolean</color><red></intensity></color>
- <red> Reporter configuration:</color>
- <red> <bold><green>[</color><red></intensity></color>
- <red><bold><green> "some-reporter",</color><red></intensity></color>
- <red><bold><green> true</color><red></intensity></color>
- <red><bold><green> ]</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Unexpected value for Reporter Configuration at index 1 of reporter at index 0
+ Expected:
+ <bold><red>object<red></intensity>
+ Got:
+ <bold><green>boolean<red></intensity>
+ Reporter configuration:
+ <bold><green>[
+ "some-reporter",
+ true
+ ]<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2209:20)
|
testEnvironment › throws on invalid environment names:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `testEnvironment throws on invalid environment names 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Test environment <bold>phantom</intensity> cannot be found. Make sure the <bold>testEnvironment</intensity> configuration option points to an existing node module.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Test environment <bold>phantom</intensity> cannot be found. Make sure the <bold>testEnvironment</intensity> configuration option points to an existing node module.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2209:20)
|
testMatch › throws if testRegex and testMatch are both specified:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `testMatch throws if testRegex and testMatch are both specified 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Configuration options <bold>testMatch</intensity> and <bold>testRegex</intensity> cannot be used together.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Configuration options <bold>testMatch</intensity> and <bold>testRegex</intensity> cannot be used together.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2209:20)
|
preset › throws when preset not found:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `preset throws when preset not found 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Preset <bold>doesnt-exist</intensity> not found relative to rootDir <bold>/root/path/foo</intensity>.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Preset <bold>doesnt-exist</intensity> not found relative to rootDir <bold>/root/path/foo</intensity>.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2209:20)
|
preset › throws when module was found but no "jest-preset.js" or "jest-preset.json" files:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `preset throws when module was found but no "jest-preset.js" or "jest-preset.json" files 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Module <bold>exist-but-no-jest-preset</intensity> should have "jest-preset.js" or "jest-preset.json" file at the root.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Module <bold>exist-but-no-jest-preset</intensity> should have "jest-preset.js" or "jest-preset.json" file at the root.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2209:20)
|
runner › throw error when a runner is not found:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `runner throw error when a runner is not found 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Jest Runner <bold>missing-runner</intensity> cannot be found. Make sure the <bold>runner</intensity> configuration option points to an existing node module.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Jest Runner <bold>missing-runner</intensity> cannot be found. Make sure the <bold>runner</intensity> configuration option points to an existing node module.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2209:20)
|
rootDir › throws if the options is missing a rootDir property:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `rootDir throws if the options is missing a rootDir property 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Configuration option <bold>rootDir</intensity> must be specified.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Configuration option <bold>rootDir</intensity> must be specified.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2209:20)
|
reporters › throws an error if value is neither string nor array:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if value is neither string nor array 1`
- Snapshot - 10
+ Received + 10
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Reporter at index 0 must be of type:</color>
- <red> <bold><green>array or string</color><red></intensity></color>
- <red> but instead received:</color>
- <red> <bold><red>number</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Reporter at index 0 must be of type:
+ <bold><green>array or string<red></intensity>
+ but instead received:
+ <bold><red>number<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2209:20)
|
reporters › throws an error if first value in the tuple is not a string:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if first value in the tuple is not a string 1`
- Snapshot - 15
+ Received + 15
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Unexpected value for Path at index 0 of reporter at index 0</color>
- <red> Expected:</color>
- <red> <bold><red>string</color><red></intensity></color>
- <red> Got:</color>
- <red> <bold><green>number</color><red></intensity></color>
- <red> Reporter configuration:</color>
- <red> <bold><green>[</color><red></intensity></color>
- <red><bold><green> 123</color><red></intensity></color>
- <red><bold><green> ]</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Unexpected value for Path at index 0 of reporter at index 0
+ Expected:
+ <bold><red>string<red></intensity>
+ Got:
+ <bold><green>number<red></intensity>
+ Reporter configuration:
+ <bold><green>[
+ 123
+ ]<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2209:20)
|
reporters › throws an error if second value is missing in the tuple:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if second value is missing in the tuple 1`
- Snapshot - 15
+ Received + 15
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Unexpected value for Reporter Configuration at index 1 of reporter at index 0</color>
- <red> Expected:</color>
- <red> <bold><red>object</color><red></intensity></color>
- <red> Got:</color>
- <red> <bold><green>undefined</color><red></intensity></color>
- <red> Reporter configuration:</color>
- <red> <bold><green>[</color><red></intensity></color>
- <red><bold><green> "some-reporter"</color><red></intensity></color>
- <red><bold><green> ]</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Unexpected value for Reporter Configuration at index 1 of reporter at index 0
+ Expected:
+ <bold><red>object<red></intensity>
+ Got:
+ <bold><green>undefined<red></intensity>
+ Reporter configuration:
+ <bold><green>[
+ "some-reporter"
+ ]<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2209:20)
|
reporters › throws an error if second value in the tuple is not an object:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if second value in the tuple is not an object 1`
- Snapshot - 16
+ Received + 16
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Unexpected value for Reporter Configuration at index 1 of reporter at index 0</color>
- <red> Expected:</color>
- <red> <bold><red>object</color><red></intensity></color>
- <red> Got:</color>
- <red> <bold><green>boolean</color><red></intensity></color>
- <red> Reporter configuration:</color>
- <red> <bold><green>[</color><red></intensity></color>
- <red><bold><green> "some-reporter",</color><red></intensity></color>
- <red><bold><green> true</color><red></intensity></color>
- <red><bold><green> ]</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Unexpected value for Reporter Configuration at index 1 of reporter at index 0
+ Expected:
+ <bold><red>object<red></intensity>
+ Got:
+ <bold><green>boolean<red></intensity>
+ Reporter configuration:
+ <bold><green>[
+ "some-reporter",
+ true
+ ]<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2209:20)
|
testEnvironment › throws on invalid environment names:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `testEnvironment throws on invalid environment names 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Test environment <bold>phantom</intensity> cannot be found. Make sure the <bold>testEnvironment</intensity> configuration option points to an existing node module.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Test environment <bold>phantom</intensity> cannot be found. Make sure the <bold>testEnvironment</intensity> configuration option points to an existing node module.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2209:20)
|
testMatch › throws if testRegex and testMatch are both specified:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `testMatch throws if testRegex and testMatch are both specified 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Configuration options <bold>testMatch</intensity> and <bold>testRegex</intensity> cannot be used together.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Configuration options <bold>testMatch</intensity> and <bold>testRegex</intensity> cannot be used together.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2209:20)
|
preset › throws when preset not found:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `preset throws when preset not found 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Preset <bold>doesnt-exist</intensity> not found relative to rootDir <bold>/root/path/foo</intensity>.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Preset <bold>doesnt-exist</intensity> not found relative to rootDir <bold>/root/path/foo</intensity>.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2209:20)
|
preset › throws when module was found but no "jest-preset.js" or "jest-preset.json" files:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `preset throws when module was found but no "jest-preset.js" or "jest-preset.json" files 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Module <bold>exist-but-no-jest-preset</intensity> should have "jest-preset.js" or "jest-preset.json" file at the root.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Module <bold>exist-but-no-jest-preset</intensity> should have "jest-preset.js" or "jest-preset.json" file at the root.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2209:20)
|
runner › throw error when a runner is not found:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `runner throw error when a runner is not found 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Jest Runner <bold>missing-runner</intensity> cannot be found. Make sure the <bold>runner</intensity> configuration option points to an existing node module.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Jest Runner <bold>missing-runner</intensity> cannot be found. Make sure the <bold>runner</intensity> configuration option points to an existing node module.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2209:20)
|
rootDir › throws if the options is missing a rootDir property:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `rootDir throws if the options is missing a rootDir property 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Configuration option <bold>rootDir</intensity> must be specified.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Configuration option <bold>rootDir</intensity> must be specified.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2209:20)
|
reporters › throws an error if value is neither string nor array:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if value is neither string nor array 1`
- Snapshot - 10
+ Received + 10
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Reporter at index 0 must be of type:</color>
- <red> <bold><green>array or string</color><red></intensity></color>
- <red> but instead received:</color>
- <red> <bold><red>number</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Reporter at index 0 must be of type:
+ <bold><green>array or string<red></intensity>
+ but instead received:
+ <bold><red>number<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2209:20)
|
reporters › throws an error if first value in the tuple is not a string:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if first value in the tuple is not a string 1`
- Snapshot - 15
+ Received + 15
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Unexpected value for Path at index 0 of reporter at index 0</color>
- <red> Expected:</color>
- <red> <bold><red>string</color><red></intensity></color>
- <red> Got:</color>
- <red> <bold><green>number</color><red></intensity></color>
- <red> Reporter configuration:</color>
- <red> <bold><green>[</color><red></intensity></color>
- <red><bold><green> 123</color><red></intensity></color>
- <red><bold><green> ]</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Unexpected value for Path at index 0 of reporter at index 0
+ Expected:
+ <bold><red>string<red></intensity>
+ Got:
+ <bold><green>number<red></intensity>
+ Reporter configuration:
+ <bold><green>[
+ 123
+ ]<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2209:20)
|
reporters › throws an error if second value is missing in the tuple:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if second value is missing in the tuple 1`
- Snapshot - 15
+ Received + 15
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Unexpected value for Reporter Configuration at index 1 of reporter at index 0</color>
- <red> Expected:</color>
- <red> <bold><red>object</color><red></intensity></color>
- <red> Got:</color>
- <red> <bold><green>undefined</color><red></intensity></color>
- <red> Reporter configuration:</color>
- <red> <bold><green>[</color><red></intensity></color>
- <red><bold><green> "some-reporter"</color><red></intensity></color>
- <red><bold><green> ]</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Unexpected value for Reporter Configuration at index 1 of reporter at index 0
+ Expected:
+ <bold><red>object<red></intensity>
+ Got:
+ <bold><green>undefined<red></intensity>
+ Reporter configuration:
+ <bold><green>[
+ "some-reporter"
+ ]<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2209:20)
|
reporters › throws an error if second value in the tuple is not an object:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if second value in the tuple is not an object 1`
- Snapshot - 16
+ Received + 16
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Unexpected value for Reporter Configuration at index 1 of reporter at index 0</color>
- <red> Expected:</color>
- <red> <bold><red>object</color><red></intensity></color>
- <red> Got:</color>
- <red> <bold><green>boolean</color><red></intensity></color>
- <red> Reporter configuration:</color>
- <red> <bold><green>[</color><red></intensity></color>
- <red><bold><green> "some-reporter",</color><red></intensity></color>
- <red><bold><green> true</color><red></intensity></color>
- <red><bold><green> ]</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Unexpected value for Reporter Configuration at index 1 of reporter at index 0
+ Expected:
+ <bold><red>object<red></intensity>
+ Got:
+ <bold><green>boolean<red></intensity>
+ Reporter configuration:
+ <bold><green>[
+ "some-reporter",
+ true
+ ]<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2209:20)
|
testEnvironment › throws on invalid environment names:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `testEnvironment throws on invalid environment names 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Test environment <bold>phantom</intensity> cannot be found. Make sure the <bold>testEnvironment</intensity> configuration option points to an existing node module.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Test environment <bold>phantom</intensity> cannot be found. Make sure the <bold>testEnvironment</intensity> configuration option points to an existing node module.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2209:20)
|
testMatch › throws if testRegex and testMatch are both specified:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `testMatch throws if testRegex and testMatch are both specified 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Configuration options <bold>testMatch</intensity> and <bold>testRegex</intensity> cannot be used together.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Configuration options <bold>testMatch</intensity> and <bold>testRegex</intensity> cannot be used together.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2209:20)
|
preset › throws when preset not found:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `preset throws when preset not found 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Preset <bold>doesnt-exist</intensity> not found relative to rootDir <bold>/root/path/foo</intensity>.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Preset <bold>doesnt-exist</intensity> not found relative to rootDir <bold>/root/path/foo</intensity>.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2209:20)
|
preset › throws when module was found but no "jest-preset.js" or "jest-preset.json" files:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `preset throws when module was found but no "jest-preset.js" or "jest-preset.json" files 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Module <bold>exist-but-no-jest-preset</intensity> should have "jest-preset.js" or "jest-preset.json" file at the root.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Module <bold>exist-but-no-jest-preset</intensity> should have "jest-preset.js" or "jest-preset.json" file at the root.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2209:20)
|
runner › throw error when a runner is not found:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `runner throw error when a runner is not found 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Jest Runner <bold>missing-runner</intensity> cannot be found. Make sure the <bold>runner</intensity> configuration option points to an existing node module.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Jest Runner <bold>missing-runner</intensity> cannot be found. Make sure the <bold>runner</intensity> configuration option points to an existing node module.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2209:20)
|
rootDir › throws if the options is missing a rootDir property:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `rootDir throws if the options is missing a rootDir property 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Configuration option <bold>rootDir</intensity> must be specified.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Configuration option <bold>rootDir</intensity> must be specified.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2209:20)
|
reporters › throws an error if value is neither string nor array:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if value is neither string nor array 1`
- Snapshot - 10
+ Received + 10
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Reporter at index 0 must be of type:</color>
- <red> <bold><green>array or string</color><red></intensity></color>
- <red> but instead received:</color>
- <red> <bold><red>number</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Reporter at index 0 must be of type:
+ <bold><green>array or string<red></intensity>
+ but instead received:
+ <bold><red>number<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2209:20)
|
reporters › throws an error if first value in the tuple is not a string:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if first value in the tuple is not a string 1`
- Snapshot - 15
+ Received + 15
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Unexpected value for Path at index 0 of reporter at index 0</color>
- <red> Expected:</color>
- <red> <bold><red>string</color><red></intensity></color>
- <red> Got:</color>
- <red> <bold><green>number</color><red></intensity></color>
- <red> Reporter configuration:</color>
- <red> <bold><green>[</color><red></intensity></color>
- <red><bold><green> 123</color><red></intensity></color>
- <red><bold><green> ]</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Unexpected value for Path at index 0 of reporter at index 0
+ Expected:
+ <bold><red>string<red></intensity>
+ Got:
+ <bold><green>number<red></intensity>
+ Reporter configuration:
+ <bold><green>[
+ 123
+ ]<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2209:20)
|
reporters › throws an error if second value is missing in the tuple:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if second value is missing in the tuple 1`
- Snapshot - 15
+ Received + 15
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Unexpected value for Reporter Configuration at index 1 of reporter at index 0</color>
- <red> Expected:</color>
- <red> <bold><red>object</color><red></intensity></color>
- <red> Got:</color>
- <red> <bold><green>undefined</color><red></intensity></color>
- <red> Reporter configuration:</color>
- <red> <bold><green>[</color><red></intensity></color>
- <red><bold><green> "some-reporter"</color><red></intensity></color>
- <red><bold><green> ]</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Unexpected value for Reporter Configuration at index 1 of reporter at index 0
+ Expected:
+ <bold><red>object<red></intensity>
+ Got:
+ <bold><green>undefined<red></intensity>
+ Reporter configuration:
+ <bold><green>[
+ "some-reporter"
+ ]<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2209:20)
|
reporters › throws an error if second value in the tuple is not an object:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if second value in the tuple is not an object 1`
- Snapshot - 16
+ Received + 16
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Unexpected value for Reporter Configuration at index 1 of reporter at index 0</color>
- <red> Expected:</color>
- <red> <bold><red>object</color><red></intensity></color>
- <red> Got:</color>
- <red> <bold><green>boolean</color><red></intensity></color>
- <red> Reporter configuration:</color>
- <red> <bold><green>[</color><red></intensity></color>
- <red><bold><green> "some-reporter",</color><red></intensity></color>
- <red><bold><green> true</color><red></intensity></color>
- <red><bold><green> ]</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Unexpected value for Reporter Configuration at index 1 of reporter at index 0
+ Expected:
+ <bold><red>object<red></intensity>
+ Got:
+ <bold><green>boolean<red></intensity>
+ Reporter configuration:
+ <bold><green>[
+ "some-reporter",
+ true
+ ]<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2209:20)
|
testEnvironment › throws on invalid environment names:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `testEnvironment throws on invalid environment names 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Test environment <bold>phantom</intensity> cannot be found. Make sure the <bold>testEnvironment</intensity> configuration option points to an existing node module.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Test environment <bold>phantom</intensity> cannot be found. Make sure the <bold>testEnvironment</intensity> configuration option points to an existing node module.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2209:20)
|
testMatch › throws if testRegex and testMatch are both specified:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `testMatch throws if testRegex and testMatch are both specified 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Configuration options <bold>testMatch</intensity> and <bold>testRegex</intensity> cannot be used together.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Configuration options <bold>testMatch</intensity> and <bold>testRegex</intensity> cannot be used together.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2209:20)
|
preset › throws when preset not found:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `preset throws when preset not found 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Preset <bold>doesnt-exist</intensity> not found relative to rootDir <bold>/root/path/foo</intensity>.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Preset <bold>doesnt-exist</intensity> not found relative to rootDir <bold>/root/path/foo</intensity>.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2209:20)
|
preset › throws when module was found but no "jest-preset.js" or "jest-preset.json" files:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `preset throws when module was found but no "jest-preset.js" or "jest-preset.json" files 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Module <bold>exist-but-no-jest-preset</intensity> should have "jest-preset.js" or "jest-preset.json" file at the root.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Module <bold>exist-but-no-jest-preset</intensity> should have "jest-preset.js" or "jest-preset.json" file at the root.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2209:20)
|
runner › throw error when a runner is not found:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `runner throw error when a runner is not found 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Jest Runner <bold>missing-runner</intensity> cannot be found. Make sure the <bold>runner</intensity> configuration option points to an existing node module.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Jest Runner <bold>missing-runner</intensity> cannot be found. Make sure the <bold>runner</intensity> configuration option points to an existing node module.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2209:20)
|
Watch mode flows › makes watch plugin initialization errors look nice:
undefined#L1
expect(received).rejects.toMatchSnapshot()
Snapshot name: `Watch mode flows makes watch plugin initialization errors look nice 1`
Snapshot: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
Received: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
at Object.toMatchSnapshot (packages/expect/build/index.js:2209:20)
|
printDisplayName › should default displayName color to white when color is not a valid value:
undefined#L1
TypeError: pc.createColors(...)[color] is not a function
at chosenColor (packages/jest-reporters/src/printDisplayName.ts:20:57)
|
Runtime › internalModule › loads internal modules from outside if on the optimization list:
undefined#L1
expect(received).toBe(expected) // Object.is equality
Expected: [Function anonymous]
Received: serializes to the same string
at toBe (packages/jest-runtime/src/__tests__/runtime_internal_module.test.js:89:57)
|
printDisplayName › should default displayName color to white when color is not a valid value:
undefined#L1
TypeError: pc.createColors(...)[color] is not a function
at chosenColor (packages/jest-reporters/src/printDisplayName.ts:20:57)
|
Runtime › internalModule › loads internal modules from outside if on the optimization list:
undefined#L1
expect(received).toBe(expected) // Object.is equality
Expected: [Function anonymous]
Received: serializes to the same string
at toBe (packages/jest-runtime/src/__tests__/runtime_internal_module.test.js:89:57)
|
Watch mode flows › makes watch plugin initialization errors look nice:
undefined#L1
expect(received).rejects.toMatchSnapshot()
Snapshot name: `Watch mode flows makes watch plugin initialization errors look nice 1`
Snapshot: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
Received: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
at Object.toMatchSnapshot (packages/expect/build/index.js:2209:20)
|
printDisplayName › should default displayName color to white when color is not a valid value:
undefined#L1
TypeError: pc.createColors(...)[color] is not a function
at chosenColor (packages/jest-reporters/src/printDisplayName.ts:20:57)
|
Runtime › internalModule › loads internal modules from outside if on the optimization list:
undefined#L1
expect(received).toBe(expected) // Object.is equality
Expected: [Function anonymous]
Received: serializes to the same string
at toBe (packages/jest-runtime/src/__tests__/runtime_internal_module.test.js:89:57)
|
Watch mode flows › makes watch plugin initialization errors look nice:
undefined#L1
expect(received).rejects.toMatchSnapshot()
Snapshot name: `Watch mode flows makes watch plugin initialization errors look nice 1`
Snapshot: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
Received: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
at Object.toMatchSnapshot (packages/expect/build/index.js:2209:20)
|
Windows with shard 2/4 / Node LTS using jest-jasmine2
Final attempt failed. Child_process exited with error code 1
|
Watch mode flows › makes watch plugin initialization errors look nice:
undefined#L1
expect(received).rejects.toMatchSnapshot()
Snapshot name: `Watch mode flows makes watch plugin initialization errors look nice 1`
Snapshot: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
Received: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
at Object.toMatchSnapshot (packages/expect/build/index.js:2209:20)
|
printDisplayName › should default displayName color to white when color is not a valid value:
undefined#L1
TypeError: pc.createColors(...)[color] is not a function
at chosenColor (packages/jest-reporters/src/printDisplayName.ts:20:57)
|
Runtime › internalModule › loads internal modules from outside if on the optimization list:
undefined#L1
expect(received).toBe(expected) // Object.is equality
Expected: [Function anonymous]
Received: serializes to the same string
at toBe (packages/jest-runtime/src/__tests__/runtime_internal_module.test.js:89:57)
|
printDisplayName › should default displayName color to white when color is not a valid value:
undefined#L1
TypeError: pc.createColors(...)[color] is not a function
at chosenColor (packages/jest-reporters/src/printDisplayName.ts:20:57)
|
Runtime › internalModule › loads internal modules from outside if on the optimization list:
undefined#L1
expect(received).toBe(expected) // Object.is equality
Expected: [Function anonymous]
Received: serializes to the same string
at toBe (packages/jest-runtime/src/__tests__/runtime_internal_module.test.js:89:57)
|
Watch mode flows › makes watch plugin initialization errors look nice:
undefined#L1
expect(received).rejects.toMatchSnapshot()
Snapshot name: `Watch mode flows makes watch plugin initialization errors look nice 1`
Snapshot: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
Received: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
at Object.toMatchSnapshot (packages/expect/build/index.js:2209:20)
|
printDisplayName › should default displayName color to white when color is not a valid value:
undefined#L1
TypeError: pc.createColors(...)[color] is not a function
at chosenColor (packages/jest-reporters/src/printDisplayName.ts:20:57)
|
Runtime › internalModule › loads internal modules from outside if on the optimization list:
undefined#L1
expect(received).toBe(expected) // Object.is equality
Expected: [Function anonymous]
Received: serializes to the same string
at toBe (packages/jest-runtime/src/__tests__/runtime_internal_module.test.js:89:57)
|
Watch mode flows › makes watch plugin initialization errors look nice:
undefined#L1
expect(received).rejects.toMatchSnapshot()
Snapshot name: `Watch mode flows makes watch plugin initialization errors look nice 1`
Snapshot: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
Received: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
at Object.toMatchSnapshot (packages/expect/build/index.js:2209:20)
|
Windows with shard 2/4 / Node v18.x
Final attempt failed. Child_process exited with error code 1
|
Watch mode flows › makes watch plugin initialization errors look nice:
undefined#L1
expect(received).rejects.toMatchSnapshot()
Snapshot name: `Watch mode flows makes watch plugin initialization errors look nice 1`
Snapshot: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
Received: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
at Object.toMatchSnapshot (packages/expect/build/index.js:2209:20)
|
printDisplayName › should default displayName color to white when color is not a valid value:
undefined#L1
TypeError: pc.createColors(...)[color] is not a function
at chosenColor (packages/jest-reporters/src/printDisplayName.ts:20:57)
|
Runtime › internalModule › loads internal modules from outside if on the optimization list:
undefined#L1
expect(received).toBe(expected) // Object.is equality
Expected: [Function anonymous]
Received: serializes to the same string
at toBe (packages/jest-runtime/src/__tests__/runtime_internal_module.test.js:89:57)
|
printDisplayName › should default displayName color to white when color is not a valid value:
undefined#L1
TypeError: pc.createColors(...)[color] is not a function
at chosenColor (packages/jest-reporters/src/printDisplayName.ts:20:57)
|
Runtime › internalModule › loads internal modules from outside if on the optimization list:
undefined#L1
expect(received).toBe(expected) // Object.is equality
Expected: [Function anonymous]
Received: serializes to the same string
at toBe (packages/jest-runtime/src/__tests__/runtime_internal_module.test.js:89:57)
|
Watch mode flows › makes watch plugin initialization errors look nice:
undefined#L1
expect(received).rejects.toMatchSnapshot()
Snapshot name: `Watch mode flows makes watch plugin initialization errors look nice 1`
Snapshot: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
Received: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
at Object.toMatchSnapshot (packages/expect/build/index.js:2209:20)
|
printDisplayName › should default displayName color to white when color is not a valid value:
undefined#L1
TypeError: pc.createColors(...)[color] is not a function
at chosenColor (packages/jest-reporters/src/printDisplayName.ts:20:57)
|
Runtime › internalModule › loads internal modules from outside if on the optimization list:
undefined#L1
expect(received).toBe(expected) // Object.is equality
Expected: [Function anonymous]
Received: serializes to the same string
at toBe (packages/jest-runtime/src/__tests__/runtime_internal_module.test.js:89:57)
|
Watch mode flows › makes watch plugin initialization errors look nice:
undefined#L1
expect(received).rejects.toMatchSnapshot()
Snapshot name: `Watch mode flows makes watch plugin initialization errors look nice 1`
Snapshot: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
Received: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
at Object.toMatchSnapshot (packages/expect/build/index.js:2209:20)
|
Windows with shard 2/4 / Node v16.x
Final attempt failed. Child_process exited with error code 1
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 1`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 2`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 3`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 4`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
ScriptTransformer › throws an error if `processAsync` doesn't return a promise of object containing `code` key with processed string:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`processAsync\` doesn't return a promise of object containing \`code\` key with processed string 1`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor-fruits-banana-js" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor-fruits-banana-js"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
at Array.map (<anonymous>)
|
ScriptTransformer › throws an error if `processAsync` doesn't return a promise of object containing `code` key with processed string:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`processAsync\` doesn't return a promise of object containing \`code\` key with processed string 2`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor-fruits-avocado-js" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor-fruits-avocado-js"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
at Array.map (<anonymous>)
|
ScriptTransformer › throws an error if `processAsync` doesn't return a promise of object containing `code` key with processed string:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`processAsync\` doesn't return a promise of object containing \`code\` key with processed string 3`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor-fruits-kiwi-js" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor-fruits-kiwi-js"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
at Array.map (<anonymous>)
|
ScriptTransformer › throws an error if `processAsync` doesn't return a promise of object containing `code` key with processed string:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`processAsync\` doesn't return a promise of object containing \`code\` key with processed string 4`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor-fruits-grapefruit-js" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor-fruits-grapefruit-js"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
at Array.map (<anonymous>)
|
ScriptTransformer › throws an error if neither `process` nor `processAsync` is defined:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if neither \`process\` nor \`processAsync\` is defined 1`
- Snapshot - 6
+ Received + 6
- "<red><bold>● Invalid transformer module:</intensity></color>
- <red> "skipped-required-props-preprocessor" specified in the "transform" object of Jest configuration</color>
- <red> must export a `process` or `processAsync` or `createTransformer` function.</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid transformer module:</intensity>
+ "skipped-required-props-preprocessor" specified in the "transform" object of Jest configuration
+ must export a `process` or `processAsync` or `createTransformer` function.
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
ScriptTransformer › (in sync mode) throws an error if `process` isn't defined:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer (in sync mode) throws an error if \`process\` isn't defined 1`
- Snapshot - 6
+ Received + 6
- "<red><bold>● Invalid synchronous transformer module:</intensity></color>
- <red> "skipped-required-props-preprocessor-only-async" specified in the "transform" object of Jest configuration</color>
- <red> must export a `process` function.</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid synchronous transformer module:</intensity>
+ "skipped-required-props-preprocessor-only-async" specified in the "transform" object of Jest configuration
+ must export a `process` function.
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:542:7)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 1`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 2`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 3`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 4`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
ScriptTransformer › throws an error if `processAsync` doesn't return a promise of object containing `code` key with processed string:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`processAsync\` doesn't return a promise of object containing \`code\` key with processed string 1`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor-fruits-banana-js" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor-fruits-banana-js"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
at Array.map (<anonymous>)
|
ScriptTransformer › throws an error if `processAsync` doesn't return a promise of object containing `code` key with processed string:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`processAsync\` doesn't return a promise of object containing \`code\` key with processed string 2`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor-fruits-avocado-js" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor-fruits-avocado-js"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
at Array.map (<anonymous>)
|
ScriptTransformer › throws an error if `processAsync` doesn't return a promise of object containing `code` key with processed string:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`processAsync\` doesn't return a promise of object containing \`code\` key with processed string 3`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor-fruits-kiwi-js" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor-fruits-kiwi-js"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
at Array.map (<anonymous>)
|
ScriptTransformer › throws an error if `processAsync` doesn't return a promise of object containing `code` key with processed string:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`processAsync\` doesn't return a promise of object containing \`code\` key with processed string 4`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor-fruits-grapefruit-js" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor-fruits-grapefruit-js"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
at Array.map (<anonymous>)
|
ScriptTransformer › throws an error if neither `process` nor `processAsync` is defined:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if neither \`process\` nor \`processAsync\` is defined 1`
- Snapshot - 6
+ Received + 6
- "<red><bold>● Invalid transformer module:</intensity></color>
- <red> "skipped-required-props-preprocessor" specified in the "transform" object of Jest configuration</color>
- <red> must export a `process` or `processAsync` or `createTransformer` function.</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid transformer module:</intensity>
+ "skipped-required-props-preprocessor" specified in the "transform" object of Jest configuration
+ must export a `process` or `processAsync` or `createTransformer` function.
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
ScriptTransformer › (in sync mode) throws an error if `process` isn't defined:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer (in sync mode) throws an error if \`process\` isn't defined 1`
- Snapshot - 6
+ Received + 6
- "<red><bold>● Invalid synchronous transformer module:</intensity></color>
- <red> "skipped-required-props-preprocessor-only-async" specified in the "transform" object of Jest configuration</color>
- <red> must export a `process` function.</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid synchronous transformer module:</intensity>
+ "skipped-required-props-preprocessor-only-async" specified in the "transform" object of Jest configuration
+ must export a `process` function.
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:542:7)
|
rootDir › throws if the options is missing a rootDir property:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `rootDir throws if the options is missing a rootDir property 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Configuration option <bold>rootDir</intensity> must be specified.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Configuration option <bold>rootDir</intensity> must be specified.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
reporters › throws an error if value is neither string nor array:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if value is neither string nor array 1`
- Snapshot - 10
+ Received + 10
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Reporter at index 0 must be of type:</color>
- <red> <bold><green>array or string</color><red></intensity></color>
- <red> but instead received:</color>
- <red> <bold><red>number</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Reporter at index 0 must be of type:
+ <bold><green>array or string<red></intensity>
+ but instead received:
+ <bold><red>number<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
reporters › throws an error if first value in the tuple is not a string:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if first value in the tuple is not a string 1`
- Snapshot - 15
+ Received + 15
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Unexpected value for Path at index 0 of reporter at index 0</color>
- <red> Expected:</color>
- <red> <bold><red>string</color><red></intensity></color>
- <red> Got:</color>
- <red> <bold><green>number</color><red></intensity></color>
- <red> Reporter configuration:</color>
- <red> <bold><green>[</color><red></intensity></color>
- <red><bold><green> 123</color><red></intensity></color>
- <red><bold><green> ]</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Unexpected value for Path at index 0 of reporter at index 0
+ Expected:
+ <bold><red>string<red></intensity>
+ Got:
+ <bold><green>number<red></intensity>
+ Reporter configuration:
+ <bold><green>[
+ 123
+ ]<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
reporters › throws an error if second value is missing in the tuple:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if second value is missing in the tuple 1`
- Snapshot - 15
+ Received + 15
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Unexpected value for Reporter Configuration at index 1 of reporter at index 0</color>
- <red> Expected:</color>
- <red> <bold><red>object</color><red></intensity></color>
- <red> Got:</color>
- <red> <bold><green>undefined</color><red></intensity></color>
- <red> Reporter configuration:</color>
- <red> <bold><green>[</color><red></intensity></color>
- <red><bold><green> "some-reporter"</color><red></intensity></color>
- <red><bold><green> ]</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Unexpected value for Reporter Configuration at index 1 of reporter at index 0
+ Expected:
+ <bold><red>object<red></intensity>
+ Got:
+ <bold><green>undefined<red></intensity>
+ Reporter configuration:
+ <bold><green>[
+ "some-reporter"
+ ]<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
reporters › throws an error if second value in the tuple is not an object:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if second value in the tuple is not an object 1`
- Snapshot - 16
+ Received + 16
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Unexpected value for Reporter Configuration at index 1 of reporter at index 0</color>
- <red> Expected:</color>
- <red> <bold><red>object</color><red></intensity></color>
- <red> Got:</color>
- <red> <bold><green>boolean</color><red></intensity></color>
- <red> Reporter configuration:</color>
- <red> <bold><green>[</color><red></intensity></color>
- <red><bold><green> "some-reporter",</color><red></intensity></color>
- <red><bold><green> true</color><red></intensity></color>
- <red><bold><green> ]</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Unexpected value for Reporter Configuration at index 1 of reporter at index 0
+ Expected:
+ <bold><red>object<red></intensity>
+ Got:
+ <bold><green>boolean<red></intensity>
+ Reporter configuration:
+ <bold><green>[
+ "some-reporter",
+ true
+ ]<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
testEnvironment › throws on invalid environment names:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `testEnvironment throws on invalid environment names 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Test environment <bold>phantom</intensity> cannot be found. Make sure the <bold>testEnvironment</intensity> configuration option points to an existing node module.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Test environment <bold>phantom</intensity> cannot be found. Make sure the <bold>testEnvironment</intensity> configuration option points to an existing node module.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
testMatch › throws if testRegex and testMatch are both specified:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `testMatch throws if testRegex and testMatch are both specified 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Configuration options <bold>testMatch</intensity> and <bold>testRegex</intensity> cannot be used together.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Configuration options <bold>testMatch</intensity> and <bold>testRegex</intensity> cannot be used together.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
preset › throws when preset not found:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `preset throws when preset not found 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Preset <bold>doesnt-exist</intensity> not found relative to rootDir <bold>/root/path/foo</intensity>.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Preset <bold>doesnt-exist</intensity> not found relative to rootDir <bold>/root/path/foo</intensity>.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
preset › throws when module was found but no "jest-preset.js" or "jest-preset.json" files:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `preset throws when module was found but no "jest-preset.js" or "jest-preset.json" files 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Module <bold>exist-but-no-jest-preset</intensity> should have "jest-preset.js" or "jest-preset.json" file at the root.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Module <bold>exist-but-no-jest-preset</intensity> should have "jest-preset.js" or "jest-preset.json" file at the root.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
runner › throw error when a runner is not found:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `runner throw error when a runner is not found 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Jest Runner <bold>missing-runner</intensity> cannot be found. Make sure the <bold>runner</intensity> configuration option points to an existing node module.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Jest Runner <bold>missing-runner</intensity> cannot be found. Make sure the <bold>runner</intensity> configuration option points to an existing node module.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
Watch mode flows › makes watch plugin initialization errors look nice:
undefined#L1
expect(received).rejects.toMatchSnapshot()
Snapshot name: `Watch mode flows makes watch plugin initialization errors look nice 1`
Snapshot: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
Received: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
at Object.toMatchSnapshot (packages/expect/build/index.js:2209:20)
|
printDisplayName › should default displayName color to white when color is not a valid value:
undefined#L1
TypeError: pc.createColors(...)[color] is not a function
at chosenColor (packages/jest-reporters/src/printDisplayName.ts:20:57)
|
Runtime › internalModule › loads internal modules from outside if on the optimization list:
undefined#L1
expect(received).toBe(expected) // Object.is equality
Expected: [Function anonymous]
Received: serializes to the same string
at toBe (packages/jest-runtime/src/__tests__/runtime_internal_module.test.js:89:57)
|
printDisplayName › should default displayName color to white when color is not a valid value:
undefined#L1
TypeError: pc.createColors(...)[color] is not a function
at chosenColor (packages/jest-reporters/src/printDisplayName.ts:20:57)
|
Runtime › internalModule › loads internal modules from outside if on the optimization list:
undefined#L1
expect(received).toBe(expected) // Object.is equality
Expected: [Function anonymous]
Received: serializes to the same string
at toBe (packages/jest-runtime/src/__tests__/runtime_internal_module.test.js:89:57)
|
Watch mode flows › makes watch plugin initialization errors look nice:
undefined#L1
expect(received).rejects.toMatchSnapshot()
Snapshot name: `Watch mode flows makes watch plugin initialization errors look nice 1`
Snapshot: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
Received: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
at Object.toMatchSnapshot (packages/expect/build/index.js:2209:20)
|
printDisplayName › should default displayName color to white when color is not a valid value:
undefined#L1
TypeError: pc.createColors(...)[color] is not a function
at chosenColor (packages/jest-reporters/src/printDisplayName.ts:20:57)
|
Runtime › internalModule › loads internal modules from outside if on the optimization list:
undefined#L1
expect(received).toBe(expected) // Object.is equality
Expected: [Function anonymous]
Received: serializes to the same string
at toBe (packages/jest-runtime/src/__tests__/runtime_internal_module.test.js:89:57)
|
Watch mode flows › makes watch plugin initialization errors look nice:
undefined#L1
expect(received).rejects.toMatchSnapshot()
Snapshot name: `Watch mode flows makes watch plugin initialization errors look nice 1`
Snapshot: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
Received: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
at Object.toMatchSnapshot (packages/expect/build/index.js:2209:20)
|
Windows with shard 2/4 / Node v20.x
Final attempt failed. Child_process exited with error code 1
|
rootDir › throws if the options is missing a rootDir property:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `rootDir throws if the options is missing a rootDir property 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Configuration option <bold>rootDir</intensity> must be specified.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Configuration option <bold>rootDir</intensity> must be specified.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
reporters › throws an error if value is neither string nor array:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if value is neither string nor array 1`
- Snapshot - 10
+ Received + 10
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Reporter at index 0 must be of type:</color>
- <red> <bold><green>array or string</color><red></intensity></color>
- <red> but instead received:</color>
- <red> <bold><red>number</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Reporter at index 0 must be of type:
+ <bold><green>array or string<red></intensity>
+ but instead received:
+ <bold><red>number<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
reporters › throws an error if first value in the tuple is not a string:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if first value in the tuple is not a string 1`
- Snapshot - 15
+ Received + 15
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Unexpected value for Path at index 0 of reporter at index 0</color>
- <red> Expected:</color>
- <red> <bold><red>string</color><red></intensity></color>
- <red> Got:</color>
- <red> <bold><green>number</color><red></intensity></color>
- <red> Reporter configuration:</color>
- <red> <bold><green>[</color><red></intensity></color>
- <red><bold><green> 123</color><red></intensity></color>
- <red><bold><green> ]</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Unexpected value for Path at index 0 of reporter at index 0
+ Expected:
+ <bold><red>string<red></intensity>
+ Got:
+ <bold><green>number<red></intensity>
+ Reporter configuration:
+ <bold><green>[
+ 123
+ ]<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
reporters › throws an error if second value is missing in the tuple:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if second value is missing in the tuple 1`
- Snapshot - 15
+ Received + 15
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Unexpected value for Reporter Configuration at index 1 of reporter at index 0</color>
- <red> Expected:</color>
- <red> <bold><red>object</color><red></intensity></color>
- <red> Got:</color>
- <red> <bold><green>undefined</color><red></intensity></color>
- <red> Reporter configuration:</color>
- <red> <bold><green>[</color><red></intensity></color>
- <red><bold><green> "some-reporter"</color><red></intensity></color>
- <red><bold><green> ]</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Unexpected value for Reporter Configuration at index 1 of reporter at index 0
+ Expected:
+ <bold><red>object<red></intensity>
+ Got:
+ <bold><green>undefined<red></intensity>
+ Reporter configuration:
+ <bold><green>[
+ "some-reporter"
+ ]<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
reporters › throws an error if second value in the tuple is not an object:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if second value in the tuple is not an object 1`
- Snapshot - 16
+ Received + 16
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Unexpected value for Reporter Configuration at index 1 of reporter at index 0</color>
- <red> Expected:</color>
- <red> <bold><red>object</color><red></intensity></color>
- <red> Got:</color>
- <red> <bold><green>boolean</color><red></intensity></color>
- <red> Reporter configuration:</color>
- <red> <bold><green>[</color><red></intensity></color>
- <red><bold><green> "some-reporter",</color><red></intensity></color>
- <red><bold><green> true</color><red></intensity></color>
- <red><bold><green> ]</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Unexpected value for Reporter Configuration at index 1 of reporter at index 0
+ Expected:
+ <bold><red>object<red></intensity>
+ Got:
+ <bold><green>boolean<red></intensity>
+ Reporter configuration:
+ <bold><green>[
+ "some-reporter",
+ true
+ ]<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
testEnvironment › throws on invalid environment names:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `testEnvironment throws on invalid environment names 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Test environment <bold>phantom</intensity> cannot be found. Make sure the <bold>testEnvironment</intensity> configuration option points to an existing node module.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Test environment <bold>phantom</intensity> cannot be found. Make sure the <bold>testEnvironment</intensity> configuration option points to an existing node module.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
testMatch › throws if testRegex and testMatch are both specified:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `testMatch throws if testRegex and testMatch are both specified 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Configuration options <bold>testMatch</intensity> and <bold>testRegex</intensity> cannot be used together.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Configuration options <bold>testMatch</intensity> and <bold>testRegex</intensity> cannot be used together.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
preset › throws when preset not found:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `preset throws when preset not found 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Preset <bold>doesnt-exist</intensity> not found relative to rootDir <bold>/root/path/foo</intensity>.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Preset <bold>doesnt-exist</intensity> not found relative to rootDir <bold>/root/path/foo</intensity>.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
preset › throws when module was found but no "jest-preset.js" or "jest-preset.json" files:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `preset throws when module was found but no "jest-preset.js" or "jest-preset.json" files 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Module <bold>exist-but-no-jest-preset</intensity> should have "jest-preset.js" or "jest-preset.json" file at the root.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Module <bold>exist-but-no-jest-preset</intensity> should have "jest-preset.js" or "jest-preset.json" file at the root.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
runner › throw error when a runner is not found:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `runner throw error when a runner is not found 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Jest Runner <bold>missing-runner</intensity> cannot be found. Make sure the <bold>runner</intensity> configuration option points to an existing node module.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Jest Runner <bold>missing-runner</intensity> cannot be found. Make sure the <bold>runner</intensity> configuration option points to an existing node module.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
Watch mode flows › makes watch plugin initialization errors look nice:
undefined#L1
expect(received).rejects.toMatchSnapshot()
Snapshot name: `Watch mode flows makes watch plugin initialization errors look nice 1`
Snapshot: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
Received: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
at Object.toMatchSnapshot (packages/expect/build/index.js:2209:20)
|
printDisplayName › should default displayName color to white when color is not a valid value:
undefined#L1
TypeError: pc.createColors(...)[color] is not a function
at chosenColor (packages/jest-reporters/src/printDisplayName.ts:20:57)
|
Runtime › internalModule › loads internal modules from outside if on the optimization list:
undefined#L1
expect(received).toBe(expected) // Object.is equality
Expected: [Function anonymous]
Received: serializes to the same string
at toBe (packages/jest-runtime/src/__tests__/runtime_internal_module.test.js:89:57)
|
printDisplayName › should default displayName color to white when color is not a valid value:
undefined#L1
TypeError: pc.createColors(...)[color] is not a function
at chosenColor (packages/jest-reporters/src/printDisplayName.ts:20:57)
|
Runtime › internalModule › loads internal modules from outside if on the optimization list:
undefined#L1
expect(received).toBe(expected) // Object.is equality
Expected: [Function anonymous]
Received: serializes to the same string
at toBe (packages/jest-runtime/src/__tests__/runtime_internal_module.test.js:89:57)
|
Watch mode flows › makes watch plugin initialization errors look nice:
undefined#L1
expect(received).rejects.toMatchSnapshot()
Snapshot name: `Watch mode flows makes watch plugin initialization errors look nice 1`
Snapshot: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
Received: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
at Object.toMatchSnapshot (packages/expect/build/index.js:2209:20)
|
handles a bad revision for "changedSince":
e2e/Utils.ts#L107
EPERM, Permission denied: \\?\C:\Users\RUNNER~1\AppData\Local\Temp\jest-changed-files-test-dir '\\?\C:\Users\RUNNER~1\AppData\Local\Temp\jest-changed-files-test-dir'
at rmSync (e2e/Utils.ts:107:8)
at Object.<anonymous> (e2e/__tests__/jestChangedFiles.test.ts:61:25)
|
handles a bad revision for "changedSince":
e2e/Utils.ts#L107
EPERM, Permission denied: \\?\C:\Users\RUNNER~1\AppData\Local\Temp\jest-changed-files-test-dir '\\?\C:\Users\RUNNER~1\AppData\Local\Temp\jest-changed-files-test-dir'
at rmSync (e2e/Utils.ts:107:8)
at Object.<anonymous> (e2e/__tests__/jestChangedFiles.test.ts:62:24)
|
printDisplayName › should default displayName color to white when color is not a valid value:
undefined#L1
TypeError: pc.createColors(...)[color] is not a function
at chosenColor (packages/jest-reporters/src/printDisplayName.ts:20:57)
|
Runtime › internalModule › loads internal modules from outside if on the optimization list:
undefined#L1
expect(received).toBe(expected) // Object.is equality
Expected: [Function anonymous]
Received: serializes to the same string
at toBe (packages/jest-runtime/src/__tests__/runtime_internal_module.test.js:89:57)
|
Watch mode flows › makes watch plugin initialization errors look nice:
undefined#L1
expect(received).rejects.toMatchSnapshot()
Snapshot name: `Watch mode flows makes watch plugin initialization errors look nice 1`
Snapshot: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
Received: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
at Object.toMatchSnapshot (packages/expect/build/index.js:2209:20)
|
printDisplayName › should default displayName color to white when color is not a valid value:
undefined#L1
TypeError: pc.createColors(...)[color] is not a function
at chosenColor (packages/jest-reporters/src/printDisplayName.ts:20:57)
|
Runtime › internalModule › loads internal modules from outside if on the optimization list:
undefined#L1
expect(received).toBe(expected) // Object.is equality
Expected: [Function anonymous]
Received: serializes to the same string
at toBe (packages/jest-runtime/src/__tests__/runtime_internal_module.test.js:89:57)
|
printDisplayName › should default displayName color to white when color is not a valid value:
undefined#L1
TypeError: pc.createColors(...)[color] is not a function
at chosenColor (packages/jest-reporters/src/printDisplayName.ts:20:57)
|
Runtime › internalModule › loads internal modules from outside if on the optimization list:
undefined#L1
expect(received).toBe(expected) // Object.is equality
Expected: [Function anonymous]
Received: serializes to the same string
at toBe (packages/jest-runtime/src/__tests__/runtime_internal_module.test.js:89:57)
|
Watch mode flows › makes watch plugin initialization errors look nice:
undefined#L1
expect(received).rejects.toMatchSnapshot()
Snapshot name: `Watch mode flows makes watch plugin initialization errors look nice 1`
Snapshot: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
Received: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
at Object.toMatchSnapshot (packages/expect/build/index.js:2209:20)
|
printDisplayName › should default displayName color to white when color is not a valid value:
undefined#L1
TypeError: pc.createColors(...)[color] is not a function
at chosenColor (packages/jest-reporters/src/printDisplayName.ts:20:57)
|
Runtime › internalModule › loads internal modules from outside if on the optimization list:
undefined#L1
expect(received).toBe(expected) // Object.is equality
Expected: [Function anonymous]
Received: serializes to the same string
at toBe (packages/jest-runtime/src/__tests__/runtime_internal_module.test.js:89:57)
|
Watch mode flows › makes watch plugin initialization errors look nice:
undefined#L1
expect(received).rejects.toMatchSnapshot()
Snapshot name: `Watch mode flows makes watch plugin initialization errors look nice 1`
Snapshot: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
Received: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
at Object.toMatchSnapshot (packages/expect/build/index.js:2209:20)
|
Windows with shard 2/4 / Node v22.x
Final attempt failed. Child_process exited with error code 1
|
rootDir › throws if the options is missing a rootDir property:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `rootDir throws if the options is missing a rootDir property 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Configuration option <bold>rootDir</intensity> must be specified.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Configuration option <bold>rootDir</intensity> must be specified.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
reporters › throws an error if value is neither string nor array:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if value is neither string nor array 1`
- Snapshot - 10
+ Received + 10
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Reporter at index 0 must be of type:</color>
- <red> <bold><green>array or string</color><red></intensity></color>
- <red> but instead received:</color>
- <red> <bold><red>number</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Reporter at index 0 must be of type:
+ <bold><green>array or string<red></intensity>
+ but instead received:
+ <bold><red>number<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
reporters › throws an error if first value in the tuple is not a string:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if first value in the tuple is not a string 1`
- Snapshot - 15
+ Received + 15
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Unexpected value for Path at index 0 of reporter at index 0</color>
- <red> Expected:</color>
- <red> <bold><red>string</color><red></intensity></color>
- <red> Got:</color>
- <red> <bold><green>number</color><red></intensity></color>
- <red> Reporter configuration:</color>
- <red> <bold><green>[</color><red></intensity></color>
- <red><bold><green> 123</color><red></intensity></color>
- <red><bold><green> ]</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Unexpected value for Path at index 0 of reporter at index 0
+ Expected:
+ <bold><red>string<red></intensity>
+ Got:
+ <bold><green>number<red></intensity>
+ Reporter configuration:
+ <bold><green>[
+ 123
+ ]<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
reporters › throws an error if second value is missing in the tuple:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if second value is missing in the tuple 1`
- Snapshot - 15
+ Received + 15
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Unexpected value for Reporter Configuration at index 1 of reporter at index 0</color>
- <red> Expected:</color>
- <red> <bold><red>object</color><red></intensity></color>
- <red> Got:</color>
- <red> <bold><green>undefined</color><red></intensity></color>
- <red> Reporter configuration:</color>
- <red> <bold><green>[</color><red></intensity></color>
- <red><bold><green> "some-reporter"</color><red></intensity></color>
- <red><bold><green> ]</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Unexpected value for Reporter Configuration at index 1 of reporter at index 0
+ Expected:
+ <bold><red>object<red></intensity>
+ Got:
+ <bold><green>undefined<red></intensity>
+ Reporter configuration:
+ <bold><green>[
+ "some-reporter"
+ ]<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
reporters › throws an error if second value in the tuple is not an object:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if second value in the tuple is not an object 1`
- Snapshot - 16
+ Received + 16
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Unexpected value for Reporter Configuration at index 1 of reporter at index 0</color>
- <red> Expected:</color>
- <red> <bold><red>object</color><red></intensity></color>
- <red> Got:</color>
- <red> <bold><green>boolean</color><red></intensity></color>
- <red> Reporter configuration:</color>
- <red> <bold><green>[</color><red></intensity></color>
- <red><bold><green> "some-reporter",</color><red></intensity></color>
- <red><bold><green> true</color><red></intensity></color>
- <red><bold><green> ]</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Unexpected value for Reporter Configuration at index 1 of reporter at index 0
+ Expected:
+ <bold><red>object<red></intensity>
+ Got:
+ <bold><green>boolean<red></intensity>
+ Reporter configuration:
+ <bold><green>[
+ "some-reporter",
+ true
+ ]<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
testEnvironment › throws on invalid environment names:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `testEnvironment throws on invalid environment names 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Test environment <bold>phantom</intensity> cannot be found. Make sure the <bold>testEnvironment</intensity> configuration option points to an existing node module.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Test environment <bold>phantom</intensity> cannot be found. Make sure the <bold>testEnvironment</intensity> configuration option points to an existing node module.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
testMatch › throws if testRegex and testMatch are both specified:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `testMatch throws if testRegex and testMatch are both specified 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Configuration options <bold>testMatch</intensity> and <bold>testRegex</intensity> cannot be used together.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Configuration options <bold>testMatch</intensity> and <bold>testRegex</intensity> cannot be used together.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
preset › throws when preset not found:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `preset throws when preset not found 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Preset <bold>doesnt-exist</intensity> not found relative to rootDir <bold>/root/path/foo</intensity>.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Preset <bold>doesnt-exist</intensity> not found relative to rootDir <bold>/root/path/foo</intensity>.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
preset › throws when module was found but no "jest-preset.js" or "jest-preset.json" files:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `preset throws when module was found but no "jest-preset.js" or "jest-preset.json" files 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Module <bold>exist-but-no-jest-preset</intensity> should have "jest-preset.js" or "jest-preset.json" file at the root.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Module <bold>exist-but-no-jest-preset</intensity> should have "jest-preset.js" or "jest-preset.json" file at the root.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
runner › throw error when a runner is not found:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `runner throw error when a runner is not found 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Jest Runner <bold>missing-runner</intensity> cannot be found. Make sure the <bold>runner</intensity> configuration option points to an existing node module.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Jest Runner <bold>missing-runner</intensity> cannot be found. Make sure the <bold>runner</intensity> configuration option points to an existing node module.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
rootDir › throws if the options is missing a rootDir property:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `rootDir throws if the options is missing a rootDir property 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Configuration option <bold>rootDir</intensity> must be specified.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Configuration option <bold>rootDir</intensity> must be specified.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
reporters › throws an error if value is neither string nor array:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if value is neither string nor array 1`
- Snapshot - 10
+ Received + 10
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Reporter at index 0 must be of type:</color>
- <red> <bold><green>array or string</color><red></intensity></color>
- <red> but instead received:</color>
- <red> <bold><red>number</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Reporter at index 0 must be of type:
+ <bold><green>array or string<red></intensity>
+ but instead received:
+ <bold><red>number<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
reporters › throws an error if first value in the tuple is not a string:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if first value in the tuple is not a string 1`
- Snapshot - 15
+ Received + 15
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Unexpected value for Path at index 0 of reporter at index 0</color>
- <red> Expected:</color>
- <red> <bold><red>string</color><red></intensity></color>
- <red> Got:</color>
- <red> <bold><green>number</color><red></intensity></color>
- <red> Reporter configuration:</color>
- <red> <bold><green>[</color><red></intensity></color>
- <red><bold><green> 123</color><red></intensity></color>
- <red><bold><green> ]</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Unexpected value for Path at index 0 of reporter at index 0
+ Expected:
+ <bold><red>string<red></intensity>
+ Got:
+ <bold><green>number<red></intensity>
+ Reporter configuration:
+ <bold><green>[
+ 123
+ ]<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
reporters › throws an error if second value is missing in the tuple:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if second value is missing in the tuple 1`
- Snapshot - 15
+ Received + 15
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Unexpected value for Reporter Configuration at index 1 of reporter at index 0</color>
- <red> Expected:</color>
- <red> <bold><red>object</color><red></intensity></color>
- <red> Got:</color>
- <red> <bold><green>undefined</color><red></intensity></color>
- <red> Reporter configuration:</color>
- <red> <bold><green>[</color><red></intensity></color>
- <red><bold><green> "some-reporter"</color><red></intensity></color>
- <red><bold><green> ]</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Unexpected value for Reporter Configuration at index 1 of reporter at index 0
+ Expected:
+ <bold><red>object<red></intensity>
+ Got:
+ <bold><green>undefined<red></intensity>
+ Reporter configuration:
+ <bold><green>[
+ "some-reporter"
+ ]<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
reporters › throws an error if second value in the tuple is not an object:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if second value in the tuple is not an object 1`
- Snapshot - 16
+ Received + 16
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Unexpected value for Reporter Configuration at index 1 of reporter at index 0</color>
- <red> Expected:</color>
- <red> <bold><red>object</color><red></intensity></color>
- <red> Got:</color>
- <red> <bold><green>boolean</color><red></intensity></color>
- <red> Reporter configuration:</color>
- <red> <bold><green>[</color><red></intensity></color>
- <red><bold><green> "some-reporter",</color><red></intensity></color>
- <red><bold><green> true</color><red></intensity></color>
- <red><bold><green> ]</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Unexpected value for Reporter Configuration at index 1 of reporter at index 0
+ Expected:
+ <bold><red>object<red></intensity>
+ Got:
+ <bold><green>boolean<red></intensity>
+ Reporter configuration:
+ <bold><green>[
+ "some-reporter",
+ true
+ ]<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
testEnvironment › throws on invalid environment names:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `testEnvironment throws on invalid environment names 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Test environment <bold>phantom</intensity> cannot be found. Make sure the <bold>testEnvironment</intensity> configuration option points to an existing node module.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Test environment <bold>phantom</intensity> cannot be found. Make sure the <bold>testEnvironment</intensity> configuration option points to an existing node module.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
testMatch › throws if testRegex and testMatch are both specified:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `testMatch throws if testRegex and testMatch are both specified 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Configuration options <bold>testMatch</intensity> and <bold>testRegex</intensity> cannot be used together.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Configuration options <bold>testMatch</intensity> and <bold>testRegex</intensity> cannot be used together.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
preset › throws when preset not found:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `preset throws when preset not found 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Preset <bold>doesnt-exist</intensity> not found relative to rootDir <bold>/root/path/foo</intensity>.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Preset <bold>doesnt-exist</intensity> not found relative to rootDir <bold>/root/path/foo</intensity>.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
preset › throws when module was found but no "jest-preset.js" or "jest-preset.json" files:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `preset throws when module was found but no "jest-preset.js" or "jest-preset.json" files 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Module <bold>exist-but-no-jest-preset</intensity> should have "jest-preset.js" or "jest-preset.json" file at the root.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Module <bold>exist-but-no-jest-preset</intensity> should have "jest-preset.js" or "jest-preset.json" file at the root.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
runner › throw error when a runner is not found:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `runner throw error when a runner is not found 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Jest Runner <bold>missing-runner</intensity> cannot be found. Make sure the <bold>runner</intensity> configuration option points to an existing node module.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Jest Runner <bold>missing-runner</intensity> cannot be found. Make sure the <bold>runner</intensity> configuration option points to an existing node module.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
rootDir › throws if the options is missing a rootDir property:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `rootDir throws if the options is missing a rootDir property 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Configuration option <bold>rootDir</intensity> must be specified.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Configuration option <bold>rootDir</intensity> must be specified.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
reporters › throws an error if value is neither string nor array:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if value is neither string nor array 1`
- Snapshot - 10
+ Received + 10
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Reporter at index 0 must be of type:</color>
- <red> <bold><green>array or string</color><red></intensity></color>
- <red> but instead received:</color>
- <red> <bold><red>number</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Reporter at index 0 must be of type:
+ <bold><green>array or string<red></intensity>
+ but instead received:
+ <bold><red>number<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
reporters › throws an error if first value in the tuple is not a string:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if first value in the tuple is not a string 1`
- Snapshot - 15
+ Received + 15
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Unexpected value for Path at index 0 of reporter at index 0</color>
- <red> Expected:</color>
- <red> <bold><red>string</color><red></intensity></color>
- <red> Got:</color>
- <red> <bold><green>number</color><red></intensity></color>
- <red> Reporter configuration:</color>
- <red> <bold><green>[</color><red></intensity></color>
- <red><bold><green> 123</color><red></intensity></color>
- <red><bold><green> ]</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Unexpected value for Path at index 0 of reporter at index 0
+ Expected:
+ <bold><red>string<red></intensity>
+ Got:
+ <bold><green>number<red></intensity>
+ Reporter configuration:
+ <bold><green>[
+ 123
+ ]<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
reporters › throws an error if second value is missing in the tuple:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if second value is missing in the tuple 1`
- Snapshot - 15
+ Received + 15
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Unexpected value for Reporter Configuration at index 1 of reporter at index 0</color>
- <red> Expected:</color>
- <red> <bold><red>object</color><red></intensity></color>
- <red> Got:</color>
- <red> <bold><green>undefined</color><red></intensity></color>
- <red> Reporter configuration:</color>
- <red> <bold><green>[</color><red></intensity></color>
- <red><bold><green> "some-reporter"</color><red></intensity></color>
- <red><bold><green> ]</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Unexpected value for Reporter Configuration at index 1 of reporter at index 0
+ Expected:
+ <bold><red>object<red></intensity>
+ Got:
+ <bold><green>undefined<red></intensity>
+ Reporter configuration:
+ <bold><green>[
+ "some-reporter"
+ ]<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
reporters › throws an error if second value in the tuple is not an object:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if second value in the tuple is not an object 1`
- Snapshot - 16
+ Received + 16
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Unexpected value for Reporter Configuration at index 1 of reporter at index 0</color>
- <red> Expected:</color>
- <red> <bold><red>object</color><red></intensity></color>
- <red> Got:</color>
- <red> <bold><green>boolean</color><red></intensity></color>
- <red> Reporter configuration:</color>
- <red> <bold><green>[</color><red></intensity></color>
- <red><bold><green> "some-reporter",</color><red></intensity></color>
- <red><bold><green> true</color><red></intensity></color>
- <red><bold><green> ]</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Unexpected value for Reporter Configuration at index 1 of reporter at index 0
+ Expected:
+ <bold><red>object<red></intensity>
+ Got:
+ <bold><green>boolean<red></intensity>
+ Reporter configuration:
+ <bold><green>[
+ "some-reporter",
+ true
+ ]<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
testEnvironment › throws on invalid environment names:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `testEnvironment throws on invalid environment names 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Test environment <bold>phantom</intensity> cannot be found. Make sure the <bold>testEnvironment</intensity> configuration option points to an existing node module.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Test environment <bold>phantom</intensity> cannot be found. Make sure the <bold>testEnvironment</intensity> configuration option points to an existing node module.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
testMatch › throws if testRegex and testMatch are both specified:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `testMatch throws if testRegex and testMatch are both specified 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Configuration options <bold>testMatch</intensity> and <bold>testRegex</intensity> cannot be used together.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Configuration options <bold>testMatch</intensity> and <bold>testRegex</intensity> cannot be used together.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
preset › throws when preset not found:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `preset throws when preset not found 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Preset <bold>doesnt-exist</intensity> not found relative to rootDir <bold>/root/path/foo</intensity>.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Preset <bold>doesnt-exist</intensity> not found relative to rootDir <bold>/root/path/foo</intensity>.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
preset › throws when module was found but no "jest-preset.js" or "jest-preset.json" files:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `preset throws when module was found but no "jest-preset.js" or "jest-preset.json" files 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Module <bold>exist-but-no-jest-preset</intensity> should have "jest-preset.js" or "jest-preset.json" file at the root.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Module <bold>exist-but-no-jest-preset</intensity> should have "jest-preset.js" or "jest-preset.json" file at the root.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
runner › throw error when a runner is not found:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `runner throw error when a runner is not found 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Jest Runner <bold>missing-runner</intensity> cannot be found. Make sure the <bold>runner</intensity> configuration option points to an existing node module.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Jest Runner <bold>missing-runner</intensity> cannot be found. Make sure the <bold>runner</intensity> configuration option points to an existing node module.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
should exclude jasmine from stack trace for Unix paths.:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `should exclude jasmine from stack trace for Unix paths. 1`
- Snapshot - 3
+ Received + 3
"<bold><red> <bold>● </intensity><bold>Unix test</color></intensity>
at stack (../jest-jasmine2/build/jasmine-2.4.1.js:1580:17)
- <dim></intensity>
- <dim> <dim>at Object.addResult (</intensity><dim>../jest-jasmine2/build/jasmine-2.4.1.js<dim>:1550:14)</intensity><dim></intensity>
- <dim> <dim>at Object.it (</intensity><dim>build/__tests__/messages-test.js<dim>:45:41)</intensity><dim></intensity>
+ <dim>
+ <dim>at Object.addResult (</intensity><dim>../jest-jasmine2/build/jasmine-2.4.1.js<dim>:1550:14)</intensity><dim>
+ <dim>at Object.it (</intensity><dim>build/__tests__/messages-test.js<dim>:45:41)</intensity><dim></intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:205:20)
|
formatStackTrace should strip node internals:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `formatStackTrace should strip node internals 1`
- Snapshot - 2
+ Received + 2
@@ -5,8 +5,8 @@
"number"
Received:
""
type:
"string"
- <dim></intensity>
- <dim> <dim>at Object.it (</intensity><dim>__tests__/test.js<dim>:8:14)</intensity><dim></intensity>
+ <dim>
+ <dim>at Object.it (</intensity><dim>__tests__/test.js<dim>:8:14)</intensity><dim></intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:253:20)
|
should not exclude vendor from stack trace:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `should not exclude vendor from stack trace 1`
- Snapshot - 3
+ Received + 3
@@ -5,9 +5,9 @@
"number"
Received:
""
type:
"string"
- <dim></intensity>
- <dim> <dim>at Object.it (</intensity><dim>__tests__/vendor/cool_test.js<dim>:6:666)</intensity><dim></intensity>
- <dim> <dim>at Object.asyncFn (</intensity><dim>__tests__/vendor/sulu/node_modules/sulu-content-bundle/best_component.js<dim>:1:5)</intensity><dim></intensity>
+ <dim>
+ <dim>at Object.it (</intensity><dim>__tests__/vendor/cool_test.js<dim>:6:666)</intensity><dim>
+ <dim>at Object.asyncFn (</intensity><dim>__tests__/vendor/sulu/node_modules/sulu-content-bundle/best_component.js<dim>:1:5)</intensity><dim></intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:282:20)
|
retains message in babel code frame error:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `retains message in babel code frame error 1`
- Snapshot - 8
+ Received + 8
"<bold><red> <bold>● </intensity><bold>Babel test</color></intensity>
packages/react/src/forwardRef.js: Unexpected token, expected , (20:10)
- <dim></intensity>
- <dim> </> <gray> 18 | </color> <cyan>false</color><yellow>,</color></intensity>
- <dim> <gray> 19 | </color> <green>'forwardRef requires a render function but received a `memo` '</color></intensity>
- <dim> <red><bold>></intensity><dim></color><gray> 20 | </color> <green>'component. Instead of forwardRef(memo(...)), use '</color> <yellow>+</color></intensity>
- <dim> <gray> | </color> <red><bold>^</intensity><dim></color></intensity>
- <dim> <gray> 21 | </color> <green>'memo(forwardRef(...)).'</color><yellow>,</color></intensity>
- <dim> <gray> 22 | </color> )<yellow>;</color></intensity>
- <dim> <gray> 23 | </color> } <cyan>else</color> <cyan>if</color> (<cyan>typeof</color> render <yellow>!==</color> <green>'function'</color>) {</></intensity>
+ <dim>
+ </> <gray> 18 | </color> <cyan>false</color><yellow>,</color>
+ <gray> 19 | </color> <green>'forwardRef requires a render function but received a `memo` '</color>
+ <red><bold>></intensity><dim></color><gray> 20 | </color> <green>'component. Instead of forwardRef(memo(...)), use '</color> <yellow>+</color>
+ <gray> | </color> <red><bold>^</intensity><dim></color>
+ <gray> 21 | </color> <green>'memo(forwardRef(...)).'</color><yellow>,</color>
+ <gray> 22 | </color> )<yellow>;</color>
+ <gray> 23 | </color> } <cyan>else</color> <cyan>if</color> (<cyan>typeof</color> render <yellow>!==</color> <green>'function'</color>) {</></intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:311:20)
|
formatStackTrace should properly handle deeply nested causes:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `formatStackTrace should properly handle deeply nested causes 1`
- Snapshot - 12
+ Received + 12
"<bold><red> <bold>● </intensity><bold>Error with cause test</color></intensity>
intercepted by f
- <dim></intensity>
- <dim> <dim>at f (</intensity><dim>cause.test.js<dim>:15:11)</intensity><dim></intensity>
- <dim> <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
+ <dim>
+ <dim>at f (</intensity><dim>cause.test.js<dim>:15:11)</intensity><dim>
+ <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
Cause:
intercepted by g
- <dim></intensity>
- <dim> <dim>at g (</intensity><dim>cause.test.js<dim>:8:11)</intensity><dim></intensity>
- <dim> <dim>at g (</intensity><dim>cause.test.js<dim>:13:5)</intensity><dim></intensity>
- <dim> <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
+ <dim>
+ <dim>at g (</intensity><dim>cause.test.js<dim>:8:11)</intensity><dim>
+ <dim>at g (</intensity><dim>cause.test.js<dim>:13:5)</intensity><dim>
+ <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
Cause:
boom
- <dim></intensity>
- <dim> <dim>at h (</intensity><dim>cause.test.js<dim>:2:9)</intensity><dim></intensity>
- <dim> <dim>at h (</intensity><dim>cause.test.js<dim>:6:5)</intensity><dim></intensity>
- <dim> <dim>at g (</intensity><dim>cause.test.js<dim>:13:5)</intensity><dim></intensity>
- <dim> <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
+ <dim>
+ <dim>at h (</intensity><dim>cause.test.js<dim>:2:9)</intensity><dim>
+ <dim>at h (</intensity><dim>cause.test.js<dim>:6:5)</intensity><dim>
+ <dim>at g (</intensity><dim>cause.test.js<dim>:13:5)</intensity><dim>
+ <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:340:20)
|
formatStackTrace should properly handle string causes:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `formatStackTrace should properly handle string causes 1`
- Snapshot - 5
+ Received + 5
"<bold><red> <bold>● </intensity><bold>Error with string cause test</color></intensity>
boom
- <dim></intensity>
- <dim> <dim>at f (</intensity><dim>cause.test.js<dim>:15:11)</intensity><dim></intensity>
- <dim> <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
+ <dim>
+ <dim>at f (</intensity><dim>cause.test.js<dim>:15:11)</intensity><dim>
+ <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
Cause:
string cause
- <dim></intensity>
- <dim></intensity>
+ <dim>
+ </intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:369:20)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 1`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 2`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 3`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 4`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
should exclude jasmine from stack trace for Unix paths.:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `should exclude jasmine from stack trace for Unix paths. 1`
- Snapshot - 3
+ Received + 3
"<bold><red> <bold>● </intensity><bold>Unix test</color></intensity>
at stack (../jest-jasmine2/build/jasmine-2.4.1.js:1580:17)
- <dim></intensity>
- <dim> <dim>at Object.addResult (</intensity><dim>../jest-jasmine2/build/jasmine-2.4.1.js<dim>:1550:14)</intensity><dim></intensity>
- <dim> <dim>at Object.it (</intensity><dim>build/__tests__/messages-test.js<dim>:45:41)</intensity><dim></intensity>
+ <dim>
+ <dim>at Object.addResult (</intensity><dim>../jest-jasmine2/build/jasmine-2.4.1.js<dim>:1550:14)</intensity><dim>
+ <dim>at Object.it (</intensity><dim>build/__tests__/messages-test.js<dim>:45:41)</intensity><dim></intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:205:20)
|
formatStackTrace should strip node internals:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `formatStackTrace should strip node internals 1`
- Snapshot - 2
+ Received + 2
@@ -5,8 +5,8 @@
"number"
Received:
""
type:
"string"
- <dim></intensity>
- <dim> <dim>at Object.it (</intensity><dim>__tests__/test.js<dim>:8:14)</intensity><dim></intensity>
+ <dim>
+ <dim>at Object.it (</intensity><dim>__tests__/test.js<dim>:8:14)</intensity><dim></intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:253:20)
|
should not exclude vendor from stack trace:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `should not exclude vendor from stack trace 1`
- Snapshot - 3
+ Received + 3
@@ -5,9 +5,9 @@
"number"
Received:
""
type:
"string"
- <dim></intensity>
- <dim> <dim>at Object.it (</intensity><dim>__tests__/vendor/cool_test.js<dim>:6:666)</intensity><dim></intensity>
- <dim> <dim>at Object.asyncFn (</intensity><dim>__tests__/vendor/sulu/node_modules/sulu-content-bundle/best_component.js<dim>:1:5)</intensity><dim></intensity>
+ <dim>
+ <dim>at Object.it (</intensity><dim>__tests__/vendor/cool_test.js<dim>:6:666)</intensity><dim>
+ <dim>at Object.asyncFn (</intensity><dim>__tests__/vendor/sulu/node_modules/sulu-content-bundle/best_component.js<dim>:1:5)</intensity><dim></intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:282:20)
|
should exclude jasmine from stack trace for Unix paths.:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `should exclude jasmine from stack trace for Unix paths. 1`
- Snapshot - 3
+ Received + 3
"<bold><red> <bold>● </intensity><bold>Unix test</color></intensity>
at stack (../jest-jasmine2/build/jasmine-2.4.1.js:1580:17)
- <dim></intensity>
- <dim> <dim>at Object.addResult (</intensity><dim>../jest-jasmine2/build/jasmine-2.4.1.js<dim>:1550:14)</intensity><dim></intensity>
- <dim> <dim>at Object.it (</intensity><dim>build/__tests__/messages-test.js<dim>:45:41)</intensity><dim></intensity>
+ <dim>
+ <dim>at Object.addResult (</intensity><dim>../jest-jasmine2/build/jasmine-2.4.1.js<dim>:1550:14)</intensity><dim>
+ <dim>at Object.it (</intensity><dim>build/__tests__/messages-test.js<dim>:45:41)</intensity><dim></intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:205:20)
|
retains message in babel code frame error:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `retains message in babel code frame error 1`
- Snapshot - 8
+ Received + 8
"<bold><red> <bold>● </intensity><bold>Babel test</color></intensity>
packages/react/src/forwardRef.js: Unexpected token, expected , (20:10)
- <dim></intensity>
- <dim> </> <gray> 18 | </color> <cyan>false</color><yellow>,</color></intensity>
- <dim> <gray> 19 | </color> <green>'forwardRef requires a render function but received a `memo` '</color></intensity>
- <dim> <red><bold>></intensity><dim></color><gray> 20 | </color> <green>'component. Instead of forwardRef(memo(...)), use '</color> <yellow>+</color></intensity>
- <dim> <gray> | </color> <red><bold>^</intensity><dim></color></intensity>
- <dim> <gray> 21 | </color> <green>'memo(forwardRef(...)).'</color><yellow>,</color></intensity>
- <dim> <gray> 22 | </color> )<yellow>;</color></intensity>
- <dim> <gray> 23 | </color> } <cyan>else</color> <cyan>if</color> (<cyan>typeof</color> render <yellow>!==</color> <green>'function'</color>) {</></intensity>
+ <dim>
+ </> <gray> 18 | </color> <cyan>false</color><yellow>,</color>
+ <gray> 19 | </color> <green>'forwardRef requires a render function but received a `memo` '</color>
+ <red><bold>></intensity><dim></color><gray> 20 | </color> <green>'component. Instead of forwardRef(memo(...)), use '</color> <yellow>+</color>
+ <gray> | </color> <red><bold>^</intensity><dim></color>
+ <gray> 21 | </color> <green>'memo(forwardRef(...)).'</color><yellow>,</color>
+ <gray> 22 | </color> )<yellow>;</color>
+ <gray> 23 | </color> } <cyan>else</color> <cyan>if</color> (<cyan>typeof</color> render <yellow>!==</color> <green>'function'</color>) {</></intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:311:20)
|
formatStackTrace should strip node internals:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `formatStackTrace should strip node internals 1`
- Snapshot - 2
+ Received + 2
@@ -5,8 +5,8 @@
"number"
Received:
""
type:
"string"
- <dim></intensity>
- <dim> <dim>at Object.it (</intensity><dim>__tests__/test.js<dim>:8:14)</intensity><dim></intensity>
+ <dim>
+ <dim>at Object.it (</intensity><dim>__tests__/test.js<dim>:8:14)</intensity><dim></intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:253:20)
|
formatStackTrace should properly handle deeply nested causes:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `formatStackTrace should properly handle deeply nested causes 1`
- Snapshot - 12
+ Received + 12
"<bold><red> <bold>● </intensity><bold>Error with cause test</color></intensity>
intercepted by f
- <dim></intensity>
- <dim> <dim>at f (</intensity><dim>cause.test.js<dim>:15:11)</intensity><dim></intensity>
- <dim> <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
+ <dim>
+ <dim>at f (</intensity><dim>cause.test.js<dim>:15:11)</intensity><dim>
+ <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
Cause:
intercepted by g
- <dim></intensity>
- <dim> <dim>at g (</intensity><dim>cause.test.js<dim>:8:11)</intensity><dim></intensity>
- <dim> <dim>at g (</intensity><dim>cause.test.js<dim>:13:5)</intensity><dim></intensity>
- <dim> <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
+ <dim>
+ <dim>at g (</intensity><dim>cause.test.js<dim>:8:11)</intensity><dim>
+ <dim>at g (</intensity><dim>cause.test.js<dim>:13:5)</intensity><dim>
+ <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
Cause:
boom
- <dim></intensity>
- <dim> <dim>at h (</intensity><dim>cause.test.js<dim>:2:9)</intensity><dim></intensity>
- <dim> <dim>at h (</intensity><dim>cause.test.js<dim>:6:5)</intensity><dim></intensity>
- <dim> <dim>at g (</intensity><dim>cause.test.js<dim>:13:5)</intensity><dim></intensity>
- <dim> <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
+ <dim>
+ <dim>at h (</intensity><dim>cause.test.js<dim>:2:9)</intensity><dim>
+ <dim>at h (</intensity><dim>cause.test.js<dim>:6:5)</intensity><dim>
+ <dim>at g (</intensity><dim>cause.test.js<dim>:13:5)</intensity><dim>
+ <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:340:20)
|
should not exclude vendor from stack trace:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `should not exclude vendor from stack trace 1`
- Snapshot - 3
+ Received + 3
@@ -5,9 +5,9 @@
"number"
Received:
""
type:
"string"
- <dim></intensity>
- <dim> <dim>at Object.it (</intensity><dim>__tests__/vendor/cool_test.js<dim>:6:666)</intensity><dim></intensity>
- <dim> <dim>at Object.asyncFn (</intensity><dim>__tests__/vendor/sulu/node_modules/sulu-content-bundle/best_component.js<dim>:1:5)</intensity><dim></intensity>
+ <dim>
+ <dim>at Object.it (</intensity><dim>__tests__/vendor/cool_test.js<dim>:6:666)</intensity><dim>
+ <dim>at Object.asyncFn (</intensity><dim>__tests__/vendor/sulu/node_modules/sulu-content-bundle/best_component.js<dim>:1:5)</intensity><dim></intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:282:20)
|
formatStackTrace should properly handle string causes:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `formatStackTrace should properly handle string causes 1`
- Snapshot - 5
+ Received + 5
"<bold><red> <bold>● </intensity><bold>Error with string cause test</color></intensity>
boom
- <dim></intensity>
- <dim> <dim>at f (</intensity><dim>cause.test.js<dim>:15:11)</intensity><dim></intensity>
- <dim> <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
+ <dim>
+ <dim>at f (</intensity><dim>cause.test.js<dim>:15:11)</intensity><dim>
+ <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
Cause:
string cause
- <dim></intensity>
- <dim></intensity>
+ <dim>
+ </intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:369:20)
|
retains message in babel code frame error:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `retains message in babel code frame error 1`
- Snapshot - 8
+ Received + 8
"<bold><red> <bold>● </intensity><bold>Babel test</color></intensity>
packages/react/src/forwardRef.js: Unexpected token, expected , (20:10)
- <dim></intensity>
- <dim> </> <gray> 18 | </color> <cyan>false</color><yellow>,</color></intensity>
- <dim> <gray> 19 | </color> <green>'forwardRef requires a render function but received a `memo` '</color></intensity>
- <dim> <red><bold>></intensity><dim></color><gray> 20 | </color> <green>'component. Instead of forwardRef(memo(...)), use '</color> <yellow>+</color></intensity>
- <dim> <gray> | </color> <red><bold>^</intensity><dim></color></intensity>
- <dim> <gray> 21 | </color> <green>'memo(forwardRef(...)).'</color><yellow>,</color></intensity>
- <dim> <gray> 22 | </color> )<yellow>;</color></intensity>
- <dim> <gray> 23 | </color> } <cyan>else</color> <cyan>if</color> (<cyan>typeof</color> render <yellow>!==</color> <green>'function'</color>) {</></intensity>
+ <dim>
+ </> <gray> 18 | </color> <cyan>false</color><yellow>,</color>
+ <gray> 19 | </color> <green>'forwardRef requires a render function but received a `memo` '</color>
+ <red><bold>></intensity><dim></color><gray> 20 | </color> <green>'component. Instead of forwardRef(memo(...)), use '</color> <yellow>+</color>
+ <gray> | </color> <red><bold>^</intensity><dim></color>
+ <gray> 21 | </color> <green>'memo(forwardRef(...)).'</color><yellow>,</color>
+ <gray> 22 | </color> )<yellow>;</color>
+ <gray> 23 | </color> } <cyan>else</color> <cyan>if</color> (<cyan>typeof</color> render <yellow>!==</color> <green>'function'</color>) {</></intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:311:20)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 1`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
formatStackTrace should properly handle deeply nested causes:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `formatStackTrace should properly handle deeply nested causes 1`
- Snapshot - 12
+ Received + 12
"<bold><red> <bold>● </intensity><bold>Error with cause test</color></intensity>
intercepted by f
- <dim></intensity>
- <dim> <dim>at f (</intensity><dim>cause.test.js<dim>:15:11)</intensity><dim></intensity>
- <dim> <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
+ <dim>
+ <dim>at f (</intensity><dim>cause.test.js<dim>:15:11)</intensity><dim>
+ <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
Cause:
intercepted by g
- <dim></intensity>
- <dim> <dim>at g (</intensity><dim>cause.test.js<dim>:8:11)</intensity><dim></intensity>
- <dim> <dim>at g (</intensity><dim>cause.test.js<dim>:13:5)</intensity><dim></intensity>
- <dim> <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
+ <dim>
+ <dim>at g (</intensity><dim>cause.test.js<dim>:8:11)</intensity><dim>
+ <dim>at g (</intensity><dim>cause.test.js<dim>:13:5)</intensity><dim>
+ <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
Cause:
boom
- <dim></intensity>
- <dim> <dim>at h (</intensity><dim>cause.test.js<dim>:2:9)</intensity><dim></intensity>
- <dim> <dim>at h (</intensity><dim>cause.test.js<dim>:6:5)</intensity><dim></intensity>
- <dim> <dim>at g (</intensity><dim>cause.test.js<dim>:13:5)</intensity><dim></intensity>
- <dim> <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
+ <dim>
+ <dim>at h (</intensity><dim>cause.test.js<dim>:2:9)</intensity><dim>
+ <dim>at h (</intensity><dim>cause.test.js<dim>:6:5)</intensity><dim>
+ <dim>at g (</intensity><dim>cause.test.js<dim>:13:5)</intensity><dim>
+ <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:340:20)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 2`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
formatStackTrace should properly handle string causes:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `formatStackTrace should properly handle string causes 1`
- Snapshot - 5
+ Received + 5
"<bold><red> <bold>● </intensity><bold>Error with string cause test</color></intensity>
boom
- <dim></intensity>
- <dim> <dim>at f (</intensity><dim>cause.test.js<dim>:15:11)</intensity><dim></intensity>
- <dim> <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
+ <dim>
+ <dim>at f (</intensity><dim>cause.test.js<dim>:15:11)</intensity><dim>
+ <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
Cause:
string cause
- <dim></intensity>
- <dim></intensity>
+ <dim>
+ </intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:369:20)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 3`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 1`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 4`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 2`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 3`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 4`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
should exclude jasmine from stack trace for Unix paths.:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `should exclude jasmine from stack trace for Unix paths. 1`
- Snapshot - 3
+ Received + 3
"<bold><red> <bold>● </intensity><bold>Unix test</color></intensity>
at stack (../jest-jasmine2/build/jasmine-2.4.1.js:1580:17)
- <dim></intensity>
- <dim> <dim>at Object.addResult (</intensity><dim>../jest-jasmine2/build/jasmine-2.4.1.js<dim>:1550:14)</intensity><dim></intensity>
- <dim> <dim>at Object.it (</intensity><dim>build/__tests__/messages-test.js<dim>:45:41)</intensity><dim></intensity>
+ <dim>
+ <dim>at Object.addResult (</intensity><dim>../jest-jasmine2/build/jasmine-2.4.1.js<dim>:1550:14)</intensity><dim>
+ <dim>at Object.it (</intensity><dim>build/__tests__/messages-test.js<dim>:45:41)</intensity><dim></intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:205:20)
|
formatStackTrace should strip node internals:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `formatStackTrace should strip node internals 1`
- Snapshot - 2
+ Received + 2
@@ -5,8 +5,8 @@
"number"
Received:
""
type:
"string"
- <dim></intensity>
- <dim> <dim>at Object.it (</intensity><dim>__tests__/test.js<dim>:8:14)</intensity><dim></intensity>
+ <dim>
+ <dim>at Object.it (</intensity><dim>__tests__/test.js<dim>:8:14)</intensity><dim></intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:253:20)
|
should not exclude vendor from stack trace:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `should not exclude vendor from stack trace 1`
- Snapshot - 3
+ Received + 3
@@ -5,9 +5,9 @@
"number"
Received:
""
type:
"string"
- <dim></intensity>
- <dim> <dim>at Object.it (</intensity><dim>__tests__/vendor/cool_test.js<dim>:6:666)</intensity><dim></intensity>
- <dim> <dim>at Object.asyncFn (</intensity><dim>__tests__/vendor/sulu/node_modules/sulu-content-bundle/best_component.js<dim>:1:5)</intensity><dim></intensity>
+ <dim>
+ <dim>at Object.it (</intensity><dim>__tests__/vendor/cool_test.js<dim>:6:666)</intensity><dim>
+ <dim>at Object.asyncFn (</intensity><dim>__tests__/vendor/sulu/node_modules/sulu-content-bundle/best_component.js<dim>:1:5)</intensity><dim></intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:282:20)
|
retains message in babel code frame error:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `retains message in babel code frame error 1`
- Snapshot - 8
+ Received + 8
"<bold><red> <bold>● </intensity><bold>Babel test</color></intensity>
packages/react/src/forwardRef.js: Unexpected token, expected , (20:10)
- <dim></intensity>
- <dim> </> <gray> 18 | </color> <cyan>false</color><yellow>,</color></intensity>
- <dim> <gray> 19 | </color> <green>'forwardRef requires a render function but received a `memo` '</color></intensity>
- <dim> <red><bold>></intensity><dim></color><gray> 20 | </color> <green>'component. Instead of forwardRef(memo(...)), use '</color> <yellow>+</color></intensity>
- <dim> <gray> | </color> <red><bold>^</intensity><dim></color></intensity>
- <dim> <gray> 21 | </color> <green>'memo(forwardRef(...)).'</color><yellow>,</color></intensity>
- <dim> <gray> 22 | </color> )<yellow>;</color></intensity>
- <dim> <gray> 23 | </color> } <cyan>else</color> <cyan>if</color> (<cyan>typeof</color> render <yellow>!==</color> <green>'function'</color>) {</></intensity>
+ <dim>
+ </> <gray> 18 | </color> <cyan>false</color><yellow>,</color>
+ <gray> 19 | </color> <green>'forwardRef requires a render function but received a `memo` '</color>
+ <red><bold>></intensity><dim></color><gray> 20 | </color> <green>'component. Instead of forwardRef(memo(...)), use '</color> <yellow>+</color>
+ <gray> | </color> <red><bold>^</intensity><dim></color>
+ <gray> 21 | </color> <green>'memo(forwardRef(...)).'</color><yellow>,</color>
+ <gray> 22 | </color> )<yellow>;</color>
+ <gray> 23 | </color> } <cyan>else</color> <cyan>if</color> (<cyan>typeof</color> render <yellow>!==</color> <green>'function'</color>) {</></intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:311:20)
|
formatStackTrace should properly handle deeply nested causes:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `formatStackTrace should properly handle deeply nested causes 1`
- Snapshot - 12
+ Received + 12
"<bold><red> <bold>● </intensity><bold>Error with cause test</color></intensity>
intercepted by f
- <dim></intensity>
- <dim> <dim>at f (</intensity><dim>cause.test.js<dim>:15:11)</intensity><dim></intensity>
- <dim> <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
+ <dim>
+ <dim>at f (</intensity><dim>cause.test.js<dim>:15:11)</intensity><dim>
+ <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
Cause:
intercepted by g
- <dim></intensity>
- <dim> <dim>at g (</intensity><dim>cause.test.js<dim>:8:11)</intensity><dim></intensity>
- <dim> <dim>at g (</intensity><dim>cause.test.js<dim>:13:5)</intensity><dim></intensity>
- <dim> <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
+ <dim>
+ <dim>at g (</intensity><dim>cause.test.js<dim>:8:11)</intensity><dim>
+ <dim>at g (</intensity><dim>cause.test.js<dim>:13:5)</intensity><dim>
+ <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
Cause:
boom
- <dim></intensity>
- <dim> <dim>at h (</intensity><dim>cause.test.js<dim>:2:9)</intensity><dim></intensity>
- <dim> <dim>at h (</intensity><dim>cause.test.js<dim>:6:5)</intensity><dim></intensity>
- <dim> <dim>at g (</intensity><dim>cause.test.js<dim>:13:5)</intensity><dim></intensity>
- <dim> <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
+ <dim>
+ <dim>at h (</intensity><dim>cause.test.js<dim>:2:9)</intensity><dim>
+ <dim>at h (</intensity><dim>cause.test.js<dim>:6:5)</intensity><dim>
+ <dim>at g (</intensity><dim>cause.test.js<dim>:13:5)</intensity><dim>
+ <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:340:20)
|
formatStackTrace should properly handle string causes:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `formatStackTrace should properly handle string causes 1`
- Snapshot - 5
+ Received + 5
"<bold><red> <bold>● </intensity><bold>Error with string cause test</color></intensity>
boom
- <dim></intensity>
- <dim> <dim>at f (</intensity><dim>cause.test.js<dim>:15:11)</intensity><dim></intensity>
- <dim> <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
+ <dim>
+ <dim>at f (</intensity><dim>cause.test.js<dim>:15:11)</intensity><dim>
+ <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
Cause:
string cause
- <dim></intensity>
- <dim></intensity>
+ <dim>
+ </intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:369:20)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 1`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 2`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 3`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 4`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
rootDir › throws if the options is missing a rootDir property:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `rootDir throws if the options is missing a rootDir property 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Configuration option <bold>rootDir</intensity> must be specified.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Configuration option <bold>rootDir</intensity> must be specified.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
reporters › throws an error if value is neither string nor array:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if value is neither string nor array 1`
- Snapshot - 10
+ Received + 10
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Reporter at index 0 must be of type:</color>
- <red> <bold><green>array or string</color><red></intensity></color>
- <red> but instead received:</color>
- <red> <bold><red>number</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Reporter at index 0 must be of type:
+ <bold><green>array or string<red></intensity>
+ but instead received:
+ <bold><red>number<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
reporters › throws an error if first value in the tuple is not a string:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if first value in the tuple is not a string 1`
- Snapshot - 15
+ Received + 15
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Unexpected value for Path at index 0 of reporter at index 0</color>
- <red> Expected:</color>
- <red> <bold><red>string</color><red></intensity></color>
- <red> Got:</color>
- <red> <bold><green>number</color><red></intensity></color>
- <red> Reporter configuration:</color>
- <red> <bold><green>[</color><red></intensity></color>
- <red><bold><green> 123</color><red></intensity></color>
- <red><bold><green> ]</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Unexpected value for Path at index 0 of reporter at index 0
+ Expected:
+ <bold><red>string<red></intensity>
+ Got:
+ <bold><green>number<red></intensity>
+ Reporter configuration:
+ <bold><green>[
+ 123
+ ]<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
reporters › throws an error if second value is missing in the tuple:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if second value is missing in the tuple 1`
- Snapshot - 15
+ Received + 15
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Unexpected value for Reporter Configuration at index 1 of reporter at index 0</color>
- <red> Expected:</color>
- <red> <bold><red>object</color><red></intensity></color>
- <red> Got:</color>
- <red> <bold><green>undefined</color><red></intensity></color>
- <red> Reporter configuration:</color>
- <red> <bold><green>[</color><red></intensity></color>
- <red><bold><green> "some-reporter"</color><red></intensity></color>
- <red><bold><green> ]</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Unexpected value for Reporter Configuration at index 1 of reporter at index 0
+ Expected:
+ <bold><red>object<red></intensity>
+ Got:
+ <bold><green>undefined<red></intensity>
+ Reporter configuration:
+ <bold><green>[
+ "some-reporter"
+ ]<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
reporters › throws an error if second value in the tuple is not an object:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `reporters throws an error if second value in the tuple is not an object 1`
- Snapshot - 16
+ Received + 16
- "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:</color>
- <red></color>
- <red> Unexpected value for Reporter Configuration at index 1 of reporter at index 0</color>
- <red> Expected:</color>
- <red> <bold><red>object</color><red></intensity></color>
- <red> Got:</color>
- <red> <bold><green>boolean</color><red></intensity></color>
- <red> Reporter configuration:</color>
- <red> <bold><green>[</color><red></intensity></color>
- <red><bold><green> "some-reporter",</color><red></intensity></color>
- <red><bold><green> true</color><red></intensity></color>
- <red><bold><green> ]</color><red></intensity></color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Reporter Validation Error</intensity>:
+
+ Unexpected value for Reporter Configuration at index 1 of reporter at index 0
+ Expected:
+ <bold><red>object<red></intensity>
+ Got:
+ <bold><green>boolean<red></intensity>
+ Reporter configuration:
+ <bold><green>[
+ "some-reporter",
+ true
+ ]<red></intensity>
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
testEnvironment › throws on invalid environment names:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `testEnvironment throws on invalid environment names 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Test environment <bold>phantom</intensity> cannot be found. Make sure the <bold>testEnvironment</intensity> configuration option points to an existing node module.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Test environment <bold>phantom</intensity> cannot be found. Make sure the <bold>testEnvironment</intensity> configuration option points to an existing node module.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
testMatch › throws if testRegex and testMatch are both specified:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `testMatch throws if testRegex and testMatch are both specified 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Configuration options <bold>testMatch</intensity> and <bold>testRegex</intensity> cannot be used together.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Configuration options <bold>testMatch</intensity> and <bold>testRegex</intensity> cannot be used together.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
preset › throws when preset not found:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `preset throws when preset not found 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Preset <bold>doesnt-exist</intensity> not found relative to rootDir <bold>/root/path/foo</intensity>.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Preset <bold>doesnt-exist</intensity> not found relative to rootDir <bold>/root/path/foo</intensity>.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
preset › throws when module was found but no "jest-preset.js" or "jest-preset.json" files:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `preset throws when module was found but no "jest-preset.js" or "jest-preset.json" files 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Module <bold>exist-but-no-jest-preset</intensity> should have "jest-preset.js" or "jest-preset.json" file at the root.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Module <bold>exist-but-no-jest-preset</intensity> should have "jest-preset.js" or "jest-preset.json" file at the root.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
runner › throw error when a runner is not found:
undefined#L1
expect(received).rejects.toThrowErrorMatchingSnapshot()
Snapshot name: `runner throw error when a runner is not found 1`
- Snapshot - 7
+ Received + 7
- "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:</color>
- <red></color>
- <red> Jest Runner <bold>missing-runner</intensity> cannot be found. Make sure the <bold>runner</intensity> configuration option points to an existing node module.</color>
- <red></color>
- <red> <bold>Configuration Documentation:</intensity></color>
- <red> https://jestjs.io/docs/configuration</color>
- <red></color>"
+ "<red><bold><bold>● </intensity><bold>Validation Error</intensity>:
+
+ Jest Runner <bold>missing-runner</intensity> cannot be found. Make sure the <bold>runner</intensity> configuration option points to an existing node module.
+
+ <bold>Configuration Documentation:</intensity>
+ https://jestjs.io/docs/configuration
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/expect/build/index.js:2101:20)
|
should exclude jasmine from stack trace for Unix paths.:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `should exclude jasmine from stack trace for Unix paths. 1`
- Snapshot - 3
+ Received + 3
"<bold><red> <bold>● </intensity><bold>Unix test</color></intensity>
at stack (../jest-jasmine2/build/jasmine-2.4.1.js:1580:17)
- <dim></intensity>
- <dim> <dim>at Object.addResult (</intensity><dim>../jest-jasmine2/build/jasmine-2.4.1.js<dim>:1550:14)</intensity><dim></intensity>
- <dim> <dim>at Object.it (</intensity><dim>build/__tests__/messages-test.js<dim>:45:41)</intensity><dim></intensity>
+ <dim>
+ <dim>at Object.addResult (</intensity><dim>../jest-jasmine2/build/jasmine-2.4.1.js<dim>:1550:14)</intensity><dim>
+ <dim>at Object.it (</intensity><dim>build/__tests__/messages-test.js<dim>:45:41)</intensity><dim></intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:205:20)
|
formatStackTrace should strip node internals:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `formatStackTrace should strip node internals 1`
- Snapshot - 2
+ Received + 2
@@ -5,8 +5,8 @@
"number"
Received:
""
type:
"string"
- <dim></intensity>
- <dim> <dim>at Object.it (</intensity><dim>__tests__/test.js<dim>:8:14)</intensity><dim></intensity>
+ <dim>
+ <dim>at Object.it (</intensity><dim>__tests__/test.js<dim>:8:14)</intensity><dim></intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:253:20)
|
should not exclude vendor from stack trace:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `should not exclude vendor from stack trace 1`
- Snapshot - 3
+ Received + 3
@@ -5,9 +5,9 @@
"number"
Received:
""
type:
"string"
- <dim></intensity>
- <dim> <dim>at Object.it (</intensity><dim>__tests__/vendor/cool_test.js<dim>:6:666)</intensity><dim></intensity>
- <dim> <dim>at Object.asyncFn (</intensity><dim>__tests__/vendor/sulu/node_modules/sulu-content-bundle/best_component.js<dim>:1:5)</intensity><dim></intensity>
+ <dim>
+ <dim>at Object.it (</intensity><dim>__tests__/vendor/cool_test.js<dim>:6:666)</intensity><dim>
+ <dim>at Object.asyncFn (</intensity><dim>__tests__/vendor/sulu/node_modules/sulu-content-bundle/best_component.js<dim>:1:5)</intensity><dim></intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:282:20)
|
retains message in babel code frame error:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `retains message in babel code frame error 1`
- Snapshot - 8
+ Received + 8
"<bold><red> <bold>● </intensity><bold>Babel test</color></intensity>
packages/react/src/forwardRef.js: Unexpected token, expected , (20:10)
- <dim></intensity>
- <dim> </> <gray> 18 | </color> <cyan>false</color><yellow>,</color></intensity>
- <dim> <gray> 19 | </color> <green>'forwardRef requires a render function but received a `memo` '</color></intensity>
- <dim> <red><bold>></intensity><dim></color><gray> 20 | </color> <green>'component. Instead of forwardRef(memo(...)), use '</color> <yellow>+</color></intensity>
- <dim> <gray> | </color> <red><bold>^</intensity><dim></color></intensity>
- <dim> <gray> 21 | </color> <green>'memo(forwardRef(...)).'</color><yellow>,</color></intensity>
- <dim> <gray> 22 | </color> )<yellow>;</color></intensity>
- <dim> <gray> 23 | </color> } <cyan>else</color> <cyan>if</color> (<cyan>typeof</color> render <yellow>!==</color> <green>'function'</color>) {</></intensity>
+ <dim>
+ </> <gray> 18 | </color> <cyan>false</color><yellow>,</color>
+ <gray> 19 | </color> <green>'forwardRef requires a render function but received a `memo` '</color>
+ <red><bold>></intensity><dim></color><gray> 20 | </color> <green>'component. Instead of forwardRef(memo(...)), use '</color> <yellow>+</color>
+ <gray> | </color> <red><bold>^</intensity><dim></color>
+ <gray> 21 | </color> <green>'memo(forwardRef(...)).'</color><yellow>,</color>
+ <gray> 22 | </color> )<yellow>;</color>
+ <gray> 23 | </color> } <cyan>else</color> <cyan>if</color> (<cyan>typeof</color> render <yellow>!==</color> <green>'function'</color>) {</></intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:311:20)
|
formatStackTrace should properly handle deeply nested causes:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `formatStackTrace should properly handle deeply nested causes 1`
- Snapshot - 12
+ Received + 12
"<bold><red> <bold>● </intensity><bold>Error with cause test</color></intensity>
intercepted by f
- <dim></intensity>
- <dim> <dim>at f (</intensity><dim>cause.test.js<dim>:15:11)</intensity><dim></intensity>
- <dim> <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
+ <dim>
+ <dim>at f (</intensity><dim>cause.test.js<dim>:15:11)</intensity><dim>
+ <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
Cause:
intercepted by g
- <dim></intensity>
- <dim> <dim>at g (</intensity><dim>cause.test.js<dim>:8:11)</intensity><dim></intensity>
- <dim> <dim>at g (</intensity><dim>cause.test.js<dim>:13:5)</intensity><dim></intensity>
- <dim> <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
+ <dim>
+ <dim>at g (</intensity><dim>cause.test.js<dim>:8:11)</intensity><dim>
+ <dim>at g (</intensity><dim>cause.test.js<dim>:13:5)</intensity><dim>
+ <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
Cause:
boom
- <dim></intensity>
- <dim> <dim>at h (</intensity><dim>cause.test.js<dim>:2:9)</intensity><dim></intensity>
- <dim> <dim>at h (</intensity><dim>cause.test.js<dim>:6:5)</intensity><dim></intensity>
- <dim> <dim>at g (</intensity><dim>cause.test.js<dim>:13:5)</intensity><dim></intensity>
- <dim> <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
+ <dim>
+ <dim>at h (</intensity><dim>cause.test.js<dim>:2:9)</intensity><dim>
+ <dim>at h (</intensity><dim>cause.test.js<dim>:6:5)</intensity><dim>
+ <dim>at g (</intensity><dim>cause.test.js<dim>:13:5)</intensity><dim>
+ <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:340:20)
|
formatStackTrace should properly handle string causes:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `formatStackTrace should properly handle string causes 1`
- Snapshot - 5
+ Received + 5
"<bold><red> <bold>● </intensity><bold>Error with string cause test</color></intensity>
boom
- <dim></intensity>
- <dim> <dim>at f (</intensity><dim>cause.test.js<dim>:15:11)</intensity><dim></intensity>
- <dim> <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
+ <dim>
+ <dim>at f (</intensity><dim>cause.test.js<dim>:15:11)</intensity><dim>
+ <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
Cause:
string cause
- <dim></intensity>
- <dim></intensity>
+ <dim>
+ </intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:369:20)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 1`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 2`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 3`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 4`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
should exclude jasmine from stack trace for Unix paths.:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `should exclude jasmine from stack trace for Unix paths. 1`
- Snapshot - 3
+ Received + 3
"<bold><red> <bold>● </intensity><bold>Unix test</color></intensity>
at stack (../jest-jasmine2/build/jasmine-2.4.1.js:1580:17)
- <dim></intensity>
- <dim> <dim>at Object.addResult (</intensity><dim>../jest-jasmine2/build/jasmine-2.4.1.js<dim>:1550:14)</intensity><dim></intensity>
- <dim> <dim>at Object.it (</intensity><dim>build/__tests__/messages-test.js<dim>:45:41)</intensity><dim></intensity>
+ <dim>
+ <dim>at Object.addResult (</intensity><dim>../jest-jasmine2/build/jasmine-2.4.1.js<dim>:1550:14)</intensity><dim>
+ <dim>at Object.it (</intensity><dim>build/__tests__/messages-test.js<dim>:45:41)</intensity><dim></intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:205:20)
|
formatStackTrace should strip node internals:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `formatStackTrace should strip node internals 1`
- Snapshot - 2
+ Received + 2
@@ -5,8 +5,8 @@
"number"
Received:
""
type:
"string"
- <dim></intensity>
- <dim> <dim>at Object.it (</intensity><dim>__tests__/test.js<dim>:8:14)</intensity><dim></intensity>
+ <dim>
+ <dim>at Object.it (</intensity><dim>__tests__/test.js<dim>:8:14)</intensity><dim></intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:253:20)
|
should not exclude vendor from stack trace:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `should not exclude vendor from stack trace 1`
- Snapshot - 3
+ Received + 3
@@ -5,9 +5,9 @@
"number"
Received:
""
type:
"string"
- <dim></intensity>
- <dim> <dim>at Object.it (</intensity><dim>__tests__/vendor/cool_test.js<dim>:6:666)</intensity><dim></intensity>
- <dim> <dim>at Object.asyncFn (</intensity><dim>__tests__/vendor/sulu/node_modules/sulu-content-bundle/best_component.js<dim>:1:5)</intensity><dim></intensity>
+ <dim>
+ <dim>at Object.it (</intensity><dim>__tests__/vendor/cool_test.js<dim>:6:666)</intensity><dim>
+ <dim>at Object.asyncFn (</intensity><dim>__tests__/vendor/sulu/node_modules/sulu-content-bundle/best_component.js<dim>:1:5)</intensity><dim></intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:282:20)
|
retains message in babel code frame error:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `retains message in babel code frame error 1`
- Snapshot - 8
+ Received + 8
"<bold><red> <bold>● </intensity><bold>Babel test</color></intensity>
packages/react/src/forwardRef.js: Unexpected token, expected , (20:10)
- <dim></intensity>
- <dim> </> <gray> 18 | </color> <cyan>false</color><yellow>,</color></intensity>
- <dim> <gray> 19 | </color> <green>'forwardRef requires a render function but received a `memo` '</color></intensity>
- <dim> <red><bold>></intensity><dim></color><gray> 20 | </color> <green>'component. Instead of forwardRef(memo(...)), use '</color> <yellow>+</color></intensity>
- <dim> <gray> | </color> <red><bold>^</intensity><dim></color></intensity>
- <dim> <gray> 21 | </color> <green>'memo(forwardRef(...)).'</color><yellow>,</color></intensity>
- <dim> <gray> 22 | </color> )<yellow>;</color></intensity>
- <dim> <gray> 23 | </color> } <cyan>else</color> <cyan>if</color> (<cyan>typeof</color> render <yellow>!==</color> <green>'function'</color>) {</></intensity>
+ <dim>
+ </> <gray> 18 | </color> <cyan>false</color><yellow>,</color>
+ <gray> 19 | </color> <green>'forwardRef requires a render function but received a `memo` '</color>
+ <red><bold>></intensity><dim></color><gray> 20 | </color> <green>'component. Instead of forwardRef(memo(...)), use '</color> <yellow>+</color>
+ <gray> | </color> <red><bold>^</intensity><dim></color>
+ <gray> 21 | </color> <green>'memo(forwardRef(...)).'</color><yellow>,</color>
+ <gray> 22 | </color> )<yellow>;</color>
+ <gray> 23 | </color> } <cyan>else</color> <cyan>if</color> (<cyan>typeof</color> render <yellow>!==</color> <green>'function'</color>) {</></intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:311:20)
|
formatStackTrace should properly handle deeply nested causes:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `formatStackTrace should properly handle deeply nested causes 1`
- Snapshot - 12
+ Received + 12
"<bold><red> <bold>● </intensity><bold>Error with cause test</color></intensity>
intercepted by f
- <dim></intensity>
- <dim> <dim>at f (</intensity><dim>cause.test.js<dim>:15:11)</intensity><dim></intensity>
- <dim> <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
+ <dim>
+ <dim>at f (</intensity><dim>cause.test.js<dim>:15:11)</intensity><dim>
+ <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
Cause:
intercepted by g
- <dim></intensity>
- <dim> <dim>at g (</intensity><dim>cause.test.js<dim>:8:11)</intensity><dim></intensity>
- <dim> <dim>at g (</intensity><dim>cause.test.js<dim>:13:5)</intensity><dim></intensity>
- <dim> <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
+ <dim>
+ <dim>at g (</intensity><dim>cause.test.js<dim>:8:11)</intensity><dim>
+ <dim>at g (</intensity><dim>cause.test.js<dim>:13:5)</intensity><dim>
+ <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
Cause:
boom
- <dim></intensity>
- <dim> <dim>at h (</intensity><dim>cause.test.js<dim>:2:9)</intensity><dim></intensity>
- <dim> <dim>at h (</intensity><dim>cause.test.js<dim>:6:5)</intensity><dim></intensity>
- <dim> <dim>at g (</intensity><dim>cause.test.js<dim>:13:5)</intensity><dim></intensity>
- <dim> <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
+ <dim>
+ <dim>at h (</intensity><dim>cause.test.js<dim>:2:9)</intensity><dim>
+ <dim>at h (</intensity><dim>cause.test.js<dim>:6:5)</intensity><dim>
+ <dim>at g (</intensity><dim>cause.test.js<dim>:13:5)</intensity><dim>
+ <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:340:20)
|
formatStackTrace should properly handle string causes:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `formatStackTrace should properly handle string causes 1`
- Snapshot - 5
+ Received + 5
"<bold><red> <bold>● </intensity><bold>Error with string cause test</color></intensity>
boom
- <dim></intensity>
- <dim> <dim>at f (</intensity><dim>cause.test.js<dim>:15:11)</intensity><dim></intensity>
- <dim> <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
+ <dim>
+ <dim>at f (</intensity><dim>cause.test.js<dim>:15:11)</intensity><dim>
+ <dim>at Object.f (</intensity><dim>cause.test.js<dim>:20:5)</intensity><dim></intensity>
Cause:
string cause
- <dim></intensity>
- <dim></intensity>
+ <dim>
+ </intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:369:20)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 1`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 2`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 3`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
ScriptTransformer › throws an error if `process` doesn't return an object containing `code` key with processed string:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `ScriptTransformer throws an error if \`process\` doesn't return an object containing \`code\` key with processed string 4`
- Snapshot - 10
+ Received + 10
- "<red><bold>● Invalid return value:</intensity></color>
- <red> `process()` or/and `processAsync()` method of code transformer found at </color>
- <red> "passthrough-preprocessor" </color>
- <red> should return an object or a Promise resolving to an object. The object </color>
- <red> must have `code` property with a string of processed code.</color>
- <red> <bold>This error may be caused by a breaking change in Jest 28:</intensity></color>
- <red> https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer</color>
- <red> <bold>Code Transformation Documentation:</intensity></color>
- <red> https://jestjs.io/docs/code-transformation</color>
- <red></color>"
+ "<red><bold>● Invalid return value:</intensity>
+ `process()` or/and `processAsync()` method of code transformer found at
+ "passthrough-preprocessor"
+ should return an object or a Promise resolving to an object. The object
+ must have `code` property with a string of processed code.
+ <bold>This error may be caused by a breaking change in Jest 28:</intensity>
+ https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28#transformer
+ <bold>Code Transformation Documentation:</intensity>
+ https://jestjs.io/docs/code-transformation
+ </color>"
at Object.toThrowErrorMatchingSnapshot (packages/jest-transform/src/__tests__/ScriptTransformer.test.ts:446:9)
|
Ubuntu with shard 1/4 / Node v23.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 1/4 / Node v23.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 1/4 / Node v22.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 1/4 / Node v22.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
|
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 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
|
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 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 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
|
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
|
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
|
Ubuntu with shard 2/4 / Node v23.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 2/4 / Node v23.x
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 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 2/4 / Node v22.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 2/4 / Node v22.x
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 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 3/4 / Node v23.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 3/4 / Node v23.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 3/4 / Node v22.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 3/4 / Node v22.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 4/4 / Node v23.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 4/4 / Node v23.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 4/4 / Node v22.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 4/4 / Node v22.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 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 1/3 / Node v23.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
macOS with shard 1/3 / Node v23.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 1/3 / Node v22.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
macOS with shard 1/3 / Node v22.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 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
|
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 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 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
|
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 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
|
macOS with shard 2/3 / Node v22.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
macOS with shard 2/3 / Node v22.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 v23.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 1/4 / Node v23.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Windows with shard 1/4 / Node v22.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 1/4 / Node v22.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
|
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 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 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 v23.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 4/4 / Node v23.x
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 v22.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 4/4 / Node v22.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 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
|
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 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
|
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
|
macOS with shard 2/3 / Node v23.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
macOS with shard 2/3 / Node v23.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
|
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
|
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
|
Windows with shard 2/4 / Node v23.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 2/4 / Node v23.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Windows with shard 2/4 / Node v22.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 2/4 / Node v22.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 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
|
macOS with shard 3/3 / Node v22.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
macOS with shard 3/3 / Node v22.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
|
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 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 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
|
macOS with shard 3/3 / Node v23.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
macOS with shard 3/3 / Node v23.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Windows with shard 3/4 / Node v23.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 3/4 / Node v23.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Windows with shard 3/4 / Node v22.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 3/4 / Node v22.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|