mirror of
https://github.com/labring/FastGPT.git
synced 2026-04-27 02:08:10 +08:00
Opensandbox (#6657)
* Opensandbox (#6651) * volumn manager * feat: opensandbox volumn * perf: action (#6654) * perf: action * doc * doc * deploy tml * update template
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
import { defineConfig } from 'vitest/config';
|
||||
|
||||
export default defineConfig({
|
||||
test: {
|
||||
coverage: {
|
||||
enabled: true,
|
||||
reporter: ['text', 'text-summary', 'html', 'json-summary', 'json'],
|
||||
reportOnFailure: true,
|
||||
all: false, // 只包含被测试实际覆盖的文件,不包含空目录
|
||||
include: ['src/**/*.ts'],
|
||||
cleanOnRerun: false
|
||||
},
|
||||
root: '.',
|
||||
include: ['test/**/*.test.ts'],
|
||||
testTimeout: 30000,
|
||||
hookTimeout: 30000,
|
||||
fileParallelism: false,
|
||||
maxConcurrency: 1,
|
||||
isolate: false,
|
||||
env: {
|
||||
CHECK_INTERNAL_IP: 'true',
|
||||
SANDBOX_MAX_TIMEOUT: '5000',
|
||||
SANDBOX_TOKEN: 'test'
|
||||
}
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user