This repository has been archived on 2024-07-19. You can view files and clone it, but cannot push or open issues or pull requests.
rotini/frontend/vite.config.js
Marc Cataford 984ab6d022
build(fe-tooling): set up vitest to replace jest et al.
fix: include mocha types

fix: missing vitest import

fix: missing vitest import
2023-12-30 00:49:58 -05:00

19 lines
398 B
JavaScript

import legacy from "@vitejs/plugin-legacy"
import basicSSL from "@vitejs/plugin-basic-ssl"
import { defineConfig } from "vite"
export default defineConfig({
plugins: [legacy(), basicSSL()],
server: {
port: 1234,
strictPort: true,
https: false,
},
test: {
environment: "jsdom",
setupFiles: ["./src/tests/testSetup.ts"],
testMatch: ["./src/**/*.test.tsx?"],
globals: true,
},
})