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

4
.gitignore vendored
View File

@@ -82,3 +82,7 @@ yarn-error.log*
# Database (Sql Lite)
API/app.db-wal
API/app.db-shm
# Vite build output
GUI/dist/
wwwroot/

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!')
})
})

View File

@@ -15,4 +15,7 @@ export default defineConfig({
'@': fileURLToPath(new URL('./src', import.meta.url))
},
},
build: {
outDir: "../wwwroot"
}
})