UNPKG

better-cipher

Version:

A secure encryption library with browser and Node.js support using AES-GCM

19 lines (17 loc) 504 B
import { defineConfig } from "vitest/config"; export default defineConfig({ test: { environment: "node", // Default to Node.js environment include: ["src/**/*.test.ts"], coverage: { provider: "v8", reporter: ["text", "json", "html"], include: ["src/**/*.ts"], exclude: ["src/**/*.test.ts", "src/test-utils.ts"], }, environmentMatchGlobs: [ // Run browser tests in happy-dom environment ["src/**/*.browser.test.ts", "happy-dom"], ], }, });