Skip to content

Commit

Permalink
Upgrade ava to v3
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomWright committed Apr 6, 2020
1 parent d2f4426 commit 1100d0b
Show file tree
Hide file tree
Showing 7 changed files with 802 additions and 1,801 deletions.
3 changes: 1 addition & 2 deletions ava.config.js → ava.config.cjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
export default {
compileEnhancements: false,
module.exports = {
extensions: ["ts"],
require: ["ts-node/register"],
}
6 changes: 6 additions & 0 deletions ava.config.integration.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
const baseConfig = require("./ava.config.cjs")

module.exports = {
...baseConfig,
files: ["src/**/__tests__/**/*.ts", "!src/**/__tests__/**/fixtures/**/*"],
}
6 changes: 0 additions & 6 deletions ava.config.integration.js

This file was deleted.

6 changes: 6 additions & 0 deletions ava.config.unit.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
const baseConfig = require("./ava.config.cjs")

module.exports = {
...baseConfig,
files: ["src/**/__unit__/**/*.ts", "!src/**/__unit__/**/fixtures/**/*"],
}
6 changes: 0 additions & 6 deletions ava.config.unit.js

This file was deleted.

Loading

0 comments on commit 1100d0b

Please sign in to comment.