Skip to content

ci: setup custom path matcher for vitest #315

ci: setup custom path matcher for vitest

ci: setup custom path matcher for vitest #315

Triggered via pull request October 23, 2024 17:11
@BioPhotonBioPhoton
synchronize #60
CI-win
Status Failure
Total duration 2m 53s
Artifacts

code-pushup.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error
Code PushUp
�[1;H�[0J�[1;H�[1;HRun plugins: 0% | �[0K �[0K�[1;HRun plugins: 0% | Executing Nx Performance Checks�[0K �[0K�[1;HRun plugins: ████████████████████████████████████████████████████████████████████████████████ 100% | Done running plugins�[0K �[0K Vitest "cache.dir" is deprecated, use Vite's "cacheDir" instead if you want to change the cache director. Note caches will be written to "cacheDir/vitest" Vitest "cache.dir" is deprecated, use Vite's "cacheDir" instead if you want to change the cache director. Note caches will be written to "cacheDir/vitest" Vitest "cache.dir" is deprecated, use Vite's "cacheDir" instead if you want to change the cache director. Note caches will be written to "cacheDir/vitest" ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 1 ⎯⎯⎯⎯⎯⎯⎯ FAIL test/plugin-create-nodes.e2e.test.ts > nx-verdaccio plugin create-nodes-v2 > should add package targets to library project Error: Snapshot `nx-verdaccio plugin create-nodes-v2 > should add package targets to library project 1` mismatched ❯ test/plugin-create-nodes.e2e.test.ts:95:33 93| }); 94| 95| expect(projectJson.targets).toMatchSnapshot(); | ^ 96| }); 97| ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯ Error: Executing 1 plugin failed. Error: - Plugin Nx Performance Checks (nx-perf) produced the following error: - Vitest "cache.dir" is deprecated, use Vite's "cacheDir" instead if you want to change the cache director. Note caches will be written to "cacheDir/vitest" ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 1 ⎯⎯⎯⎯⎯⎯⎯ FAIL test/plugin-create-nodes.e2e.test.ts > nx-verdaccio plugin create-nodes-v2 > should add package targets to library project Error: Snapshot `nx-verdaccio plugin create-nodes-v2 > should add package targets to library project 1` mismatched ❯ test/plugin-create-nodes.e2e.test.ts:95:33 93| }); 94| 95| expect(projectJson.targets).toMatchSnapshot(); | ^ 96| }); 97| ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯ at executePlugins (file:///home/runner/work/nx-verdaccio/nx-verdaccio/node_modules/@code-pushup/cli/index.js:2606:11) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async collect (file:///home/runner/work/nx-verdaccio/nx-verdaccio/node_modules/@code-pushup/cli/index.js:2636:25) at async collectAndPersistReports (file:///home/runner/work/nx-verdaccio/nx-verdaccio/node_modules/@code-pushup/cli/index.js:2709:18)�[3