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

Commit 08ebb0b

Browse files
committed
Run pubsub tests by default
1 parent d7d2ca7 commit 08ebb0b

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ before_install:
1818

1919
script:
2020
- npm run lint
21-
- TEST_PUBSUB=true npm run test
21+
- npm run test
2222
- npm run coverage
2323

2424
before_script:

circle.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
machine:
22
node:
33
version: stable
4-
environment:
5-
TEST_PUBSUB: true
64

75
dependencies:
86
pre:

test/interface/pubsubs.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44

55
const test = require('interface-ipfs-core')
66
const FactoryClient = require('../ipfs-factory/client')
7-
const isNode = require('is-node')
7+
const isNode = require('detect-node')
88

9-
if (isNode && process.env.TEST_PUBSUB) {
9+
if (isNode) {
1010
let fc
1111

1212
const common = {

0 commit comments

Comments
 (0)