mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-13 19:40:24 +03:00
* feat: refactor everything to modules * fix: a lot of circular deps fixes * feat: use vitest instead of karma
13 lines
407 B
JavaScript
13 lines
407 B
JavaScript
/// <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'],
|
|
},
|
|
});
|