Skip to content

Commit

Permalink
fix: webworker tests pass
Browse files Browse the repository at this point in the history
  • Loading branch information
SgtPooki committed Nov 23, 2022
1 parent 5dca4bb commit 1fe571a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/interface-tests.spec.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-env mocha */

import { isBrowser } from 'ipfs-utils/src/env.js'
import { isBrowser, isWebWorker } from 'ipfs-utils/src/env.js'
import { isWindows, isFirefox } from './constants.js'
import * as tests from './interface-tests/src/index.js'
import { factory } from './utils/factory.js'
Expand Down Expand Up @@ -89,7 +89,7 @@ function executeTests (commonFactory) {
reason: 'https://github.com/microsoft/playwright/issues/4704#issuecomment-826782602'
}]
: []
).concat(isBrowser
).concat(isBrowser || isWebWorker
? [
'should get a directory', // [mocha] output truncated to 8192 characters, see "maxDiffSize" reporter-option
'should get a nested directory', // [mocha] output truncated to 8192 characters, see "maxDiffSize" reporter-option
Expand Down

0 comments on commit 1fe571a

Please sign in to comment.