Integration test improvements #793
Annotations
7 errors and 1 warning
tests/unit/images.test.ts > Images > Chat Heads:
tests/unit/images.test.ts#L33
Error: Expected image to be the same size as the snapshot (240x220), but was different (519x142).
See diff for details: tests/unit/snapshots/__diff_output__/images-test-ts-tests-unit-images-test-ts-images-toa-image-1-snap-diff.png
❯ tests/unit/images.test.ts:33:38
|
tests/unit/images.test.ts > Images > Collection Log:
tests/unit/images.test.ts#L52
Error: New snapshot was not written. The update flag must be explicitly passed to write a new snapshot.
+ This is likely because this test is run in a continuous integration (CI) environment in which snapshots are not written by default.
❯ tests/unit/images.test.ts:52:38
|
tests/unit/images.test.ts > Images > Bank Image:
tests/unit/images.test.ts#L66
Error: New snapshot was not written. The update flag must be explicitly passed to write a new snapshot.
+ This is likely because this test is run in a continuous integration (CI) environment in which snapshots are not written by default.
❯ tests/unit/images.test.ts:66:34
|
tests/unit/images.test.ts > Images > POH Image:
tests/unit/images.test.ts#L77
Error: Expected image to be the same size as the snapshot (260x180), but was different (1172x357).
See diff for details: tests/unit/snapshots/__diff_output__/images-test-ts-tests-unit-images-test-ts-images-cox-image-1-snap-diff.png
❯ tests/unit/images.test.ts:77:18
|
tests/unit/images.test.ts > Images > TOA Image:
tests/unit/images.test.ts#L106
Error: New snapshot was not written. The update flag must be explicitly passed to write a new snapshot.
+ This is likely because this test is run in a continuous integration (CI) environment in which snapshots are not written by default.
❯ tests/unit/images.test.ts:106:38
|
tests/unit/images.test.ts > Images > COX Image:
tests/unit/images.test.ts#L127
Error: New snapshot was not written. The update flag must be explicitly passed to write a new snapshot.
+ This is likely because this test is run in a continuous integration (CI) environment in which snapshots are not written by default.
❯ tests/unit/images.test.ts:127:38
|
Node v20 - ubuntu-latest
Process completed with exit code 1.
|
Node v20 - ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|