Skip to content

Commit

Permalink
chore(test): fix vitest config to ignore e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
noriapi committed Jan 6, 2024
1 parent 9ad8bb3 commit d49aa5e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vitest.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { defineConfig } from "vitest/config";
import { configDefaults, defineConfig } from "vitest/config";
import { WxtVitest } from "wxt/testing";

export default defineConfig({
Expand All @@ -9,6 +9,7 @@ export default defineConfig({
css: {
include: /.*\.module\.css$/,
},
exclude: [...configDefaults.exclude, "e2e/*"],
},
// This is the line that matters!
plugins: [WxtVitest()],
Expand Down

0 comments on commit d49aa5e

Please sign in to comment.