microsoft/typespec

Public

mirrored from https://github.com/microsoft/typespecAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
copilot/fix-6465

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

packages/emitter-framework/vitest.config.ts

18lines · modecode

1import alloyPlugin from "@alloy-js/rollup-plugin";
2import { defineConfig, mergeConfig } from "vitest/config";
3import { defaultTypeSpecVitestConfig } from "../../vitest.workspace.js";
4
5export 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