-
|
I'm trying to figure out how snapshots behave when running in CI. This doesn't seem to be covered by https://vitest.dev/guide/snapshot.html I found #7963 which seems to suggest that obsolete snapshot will causes failed tests when running in CI. Though I'm not exactly sure what obsolete means here :) But never the less this is good. Where can I find out how the snapshots behave when running in CI? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
EDIT: created #9694 It looks like we are missing docs. We detect vitest/packages/vitest/src/node/config/resolveConfig.ts Lines 564 to 575 in 8169fbd |
Beta Was this translation helpful? Give feedback.
EDIT: created #9694
It looks like we are missing docs. We detect
process.env.CIvariable and such, then automatically flip this--updateflag to befalsehttps://vitest.dev/config/update.html This should be documented in https://vitest.dev/guide/snapshot.html#updating-snapshotsvitest/packages/vitest/src/node/config/resolveConfig.ts
Lines 564 to 575 in 8169fbd