feat: Replace chalk
with picocolors
#14152
Annotations
10 errors and 2 warnings
run tests:
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)
|
run tests:
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)
|
run tests:
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)
|
run tests:
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)
|
run tests:
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)
|
run tests:
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)
|
run tests:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `getNoTestsFoundMessage returns correct message when monitoring only failures 1`
- Snapshot - 2
+ Received + 2
Object {
"exitWith0": false,
- "message": "<bold>No failed test found.</intensity><dim></intensity>
- <dim>Run Jest without `--onlyFailures` or with `--all` to run all tests.</intensity>",
+ "message": "<bold>No failed test found.</intensity><dim>
+ Run Jest without `--onlyFailures` or with `--all` to run all tests.</intensity>",
}
at Object.toMatchSnapshot (packages/jest-core/src/__tests__/getNoTestsFoundMessage.test.ts:29:48)
|
run tests:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `getNoTestsFoundMessage returns correct message when monitoring only changed 1`
- Snapshot - 2
+ Received + 2
Object {
"exitWith0": true,
- "message": "<bold>No tests found related to files changed since last commit.</intensity><dim></intensity>
- <dim>Run Jest without `-o` or with `--all` to run all tests.</intensity>",
+ "message": "<bold>No tests found related to files changed since last commit.</intensity><dim>
+ Run Jest without `-o` or with `--all` to run all tests.</intensity>",
}
at Object.toMatchSnapshot (packages/jest-core/src/__tests__/getNoTestsFoundMessage.test.ts:34:48)
|
run tests:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `getNoTestsFoundMessage returns correct message when monitoring only failures 1`
- Snapshot - 2
+ Received + 2
Object {
"exitWith0": false,
- "message": "<bold>No failed test found.</intensity><dim></intensity>
- <dim>Run Jest without `--onlyFailures` or with `--all` to run all tests.</intensity>",
+ "message": "<bold>No failed test found.</intensity><dim>
+ Run Jest without `--onlyFailures` or with `--all` to run all tests.</intensity>",
}
at Object.toMatchSnapshot (packages/jest-core/src/__tests__/getNoTestsFoundMessage.test.ts:29:48)
|
run tests:
undefined#L1
expect(received).toMatchSnapshot()
Snapshot name: `getNoTestsFoundMessage returns correct message when monitoring only changed 1`
- Snapshot - 2
+ Received + 2
Object {
"exitWith0": true,
- "message": "<bold>No tests found related to files changed since last commit.</intensity><dim></intensity>
- <dim>Run Jest without `-o` or with `--all` to run all tests.</intensity>",
+ "message": "<bold>No tests found related to files changed since last commit.</intensity><dim>
+ Run Jest without `-o` or with `--all` to run all tests.</intensity>",
}
at Object.toMatchSnapshot (packages/jest-core/src/__tests__/getNoTestsFoundMessage.test.ts:34:48)
|
run tests
Attempt 1 failed. Reason: Child_process exited with error code 1
|
run tests
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Loading