diff --git a/test/e2e/rpc.test.ts b/test/e2e/rpc.test.ts index 05e82f4..06064c1 100644 --- a/test/e2e/rpc.test.ts +++ b/test/e2e/rpc.test.ts @@ -11,7 +11,7 @@ describe('POST /', () => { expect(response.statusCode).toBe(200); expect(response.body.result.cid.length).toBeGreaterThan(10); - expect(['4everland', 'infura', 'fleek', 'pinata']).toContain(response.body.result.provider); + expect(['4everland', 'fleek', 'pinata']).toContain(response.body.result.provider); }); }); diff --git a/test/e2e/upload.test.ts b/test/e2e/upload.test.ts index 236250d..615e6c1 100644 --- a/test/e2e/upload.test.ts +++ b/test/e2e/upload.test.ts @@ -47,7 +47,7 @@ describe('POST /upload', () => { expect(response.statusCode).toBe(200); expect(response.body.jsonrpc).toBe('2.0'); expect(response.body.result.cid.length).toBeGreaterThan(10); - expect(['4everland', 'infura', 'fleek', 'pinata']).toContain(response.body.result.provider); + expect(['4everland', 'fleek', 'pinata']).toContain(response.body.result.provider); }); }); }); diff --git a/test/unit/providers/index.test.ts b/test/unit/providers/index.test.ts index beaabf1..9cf631a 100644 --- a/test/unit/providers/index.test.ts +++ b/test/unit/providers/index.test.ts @@ -2,7 +2,6 @@ import fs from 'fs'; import path from 'path'; import * as FourEverland from '../../../src/providers/4everland'; import * as Fleek from '../../../src/providers/fleek'; -import * as Infura from '../../../src/providers/infura'; import * as Pinata from '../../../src/providers/pinata'; describe('providers', () => { @@ -35,9 +34,7 @@ describe('providers', () => { } const providerPayload: { name: string; provider: any; idVersion: string }[] = - buildProviderPayload([Fleek, Infura, Pinata], 'v0').concat( - buildProviderPayload([FourEverland], 'v1') - ); + buildProviderPayload([Fleek, Pinata], 'v0').concat(buildProviderPayload([FourEverland], 'v1')); describe.each(providerPayload)('$name', ({ name, provider, idVersion }) => { if (!provider.isConfigured()) {