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:
6
.gitignore
vendored
6
.gitignore
vendored
@@ -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.
@@ -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!')
|
|
||||||
})
|
|
||||||
})
|
|
||||||
@@ -15,4 +15,7 @@ export default defineConfig({
|
|||||||
'@': fileURLToPath(new URL('./src', import.meta.url))
|
'@': fileURLToPath(new URL('./src', import.meta.url))
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
build: {
|
||||||
|
outDir: "../wwwroot"
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user