This repository has been archived by the owner on Feb 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fc955e7
commit 9358c42
Showing
6 changed files
with
34 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ sudo: false | |
language: node_js | ||
node_js: | ||
- 4 | ||
- 5 | ||
- 6 | ||
- stable | ||
|
||
# Make sure we have new NPM. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,13 @@ | ||
/* eslint-env mocha */ | ||
'use strict' | ||
|
||
const fs = require('fs') | ||
|
||
describe('--both', () => { | ||
const tests = fs.readdirSync(__dirname) | ||
|
||
tests.filter((file) => { | ||
return !(file === 'index.js' || file.indexOf('.') === 0) | ||
}).forEach((file) => { | ||
require('./' + file) | ||
}) | ||
require('./test-bitswap') | ||
require('./test-block') | ||
require('./test-bootstrap') | ||
require('./test-config') | ||
require('./test-files') | ||
require('./test-generic') | ||
require('./test-init') | ||
require('./test-object') | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,6 @@ | ||
/* eslint-env mocha */ | ||
'use strict' | ||
|
||
const fs = require('fs') | ||
|
||
describe('--browser only', () => { | ||
const tests = fs.readdirSync(__dirname) | ||
tests.filter((file) => { | ||
if (file === 'index.js') { | ||
return false | ||
} else { | ||
return true | ||
} | ||
}).forEach((file) => { | ||
require('./' + file) | ||
}) | ||
require('./test-swarm') | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters