chore: implement js test suites #58

Merged
Sebastian merged 1 commits from chore/js-test-suites into main 2026-07-24 04:37:07 +00:00
3 changed files with 1147 additions and 794 deletions
+1140 -790
View File
File diff suppressed because it is too large Load Diff
+4 -1
View File
@@ -27,9 +27,12 @@
"@vitejs/plugin-vue": "^6.0.1",
"@vitest/coverage-v8": "^4.0.18",
"@vitest/ui": "^4.0.18",
"@vue/test-utils": "^2.4.10",
"@vue/tsconfig": "^0.9.0",
"typescript": "~7.0.0",
"jsdom": "^29.1.1",
"typescript": "~6.0.0",
"vite": "^8.0.0",
"vitest": "^4.0.18",
"vue-tsc": "^3.0.5"
}
}
+3 -3
View File
@@ -1,17 +1,17 @@
import { fileURLToPath } from 'node:url'
import { defineConfig, configDefaults } from 'vitest/config'
import vue from '@vitejs/plugin-vue'
import vuetify from 'vite-plugin-vuetify'
import path from 'path'
const __filename = fileURLToPath(import.meta.url)
const __dirname = path.dirname(__filename)
export default defineConfig({
plugins: [vue(), vuetify()],
plugins: [vue()],
resolve: {
alias: {
'@KTXC': path.resolve(__dirname, '../../../core/src'),
'@': path.resolve(__dirname, '../../src'),
'@KTXC': path.resolve(__dirname, '../../../../core/src'),
},
},
test: {