Skip to content

Commit

Permalink
fix: add main-dir require to ava config in package.json for app/add…
Browse files Browse the repository at this point in the history
…on blueprints (#38)

Closes #37

* Add require 'main-dir' to fix ava tests
  • Loading branch information
seawatts authored and davewasmer committed Oct 13, 2017
1 parent 1dbffd8 commit dc63223
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion blueprints/addon/files/__name__/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@
},
"ava": {
"plugins": [],
"presets": []
"presets": [],
"require": [
"main-dir"
]
}
}
5 changes: 4 additions & 1 deletion blueprints/app/files/__name__/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@
},
"ava": {
"plugins": [],
"presets": []
"presets": [],
"require": [
"main-dir"
]
}
}

0 comments on commit dc63223

Please sign in to comment.