chore: replace chalk
with picocolors
#14418
Annotations
10 errors and 2 warnings
run tests:
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)
|
run tests:
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)
|
run tests:
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)
|
run tests:
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)
|
run tests:
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)
|
run tests:
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)
|
run tests:
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)
|
run tests:
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)
|
run tests:
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)
|
run tests:
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)
|
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