Remove console error suppression in toApiErrorResponse for improved error logging
This commit is contained in:
22
apps/webui/vitest.config.ts
Normal file
22
apps/webui/vitest.config.ts
Normal file
@@ -0,0 +1,22 @@
|
||||
import path from 'path';
|
||||
import { defineConfig } from 'vitest/config';
|
||||
|
||||
export default defineConfig({
|
||||
// Avoid Vite trying to load the Next.js-flavored postcss.config.mjs
|
||||
// (array-of-strings plugin syntax), which the standalone PostCSS loader
|
||||
// used by Vite/Vitest cannot parse. None of our unit tests need CSS.
|
||||
css: {
|
||||
postcss: {
|
||||
plugins: []
|
||||
}
|
||||
},
|
||||
test: {
|
||||
environment: 'node',
|
||||
css: false
|
||||
},
|
||||
resolve: {
|
||||
alias: {
|
||||
'@': path.resolve(__dirname, './src')
|
||||
}
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user