lint
This commit is contained in:
977 files changed
+198426
-158324
No files matched your search
@@ -6,26 +6,26 @@ import protobufVitePlugin from '@snowluma/proton/vite';
|
||||
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [protobufVitePlugin()],
|
||||
resolve: {
|
||||
alias: {
|
||||
'@': path.resolve(__dirname, 'src')
|
||||
}
|
||||
},
|
||||
test: {
|
||||
include: ['tests/**/*.test.ts'],
|
||||
environment: 'node',
|
||||
// Suppress the logger's file transport during tests so the suite
|
||||
// doesn't litter cwd with logs/snowluma-*.log files. Tests that
|
||||
// explicitly cover file output set their own SNOWLUMA_LOG_FILE='1'
|
||||
// + SNOWLUMA_LOG_DIR=<tmp>.
|
||||
//
|
||||
// Run at debug level so tests asserting on debug-level log entries
|
||||
// (e.g. action dispatch entry lines) actually see them via the
|
||||
// ring buffer / subscribers, which sit behind the console-level gate.
|
||||
env: {
|
||||
SNOWLUMA_LOG_FILE: '0',
|
||||
SNOWLUMA_LOG_LEVEL: 'debug'
|
||||
}
|
||||
}
|
||||
plugins: [protobufVitePlugin()],
|
||||
resolve: {
|
||||
alias: {
|
||||
'@': path.resolve(__dirname, 'src'),
|
||||
},
|
||||
},
|
||||
test: {
|
||||
include: ['tests/**/*.test.ts'],
|
||||
environment: 'node',
|
||||
// Suppress the logger's file transport during tests so the suite
|
||||
// doesn't litter cwd with logs/snowluma-*.log files. Tests that
|
||||
// explicitly cover file output set their own SNOWLUMA_LOG_FILE='1'
|
||||
// + SNOWLUMA_LOG_DIR=<tmp>.
|
||||
//
|
||||
// Run at debug level so tests asserting on debug-level log entries
|
||||
// (e.g. action dispatch entry lines) actually see them via the
|
||||
// ring buffer / subscribers, which sit behind the console-level gate.
|
||||
env: {
|
||||
SNOWLUMA_LOG_FILE: '0',
|
||||
SNOWLUMA_LOG_LEVEL: 'debug',
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in new issue
Block a user