-
-
Notifications
You must be signed in to change notification settings - Fork 201
Expand file tree
/
Copy pathvitest.config.js
More file actions
26 lines (24 loc) · 753 Bytes
/
Copy pathvitest.config.js
File metadata and controls
26 lines (24 loc) · 753 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
* This file is part of the Symfony Webpack Encore package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
import { defineConfig } from 'vitest/config';
export default defineConfig({
test: {
globals: true,
environment: 'node',
include: ['test/**/*.js'],
exclude: ['test/helpers/**', 'test/vitest-global-setup.js', 'test/vitest-setup.js'],
testTimeout: 10000,
hookTimeout: 15000,
globalSetup: ['./test/vitest-global-setup.js'],
setupFiles: ['./test/vitest-setup.js'],
},
resolve: {
conditions: ['node', 'node-addons'],
},
});