mirror of
https://github.com/kuhyx/utils.git
synced 2026-11-10 20:07:18 +01:00
Some checks failed
dependency freshness / dependencies on newest stable (push) Waiting to run
file length / file-length (push) Waiting to run
md-naming / markdown naming convention (push) Waiting to run
palette drift / palette (push) Waiting to run
repo-contract / repo contract (push) Waiting to run
shared gate tests / gate unit tests (push) Waiting to run
web_ui tests / test (push) Has been cancelled
RangeSlider.astro + <range-slider> replace the React component. Pure helpers, tokens.css and range-slider.css are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WzxdWYdwRAtMg7ki6TKxuU
21 lines
708 B
TypeScript
21 lines
708 B
TypeScript
/// <reference types="vitest/config" />
|
|
import { getViteConfig } from "astro/config";
|
|
|
|
export default getViteConfig({
|
|
test: {
|
|
coverage: {
|
|
exclude: ["src/index.ts", "src/test/**", "src/**/*.d.ts"],
|
|
include: ["src/**/*.ts"],
|
|
provider: "v8",
|
|
// A shared layer that several repos depend on does not get to be the
|
|
// least-tested code in the tree. `.astro` files are outside `include`:
|
|
// the component is markup, covered by RangeSlider.astro.test.ts.
|
|
thresholds: { branches: 100, functions: 100, lines: 100, statements: 100 },
|
|
},
|
|
environment: "jsdom",
|
|
globals: true,
|
|
include: ["src/**/*.test.ts"],
|
|
setupFiles: ["./src/test/setup.ts"],
|
|
},
|
|
});
|