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