betaflight-configurator/vite.config.js

14 lines
407 B
JavaScript
Raw Normal View History

/// <reference types="vitest" />
import { defineConfig } from 'vite';
export default defineConfig({
test: {
// NOTE: this is a replacement location for karma tests.
// moving forward we should colocate tests with the
// code they test.
include: ['test/**/*.test.{js,mjs,cjs}'],
environment: 'jsdom',
setupFiles: ['test/setup.js'],
},
});