diff --git a/.travis.yml b/.travis.yml index 6ec65972b1..3cc660b83a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -184,20 +184,6 @@ jobs: script: - npm run test:interface:http-go -- $RUN_SINCE -- -- --bail -t webworker --browsers FirefoxHeadless - - stage: test - name: http-api-client interface tests vs go-ipfs - electron main - env: - - DEBUG=ipfs* - script: - - npm run test:interface:http-go -- $RUN_SINCE -- -- --bail -t electron-main - - - stage: test - name: http-api-client interface tests vs go-ipfs - electron renderer - env: - - DEBUG=ipfs* - script: - - npm run test:interface:http-go -- $RUN_SINCE -- -- --bail -t electron-renderer - - stage: test name: http-api-client interface tests vs js-ipfs - node script: @@ -205,8 +191,6 @@ jobs: - stage: test name: http-api-client interface tests vs js-ipfs - chrome - env: - - DEBUG=ipfs* script: - npm run test:interface:http-js -- $RUN_SINCE -- -- --bail -t browser @@ -237,6 +221,8 @@ jobs: - stage: test name: ipfs-message-port-client interface tests - chrome + env: + - DEBUG=ipfs* script: - npm run test:interface:message-port-client -- $RUN_SINCE -- -- --bail -t browser diff --git a/packages/ipfs/test/interface-http-js.js b/packages/ipfs/test/interface-http-js.js index 9fe98c621c..993a49acf8 100644 --- a/packages/ipfs/test/interface-http-js.js +++ b/packages/ipfs/test/interface-http-js.js @@ -2,7 +2,7 @@ 'use strict' const tests = require('interface-ipfs-core') -const { isNode, isBrowser } = require('ipfs-utils/src/env') +const { isNode, isBrowser, isWebWorker } = require('ipfs-utils/src/env') const factory = require('./utils/factory') /** @typedef { import("ipfsd-ctl").ControllerOptions } ControllerOptions */ @@ -52,7 +52,7 @@ describe('interface-ipfs-core over ipfs-http-client tests against js-ipfs', func }) tests.files(commonFactory, { - skip: isBrowser ? [{ + skip: isBrowser || isWebWorker ? [{ name: 'should make directory and specify mtime as hrtime', reason: 'Not designed to run in the browser' }, {