Skip to content

Commit d70bd7e

Browse files
committed
fix: update snapshots to match formatted source quotes
1 parent ffd0eed commit d70bd7e

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

crates/vite_task_bin/tests/e2e_snapshots/fixtures/cache-skip-vite-temp/snapshots/source change still causes cache miss.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ expression: e2e_outputs
44
---
55
> vt run build # first run: cache miss
66
$ node build.mjs
7-
built: export const hello = "world";
7+
built: export const hello = 'world';
88
> replace-file-content src/index.ts world universe # modify real source
99

1010
> vt run build # cache miss: source changed
1111
$ node build.mjscache miss: 'src/index.ts' modified, executing
12-
built: export const hello = "universe";
12+
built: export const hello = 'universe';

crates/vite_task_bin/tests/e2e_snapshots/fixtures/cache-skip-vite-temp/snapshots/vite-temp read-write does not prevent caching.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ expression: e2e_outputs
44
---
55
> vt run build # first run: cache miss
66
$ node build.mjs
7-
built: export const hello = "world";
7+
built: export const hello = 'world';
88
> vt run build # second run: should hit cache despite .vite-temp write
99
$ node build.mjscache hit, replaying
10-
built: export const hello = "world";
10+
built: export const hello = 'world';
1111

1212
---
1313
vt run: cache hit, <duration> saved.

0 commit comments

Comments
 (0)