Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

feat(ava): add support for ava 3 out-of-the-box #414

Merged
merged 16 commits into from
Jan 31, 2020
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion template/_package.json
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,8 @@
"jest": "^24.1.0",
"vue-jest": "^4.0.0-0",
<%_ } else if (test === 'ava') { _%>
"ava": "^2.2.0",
"ava": "^3.0.0",
"@ava/babel": "^1.0.0",
"babel-plugin-module-resolver": "^3.2.0",
"browser-env": "^3.2.5",
"require-extension-hooks": "^0.3.3",
Expand Down
2 changes: 1 addition & 1 deletion template/frameworks/ava/ava.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export default {
require: ['./test/ava.setup.js'],
sources: ['**/*.{js,vue}'],
ignoredByWatcher: ['!**/*.{js,vue}'],
babel: {
testOptions: {
plugins: [
Expand Down
5 changes: 3 additions & 2 deletions test/snapshots/index.test.js.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

The actual snapshot is saved in `index.test.js.snap`.

Generated by [AVA](https://ava.li).
Generated by [AVA](https://avajs.dev).

## verify default answers

Expand Down Expand Up @@ -2171,8 +2171,9 @@ Generated by [AVA](https://ava.li).
nuxt: '^2.0.0',
},
devDependencies: {
'@ava/babel': '^1.0.0',
'@vue/test-utils': '^1.0.0-beta.27',
ava: '^2.2.0',
ava: '^3.0.0',
'babel-plugin-module-resolver': '^3.2.0',
'browser-env': '^3.2.5',
'require-extension-hooks': '^0.3.3',
Expand Down
Binary file modified test/snapshots/index.test.js.snap
Binary file not shown.