Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions packages/tools/src/snap-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,9 @@ async function runTestCase(name: string, tempTmpDir: string, casesDir: string, b
// Indicate CLI is running in test mode, so that it prints more detailed outputs.
// Also disables tips for stable snapshots.
VITE_PLUS_CLI_TEST: '1',
// Suppress Node.js runtime warnings (e.g. MODULE_TYPELESS_PACKAGE_JSON)
// to keep snap outputs stable across Node.js versions.
NODE_NO_WARNINGS: '1',
NO_COLOR: 'true',
// set CI=true make sure snap-tests are stable on GitHub Actions
CI: 'true',
Expand Down
Loading