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

Commit 227cfff

Browse files
test: more testing issues
1 parent 481453d commit 227cfff

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"build": "aegir build",
1212
"test": "aegir test",
1313
"test:node": "aegir test --target node",
14-
"test:browser": "aegir test --target browser --timeout 30000",
14+
"test:browser": "aegir test --target browser",
1515
"release": "aegir release",
1616
"release-minor": "aegir release --type minor",
1717
"release-major": "aegir release --type major",

test/import-export.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ function fileEql (f1, fileData, callback) {
3333
}
3434

3535
module.exports = (repo) => {
36-
describe('import and export', () => {
36+
describe('import and export', function() {
37+
this.timeout(30 * 1000)
38+
3739
strategies.forEach((strategy) => {
3840
const importerOptions = { strategy: strategy }
3941

test/with-dag-api.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,12 @@ const strategyOverrides = {
107107

108108
}
109109

110-
// TODO: waiting for IPFS support on windows, https://github.com/ipfs/js-ipfs-unixfs-engine/issues/196
111-
describe.skip('with dag-api', () => {
110+
describe('with dag-api', function() {
111+
// TODO: waiting for IPFS support on windows, https://github.com/ipfs/js-ipfs-unixfs-engine/issues/196
112+
if (os.platform() === 'win32') {
113+
return this.skip();
114+
}
115+
112116
strategies.forEach(strategy => {
113117
const baseFiles = strategyBaseFiles[strategy]
114118
const defaultResults = extend({}, baseFiles, {

0 commit comments

Comments
 (0)