FINALLY have the container run again locally

This commit is contained in:
Chris Kruining 2025-02-20 15:53:11 +11:00
parent 04b55e02fb
commit af7b59797c
No known key found for this signature in database
GPG key ID: EB894A3560CCCAD2
7 changed files with 64 additions and 20 deletions

View file

@ -1,13 +1,13 @@
import { defineConfig } from 'vitest/config';
import solidPlugin from 'vite-plugin-solid';
import { resolve } from 'path'
import type { Plugin } from 'vite';
import { resolve } from 'node:path'
import { CoverageReporter, CoverageV8Options } from 'vitest/node';
import type { Plugin } from 'vite';
export default defineConfig({
plugins: [
solidPlugin(),
reportWith('lcov', 'text')
reportWith('lcov', 'text'),
],
resolve: {
conditions: ['development', 'browser'],
@ -17,6 +17,13 @@ export default defineConfig({
},
test: {
environment: 'jsdom',
deps: {
optimizer: {
web: {
enabled: true,
}
}
},
coverage: {
provider: 'istanbul',
reportsDirectory: './.coverage',