diff --git a/test/interface-tests.spec.js b/test/interface-tests.spec.js index cc849751f..b2068aa85 100644 --- a/test/interface-tests.spec.js +++ b/test/interface-tests.spec.js @@ -1,6 +1,5 @@ /* eslint-env mocha */ -import { isWebWorker } from 'ipfs-utils/src/env.js' import { isWindows, isFirefox, isChrome } from './constants.js' import * as tests from './interface-tests/src/index.js' import { factory } from './utils/factory.js' @@ -245,18 +244,12 @@ function executeTests (commonFactory) { }) tests.pin(commonFactory, { - skip: [ - ].concat(isWebWorker - ? [ - 'should pin dag-cbor' // only seems to fail when running all tests together. - ].map((name) => ({ name, reason: 'FIXME: https://github.com/ipfs/js-kubo-rpc-client/issues/56' })) + skip: [].concat(isChrome + ? [{ + name: 'should default to blocking pin', + reason: 'FIXME: intermittently failing. see https://github.com/ipfs/js-kubo-rpc-client/issues/56' + }] : []) - .concat(isChrome - ? [{ - name: 'should default to blocking pin', - reason: 'FIXME: intermittently failing. see https://github.com/ipfs/js-kubo-rpc-client/issues/56' - }] - : []) }) tests.ping(commonFactory, {