Skip to content

Commit

Permalink
Merge pull request #8 from fremtind/debug-windows-build-failure
Browse files Browse the repository at this point in the history
Fix windows build failure
  • Loading branch information
hjellek authored Apr 24, 2024
2 parents 1500148 + 9601f12 commit 2d88c25
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
1 change: 0 additions & 1 deletion e2e/smoke/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ vitest_test(
vitest_test(
name = "filter_test",
args = [
"--testNamePattern",
"index.test.js",
],
config = "vitest.config.mjs",
Expand Down
7 changes: 4 additions & 3 deletions vitest/private/vitest_config_template.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ if (autoConfTestSequencer) {
}

config.test.sequence = {
sequencer: (await import(bazelSequencerPath)).default,
sequencer: (await import("file://" + bazelSequencerPath)).default,
};
}

Expand All @@ -92,8 +92,9 @@ if (!updateSnapshots) {

// If this is an update snapshot target the configure the Bazel snapshot resolver
if (updateSnapshots) {
let createSnapshotResolver = (await import(bazelSnapshotResolverPath))
.createSnapshotResolver;
let createSnapshotResolver = (
await import("file://" + bazelSnapshotResolverPath)
).createSnapshotResolver;
config.test.resolveSnapshotPath = createSnapshotResolver(
config.test.resolveSnapshotPath,
);
Expand Down

0 comments on commit 2d88c25

Please sign in to comment.