mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-15 04:15:32 +03:00
Refactor msp to modules (#3214)
* feat: refactor everything to modules * fix: a lot of circular deps fixes * feat: use vitest instead of karma
This commit is contained in:
parent
654dca2a19
commit
c086395def
82 changed files with 1660 additions and 1376 deletions
13
vite.config.js
Normal file
13
vite.config.js
Normal file
|
@ -0,0 +1,13 @@
|
|||
/// <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'],
|
||||
},
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue