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

fix: webpack bundle tests only once #704

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all 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
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"url": "https://github.com/ipfs/js-ipfs-api"
},
"devDependencies": {
"aegir": "^13.0.0",
"aegir": "^14.0.0",
"chai": "^4.1.2",
"dirty-chai": "^2.0.1",
"eslint-plugin-react": "^7.6.1",
Expand Down
6 changes: 6 additions & 0 deletions test/browser.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// This is webpack specific. It will create a single bundle
// out of all files ending in ".spec.js" within the "test"
// directory and all its subdirectories.
'use strict'
const testsContext = require.context('.', true, /\.spec\.js/)
testsContext.keys().forEach(testsContext)