mirror of
https://github.com/kevinthedang/discord-ollama.git
synced 2025-12-12 11:56:06 -05:00
* organized existing scripts * Delete nodemon.json * exclude test/* from vitest * remove nodemon from package * Update: slight adjustments to package.json and readme * Update: more small changes to readme * Fix: cleanup scripts and start scripts --------- Co-authored-by: JT2M0L3Y <jtsmoley@icloud.com>
12 lines
383 B
TypeScript
12 lines
383 B
TypeScript
import { defineConfig, configDefaults } from 'vitest/config'
|
|
|
|
// config for vitest
|
|
export default defineConfig({
|
|
test: {
|
|
globals: true, // <-- reduces test file imports
|
|
coverage: {
|
|
exclude: [...configDefaults.exclude, 'build/*', 'tests/*'], // <-- exclude JS build
|
|
reporter: ['text', 'html'] // <-- reports in text, html
|
|
}
|
|
}
|
|
}) |