Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminpaige committed Dec 18, 2024
1 parent 4a6f272 commit fb53c0d
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ import { EventEmitter } from "events";
EventEmitter.defaultMaxListeners = 30;

export default defineConfig({
resolve: {
alias: {
"@": join(__dirname, "./react-app/src"),
},
},
test: {
globals: true,
environment: "jsdom",
Expand All @@ -15,7 +20,6 @@ export default defineConfig({
reportsDirectory: join(__dirname, "coverage"),
reporter: ["html", "text", "json-summary", "json", "lcovonly"],
reportOnFailure: true,
// Removed or adjusted excludes to allow new tests to run
exclude: [
...configDefaults.exclude,
".build_run",
Expand All @@ -42,9 +46,7 @@ export default defineConfig({
"**/assets/**",
"node_modules/**",
"**/node_modules/**",
// Removed "lib/libs/email/content/**" and others from excludes
// to ensure tests in those directories run
],
},
},
});
});

0 comments on commit fb53c0d

Please sign in to comment.