chore(highlightjs): tests not runnable

This commit is contained in:
Elian Doran
2025-05-19 16:30:00 +03:00
parent f859b374a3
commit 6131ae68bb
3 changed files with 48 additions and 47 deletions

View File

@@ -2,22 +2,18 @@
import { defineConfig } from 'vite';
export default defineConfig(() => ({
root: __dirname,
cacheDir: '../../node_modules/.vite/packages/commons',
plugins: [],
// Uncomment this if you are using workers.
// worker: {
// plugins: [ nxViteTsPaths() ],
// },
test: {
'watch': false,
'globals': true,
'environment': "node",
'include': ["src/**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}"],
'reporters': ["default"],
'coverage': {
'reportsDirectory': './test-output/vitest/coverage',
'provider': 'v8' as const,
}
},
root: __dirname,
cacheDir: '../../node_modules/.vite/packages/commons',
plugins: [],
test: {
'watch': false,
'globals': true,
'environment': "node",
'include': ["src/**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}"],
'reporters': ["default"],
'coverage': {
'reportsDirectory': './test-output/vitest/coverage',
'provider': 'v8' as const,
}
},
}));