GroundControl/vitest.config.mts
Overtorment 440e37c19a
Create unit test and GitHub Actions (#294)
* Update CI workflow, dependencies, and add Vitest for testing

Co-authored-by: overtorment <overtorment@gmail.com>

* Remove Vitest UI and related configuration

Co-authored-by: overtorment <overtorment@gmail.com>

* Move string utils tests to dedicated tests directory

Co-authored-by: overtorment <overtorment@gmail.com>

* Update CI workflow to separate lint and test jobs

Co-authored-by: overtorment <overtorment@gmail.com>

* Rename vitest.config.ts to vitest.config.mts

Co-authored-by: overtorment <overtorment@gmail.com>

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2025-07-01 16:29:27 +01:00

11 lines
274 B
TypeScript

import { defineConfig } from "vitest/config";
export default defineConfig({
test: {
globals: true,
environment: "node",
include: ["**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}"],
exclude: ["node_modules", "dist", "build", ".git", ".github"],
},
});