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
9 changes: 9 additions & 0 deletions apps/sim/trigger.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,15 @@ export default defineConfig({
},
},
dirs: ['./background'],
/**
* Every file under `dirs` is imported as a task file at deploy time, so any
* test co-located there must be excluded or its top-level `vi.mock()` throws
* outside Vitest and fails the whole deploy. Setting this replaces the CLI's
* defaults (`*.test.*` and `*.spec.*`), which are restated here alongside
* the `*.integration.*` suffix used for suites that run against real
* Postgres/Redis, across every extension task discovery matches.
*/
ignorePatterns: ['**/*.{test,spec,integration}.{ts,tsx,mts,cts,js,jsx,mjs,cjs}'],
/**
* Runs before any task run, in the run process. Marks the process so that
* dispatch decisions further down the call graph stop inferring from
Expand Down
Loading