e6cd2ab441
* feat: basic structure for running tests * feat: added test to ci * feat: added server test (wip) * refactor: restuctured entrypoint * feat: added supertest * fix: missing deps * fix: test example ci * fix: updated default envs * feat: debug ci * feat: switch browser * fix: superadmin ci * feat: try another image * fix: try another image with node * fix: mr comments * fix: ci job * chore: workaround to push the image * chore: try with new base image * chore: retry * chore: retry * chore: retry * chore: retry * chore: retry * fix: test via debug * fix: envbar * chore: wrapped up changes, cleaned mr * chore: fix linter and skiped puppeteer download * fix: removed paralelism * fix: paralelism issues
21 lines
494 B
TypeScript
21 lines
494 B
TypeScript
import { TIME_MS } from '@speckle/shared'
|
|
import path from 'path'
|
|
import { configDefaults, defineConfig } from 'vitest/config'
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
exclude: [...configDefaults.exclude],
|
|
// reporters: ['verbose', 'hanging-process'] //uncomment to debug hanging processes etc.
|
|
sequence: {
|
|
shuffle: true,
|
|
concurrent: true
|
|
},
|
|
testTimeout: 2 * TIME_MS.minute
|
|
},
|
|
resolve: {
|
|
alias: {
|
|
'@': path.resolve(__dirname, './src')
|
|
}
|
|
}
|
|
})
|