-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
1,009 additions
and
2,913 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
"use strict"; | ||
|
||
// run AVA | ||
// npx ava --match='*foo' | ||
// ./node_modules/.bin/ava --match='*foo' | ||
// see https://github.com/avajs/ava/blob/main/docs/05-command-line.md | ||
|
||
// https://github.com/avajs/ava/blob/main/docs/06-configuration.md | ||
module.exports = { | ||
// https://github.com/avajs/ava/blob/main/docs/recipes/typescript.md | ||
extensions: { | ||
// https://github.com/avajs/ava/blob/main/docs/06-configuration.md#configuring-module-formats | ||
js: true, | ||
ts: 'commonjs', | ||
}, | ||
// extensions: ['.js', '.ts'], | ||
require: [ | ||
'@babel/register', | ||
], | ||
files: [ | ||
'./test/**/*', | ||
], | ||
ignoredByWatcher: [ | ||
// | ||
// some files and directories are ignored by default, | ||
// see https://github.com/avajs/ava/blob/main/docs/recipes/watch-mode.md#ignoring-changes | ||
// | ||
// note: | ||
// AVA dependency tracking (https://github.com/avajs/ava/blob/main/docs/recipes/watch-mode.md#dependency-tracking) | ||
// currently does not work with native ES modules. | ||
// See | ||
// https://github.com/avajs/ava/issues/2388 | ||
// https://github.com/avajs/ava/pull/3123 | ||
// https://github.com/avajs/ava/issues/2905 | ||
// | ||
// use the following to debug: | ||
// DEBUG=ava:watcher npx ava --watch | ||
// or | ||
// DEBUG=ava:* npx ava --watch | ||
// | ||
'./.idea/', | ||
'./temp/', | ||
'./dist/', | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.