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