forked from emilmor/bedrock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathava.config.js
34 lines (32 loc) · 868 Bytes
/
ava.config.js
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
27
28
29
30
31
32
33
34
import util from 'util';
util.inspect.defaultOptions.depth = 5;
// https://github.com/avajs/ava/blob/master/docs/06-configuration.md
export default {
files: [
'knapsack/tests/**/*',
'packages/*/tests/**/*',
'!dist',
// 'packages/renderer-twig/tests/*',
],
extensions: ['.test.ts'],
helpers: ['**/tests/fixtures/**/*', '**/tests/helpers/**/*'],
// sources: ['src/**/*'],
// match: ['*oo', '!foo'],
cache: true,
// concurrency: 5,
failFast: true,
failWithoutAssertions: false,
// environmentVariables: {
// MY_ENVIRONMENT_VARIABLE: 'some value',
// },
// tap: true,
// verbose: true,
// compileEnhancements: false,
require: ['@babel/register'],
babel: {
extensions: ['js', 'jsx', 'ts', 'tsx', 'mjs'],
testOptions: {
// presets: [['@ava/transform-test-files', { powerAssert: false }]],
},
},
};