microsoft/typespec
Publicmirrored from https://github.com/microsoft/typespecAvailable
packages/emitter-framework/vitest.config.ts
15lines · modecode
| 1 | import alloyPlugin from "@alloy-js/rollup-plugin"; |
| 2 | import { defineConfig, mergeConfig } from "vitest/config"; |
| 3 | import { defaultTypeSpecVitestConfig } from "../../vitest.config.js"; |
| 4 | |
| 5 | export default mergeConfig( |
| 6 | defaultTypeSpecVitestConfig, |
| 7 | defineConfig({ |
| 8 | test: { |
| 9 | include: ["src/**/*.test.ts", "src/**/*.test.tsx", "test/**/*.test.ts", "test/**/*.test.tsx"], |
| 10 | passWithNoTests: true, |
| 11 | setupFiles: ["./test/vitest.setup.ts"], |
| 12 | }, |
| 13 | plugins: [alloyPlugin()], |
| 14 | }), |
| 15 | ); |
| 16 | |