Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit df04d7e

Browse files
committed
chore: fix up websocket tests
1 parent c022878 commit df04d7e

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

packages/ipfs/test/interface-core.js

+4-6
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ const factory = require('./utils/factory')
88
/** @typedef { import("ipfsd-ctl").ControllerOptions } ControllerOptions */
99

1010
describe('interface-ipfs-core tests', function () {
11-
const commonFactory = factory()
11+
const commonFactory = factory({
12+
ipfsClientModule: require('ipfs-client')
13+
})
1214

1315
tests.root(commonFactory, {
1416
skip: isNode
@@ -81,11 +83,7 @@ describe('interface-ipfs-core tests', function () {
8183

8284
tests.ping(commonFactory)
8385

84-
tests.pubsub(factory({}, {
85-
go: {
86-
args: ['--enable-pubsub-experiment']
87-
}
88-
}), {
86+
tests.pubsub(commonFactory, {
8987
skip: [
9088
...(isNode
9189
? []

0 commit comments

Comments
 (0)