Update Vite build output and remove test file

Added Vite build output directories to .gitignore and configured Vite to output to ../wwwroot. Removed obsolete App.spec.ts test file from GUI/src/__tests__.
This commit is contained in:
2025-12-31 16:14:20 +01:00
parent c63da03a3e
commit 23505060c5
4 changed files with 8 additions and 12 deletions
+5 -1
View File
@@ -81,4 +81,8 @@ yarn-error.log*
# Database (Sql Lite) # Database (Sql Lite)
API/app.db-wal API/app.db-wal
API/app.db-shm API/app.db-shm
# Vite build output
GUI/dist/
wwwroot/
Binary file not shown.
-11
View File
@@ -1,11 +0,0 @@
import { describe, it, expect } from 'vitest'
import { mount } from '@vue/test-utils'
import App from '../App.vue'
describe('App', () => {
it('mounts renders properly', () => {
const wrapper = mount(App)
expect(wrapper.text()).toContain('You did it!')
})
})
+3
View File
@@ -15,4 +15,7 @@ export default defineConfig({
'@': fileURLToPath(new URL('./src', import.meta.url)) '@': fileURLToPath(new URL('./src', import.meta.url))
}, },
}, },
build: {
outDir: "../wwwroot"
}
}) })