diff --git a/package.json b/package.json index 5fd0ed098..297236839 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/test/browser.js b/test/browser.js new file mode 100644 index 000000000..94e103f6c --- /dev/null +++ b/test/browser.js @@ -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)