diff --git a/__tests__/plugins/gun-ipfs.test.js b/__tests__/plugins/gun-ipfs.test.js deleted file mode 100644 index 5f411e3..0000000 --- a/__tests__/plugins/gun-ipfs.test.js +++ /dev/null @@ -1,20 +0,0 @@ -const makeServiceWorkerEnv = require('service-worker-mock'); - -describe("plugin: gun-ipfs", () => { - beforeEach(() => { - Object.assign(global, makeServiceWorkerEnv()); - jest.resetModules(); - self.LibResilientPlugins = new Array() - self.LibResilientConfig = { - plugins: { - 'gun-ipfs':{ - 'gunPubkey': 'stub' - } - } - } - }) - test("it should register in LibResilientPlugins", () => { - require("../../plugins/gun-ipfs.js"); - expect(self.LibResilientPlugins[0].name).toEqual('gun-ipfs'); - }); -}); diff --git a/__tests__/plugins/ipns-ipfs.test.js b/__tests__/plugins/ipns-ipfs.test.js deleted file mode 100644 index e85eede..0000000 --- a/__tests__/plugins/ipns-ipfs.test.js +++ /dev/null @@ -1,20 +0,0 @@ -const makeServiceWorkerEnv = require('service-worker-mock'); - -describe("plugin: ipns-ipfs", () => { - beforeEach(() => { - Object.assign(global, makeServiceWorkerEnv()); - jest.resetModules(); - self.LibResilientPlugins = new Array() - self.LibResilientConfig = { - plugins: { - 'ipns-ipfs':{ - 'ipnsPubkey': 'stub' - } - } - } - }) - test("it should register in LibResilientPlugins", () => { - require("../../plugins/ipns-ipfs.js"); - expect(self.LibResilientPlugins[0].name).toEqual('ipns-ipfs'); - }); -});