diff --git a/packages/composites/circuit-breaker/test/integration/fixtures.ts b/packages/composites/circuit-breaker/test/integration/fixtures.ts index e9e05a3ae5..be9599453e 100644 --- a/packages/composites/circuit-breaker/test/integration/fixtures.ts +++ b/packages/composites/circuit-breaker/test/integration/fixtures.ts @@ -44,8 +44,6 @@ export const mockDataProviderResponses = (): nock.Scope => 'Express', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '714', 'ETag', 'W/"4c-80HqZxTKkxT2QbzJJxLmlKoGX1c"', 'Date', @@ -73,8 +71,6 @@ nock(dataProviderConfig.coingecko.providerUrl) 'Express', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '714', 'ETag', 'W/"4c-80HqZxTKkxT2QbzJJxLmlKoGX1c"', 'Date', @@ -91,8 +87,6 @@ nock(dataProviderConfig.coinpaprika.providerUrl) 'Express', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '714', 'ETag', 'W/"4c-80HqZxTKkxT2QbzJJxLmlKoGX1c"', 'Date', @@ -108,8 +102,6 @@ nock(dataProviderConfig.wootrade.providerUrl) 'Express', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '714', 'ETag', 'W/"4c-80HqZxTKkxT2QbzJJxLmlKoGX1c"', 'Date', diff --git a/packages/composites/crypto-volatility-index/test/integration/fixtures/index.ts b/packages/composites/crypto-volatility-index/test/integration/fixtures/index.ts index 661520d5bf..31617aa470 100644 --- a/packages/composites/crypto-volatility-index/test/integration/fixtures/index.ts +++ b/packages/composites/crypto-volatility-index/test/integration/fixtures/index.ts @@ -37,8 +37,6 @@ export function mockTokenAllocationResponseETH() { 'Express', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '714', 'ETag', 'W/"2ca-B0TkX1zAQfIfnHwQo6e4kGAEMCs"', 'Date', @@ -84,8 +82,6 @@ export function mockTokenAllocationResponseBTC() { 'Express', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '714', 'ETag', 'W/"2ca-B0TkX1zAQfIfnHwQo6e4kGAEMCs"', 'Date', @@ -117,8 +113,6 @@ export function mockCurrencyEndpointETH() { 'Express', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '714', 'ETag', 'W/"2ca-B0TkX1zAQfIfnHwQo6e4kGAEMCs"', 'Date', @@ -150,8 +144,6 @@ export function mockCurrencyEndpointBTC() { 'Express', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '714', 'ETag', 'W/"2ca-B0TkX1zAQfIfnHwQo6e4kGAEMCs"', 'Date', @@ -170,8 +162,6 @@ export function mockBookDataEndpointETH() { 'Express', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '714', 'ETag', 'W/"2ca-B0TkX1zAQfIfnHwQo6e4kGAEMCs"', 'Date', @@ -189,8 +179,6 @@ export function mockBookDataEndpointBTC() { 'Express', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '714', 'ETag', 'W/"2ca-B0TkX1zAQfIfnHwQo6e4kGAEMCs"', 'Date', @@ -208,8 +196,6 @@ export function mockInstrumentsETH() { 'Express', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '714', 'ETag', 'W/"2ca-B0TkX1zAQfIfnHwQo6e4kGAEMCs"', 'Date', @@ -227,8 +213,6 @@ export function mockInstrumentsBTC() { 'Express', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '714', 'ETag', 'W/"2ca-B0TkX1zAQfIfnHwQo6e4kGAEMCs"', 'Date', diff --git a/packages/composites/defi-dozen/test/integration/fixtures.ts b/packages/composites/defi-dozen/test/integration/fixtures.ts index 90117afb99..caafd82a61 100644 --- a/packages/composites/defi-dozen/test/integration/fixtures.ts +++ b/packages/composites/defi-dozen/test/integration/fixtures.ts @@ -42,8 +42,6 @@ export const mockDataProviderResponses = (): void => { 'Express', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '714', 'ETag', 'W/"2ca-B0TkX1zAQfIfnHwQo6e4kGAEMCs"', 'Date', diff --git a/packages/composites/historical-average/test/integration/fixtures.ts b/packages/composites/historical-average/test/integration/fixtures.ts index 63076a7396..47b713bdbb 100644 --- a/packages/composites/historical-average/test/integration/fixtures.ts +++ b/packages/composites/historical-average/test/integration/fixtures.ts @@ -117,8 +117,6 @@ export const mockCoinmarketcapAdapter = (): nock.Scope => [ 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '1570', 'ETag', 'W/"622-9erE3lcWoqAfMLTzKbOESASP4e0"', 'Connection', diff --git a/packages/composites/implied-price/test/integration/fixtures.ts b/packages/composites/implied-price/test/integration/fixtures.ts index 1ed88008f4..6d68f22919 100644 --- a/packages/composites/implied-price/test/integration/fixtures.ts +++ b/packages/composites/implied-price/test/integration/fixtures.ts @@ -15,8 +15,6 @@ export const mockSuccessfulResponseCoingecko = (): nock.Scope => { '1638250385', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '91', 'ETag', 'W/"5b-336W6SWFMKfGuh90hvQDQ8pBArM"', 'Connection', @@ -75,8 +73,6 @@ export const mockSuccessfulResponseCoinpaprika = (): nock.Scope => '1638250383', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '107', 'ETag', 'W/"6b-lQYlgZnpNzhbNYmlxSm02Pk34qo"', 'Connection', diff --git a/packages/composites/medianizer/test/integration/fixtures.ts b/packages/composites/medianizer/test/integration/fixtures.ts index cc8af1dea1..8699069933 100644 --- a/packages/composites/medianizer/test/integration/fixtures.ts +++ b/packages/composites/medianizer/test/integration/fixtures.ts @@ -30,8 +30,6 @@ export const mockSuccessfulResponsesWithoutCommaSeparatedSources = () => { '1638250385', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '91', 'ETag', 'W/"5b-336W6SWFMKfGuh90hvQDQ8pBArM"', 'Connection', @@ -68,8 +66,6 @@ export const mockSuccessfulResponsesWithoutCommaSeparatedSources = () => { '1638250383', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '107', 'ETag', 'W/"6b-lQYlgZnpNzhbNYmlxSm02Pk34qo"', 'Connection', @@ -108,8 +104,6 @@ export const mockSuccessfulResponsesWithCommaSeparatedSources = () => { '1638250385', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '91', 'ETag', 'W/"5b-336W6SWFMKfGuh90hvQDQ8pBArM"', 'Connection', @@ -146,8 +140,6 @@ export const mockSuccessfulResponsesWithCommaSeparatedSources = () => { '1638250383', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '107', 'ETag', 'W/"6b-lQYlgZnpNzhbNYmlxSm02Pk34qo"', 'Connection', @@ -186,8 +178,6 @@ export const mockSuccessfulResponsesWithSingleSource = () => { '1638250385', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '91', 'ETag', 'W/"5b-336W6SWFMKfGuh90hvQDQ8pBArM"', 'Connection', diff --git a/packages/composites/nftx/test/integration/fixtures.ts b/packages/composites/nftx/test/integration/fixtures.ts index 63b4024c59..31195d9749 100644 --- a/packages/composites/nftx/test/integration/fixtures.ts +++ b/packages/composites/nftx/test/integration/fixtures.ts @@ -18,8 +18,6 @@ export function mockEthereumResponseSuccess(): void { 'Tue, 22 Feb 2022 00:53:33 GMT', 'Content-Type', 'application/json', - 'Content-Length', - '40', 'Connection', 'close', ], @@ -38,8 +36,6 @@ export function mockEthereumResponseSuccess(): void { 'Tue, 22 Feb 2022 00:53:33 GMT', 'Content-Type', 'application/json', - 'Content-Length', - '40', 'Connection', 'close', ], @@ -58,8 +54,6 @@ export function mockEthereumResponseSuccess(): void { 'Tue, 22 Feb 2022 00:53:33 GMT', 'Content-Type', 'application/json', - 'Content-Length', - '40', 'Connection', 'close', ], @@ -82,8 +76,6 @@ export function mockEthereumResponseSuccess(): void { 'Tue, 22 Feb 2022 00:53:33 GMT', 'Content-Type', 'application/json', - 'Content-Length', - '104', 'Connection', 'close', ], @@ -102,8 +94,6 @@ export function mockEthereumResponseSuccess(): void { 'Tue, 22 Feb 2022 00:53:34 GMT', 'Content-Type', 'application/json', - 'Content-Length', - '40', 'Connection', 'close', ], @@ -122,8 +112,6 @@ export function mockEthereumResponseSuccess(): void { 'Tue, 22 Feb 2022 00:53:34 GMT', 'Content-Type', 'application/json', - 'Content-Length', - '40', 'Connection', 'close', ], @@ -146,8 +134,6 @@ export function mockEthereumResponseSuccess(): void { 'Tue, 22 Feb 2022 00:53:34 GMT', 'Content-Type', 'application/json', - 'Content-Length', - '104', 'Connection', 'close', ], @@ -166,8 +152,6 @@ export function mockEthereumResponseSuccess(): void { 'Tue, 22 Feb 2022 00:53:34 GMT', 'Content-Type', 'application/json', - 'Content-Length', - '40', 'Connection', 'close', ], @@ -190,8 +174,6 @@ export function mockEthereumResponseSuccess(): void { 'Tue, 22 Feb 2022 00:53:34 GMT', 'Content-Type', 'application/json', - 'Content-Length', - '104', 'Connection', 'close', ], @@ -210,8 +192,6 @@ export function mockEthereumResponseSuccess(): void { 'Tue, 22 Feb 2022 00:53:34 GMT', 'Content-Type', 'application/json', - 'Content-Length', - '40', 'Connection', 'close', ], @@ -241,8 +221,6 @@ export function mockEthereumResponseSuccess(): void { 'Tue, 22 Feb 2022 06:40:30 GMT', 'Content-Type', 'application/json', - 'Content-Length', - '296', 'Connection', 'close', ], diff --git a/packages/composites/rocket-pool/test/integration/fixtures.ts b/packages/composites/rocket-pool/test/integration/fixtures.ts index 8cf96a886d..a9e2397a76 100644 --- a/packages/composites/rocket-pool/test/integration/fixtures.ts +++ b/packages/composites/rocket-pool/test/integration/fixtures.ts @@ -22,8 +22,6 @@ export const mockETHSuccess = (): nock.Scope => 'Fri, 21 Oct 2022 06:39:28 GMT', 'Content-Type', 'application/json', - 'Content-Length', - '40', 'Connection', 'close', 'Vary', @@ -50,8 +48,6 @@ export const mockETHSuccess = (): nock.Scope => 'Fri, 21 Oct 2022 06:39:29 GMT', 'Content-Type', 'application/json', - 'Content-Length', - '103', 'Connection', 'close', 'Vary', @@ -78,8 +74,6 @@ export const mockETHSuccess = (): nock.Scope => 'Fri, 21 Oct 2022 06:39:30 GMT', 'Content-Type', 'application/json', - 'Content-Length', - '103', 'Connection', 'close', 'Vary', @@ -110,8 +104,6 @@ export const mockUSDSuccess = (): nock.Scope => 'Fri, 21 Oct 2022 06:39:28 GMT', 'Content-Type', 'application/json', - 'Content-Length', - '40', 'Connection', 'close', 'Vary', @@ -138,8 +130,6 @@ export const mockUSDSuccess = (): nock.Scope => 'Fri, 21 Oct 2022 06:39:29 GMT', 'Content-Type', 'application/json', - 'Content-Length', - '103', 'Connection', 'close', 'Vary', @@ -166,8 +156,6 @@ export const mockUSDSuccess = (): nock.Scope => 'Fri, 21 Oct 2022 06:39:30 GMT', 'Content-Type', 'application/json', - 'Content-Length', - '103', 'Connection', 'close', 'Vary', @@ -194,8 +182,6 @@ export const mockUSDSuccess = (): nock.Scope => 'Fri, 21 Oct 2022 06:46:11 GMT', 'Content-Type', 'application/json', - 'Content-Length', - '38', 'Connection', 'close', 'Vary', @@ -251,8 +237,6 @@ export const mockUSDSuccess = (): nock.Scope => 'Fri, 21 Oct 2022 06:46:12 GMT', 'Content-Type', 'application/json', - 'Content-Length', - '103', 'Connection', 'close', 'Vary', @@ -279,8 +263,6 @@ export const mockUSDSuccess = (): nock.Scope => 'Fri, 21 Oct 2022 06:46:13 GMT', 'Content-Type', 'application/json', - 'Content-Length', - '103', 'Connection', 'close', 'Vary', diff --git a/packages/composites/savax-price/test/integration/fixtures.ts b/packages/composites/savax-price/test/integration/fixtures.ts index fb5021f6c0..3762f20414 100644 --- a/packages/composites/savax-price/test/integration/fixtures.ts +++ b/packages/composites/savax-price/test/integration/fixtures.ts @@ -27,8 +27,6 @@ export function mockCoinpaprikaAdapterResponseSuccess() { '1636374693', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '92', 'ETag', 'W/"5c-z1n244ezdMwpLTzNvSBGxzBiHkA"', 'Connection', @@ -64,8 +62,6 @@ export function mockCoinpaprikaAdapterResponseZeroValue() { '1636374693', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '92', 'ETag', 'W/"5c-z1n244ezdMwpLTzNvSBGxzBiHkA"', 'Connection', diff --git a/packages/composites/set-token-index/test/integration/fixtures.ts b/packages/composites/set-token-index/test/integration/fixtures.ts index a668071103..9abf40791a 100644 --- a/packages/composites/set-token-index/test/integration/fixtures.ts +++ b/packages/composites/set-token-index/test/integration/fixtures.ts @@ -30,8 +30,6 @@ export const mockDataProviderResponses = (): void => { 'Express', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '714', 'ETag', 'W/"2ca-B0TkX1zAQfIfnHwQo6e4kGAEMCs"', 'Date', diff --git a/packages/composites/synth-index/test/integration/fixtures.ts b/packages/composites/synth-index/test/integration/fixtures.ts index fcbdd0ce6f..e516045a25 100644 --- a/packages/composites/synth-index/test/integration/fixtures.ts +++ b/packages/composites/synth-index/test/integration/fixtures.ts @@ -40,8 +40,6 @@ export function mockCoingeckoResponseSuccess(): void { 'Express', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '714', 'ETag', 'W/"2ca-B0TkX1zAQfIfnHwQo6e4kGAEMCs"', 'Date', @@ -88,8 +86,6 @@ export function mockCoingeckoResponseSuccess(): void { 'Express', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '714', 'ETag', 'W/"2ca-B0TkX1zAQfIfnHwQo6e4kGAEMCs"', 'Date', @@ -136,8 +132,6 @@ export function mockCoingeckoResponseSuccess(): void { 'Express', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '714', 'ETag', 'W/"2ca-B0TkX1zAQfIfnHwQo6e4kGAEMCs"', 'Date', @@ -184,8 +178,6 @@ export function mockCoingeckoResponseSuccess(): void { 'Express', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '714', 'ETag', 'W/"2ca-B0TkX1zAQfIfnHwQo6e4kGAEMCs"', 'Date', @@ -232,8 +224,6 @@ export function mockCoingeckoResponseSuccess(): void { 'Express', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '714', 'ETag', 'W/"2ca-B0TkX1zAQfIfnHwQo6e4kGAEMCs"', 'Date', @@ -280,8 +270,6 @@ export function mockCoingeckoResponseSuccess(): void { 'Express', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '714', 'ETag', 'W/"2ca-B0TkX1zAQfIfnHwQo6e4kGAEMCs"', 'Date', @@ -328,8 +316,6 @@ export function mockCoingeckoResponseSuccess(): void { 'Express', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '714', 'ETag', 'W/"2ca-B0TkX1zAQfIfnHwQo6e4kGAEMCs"', 'Date', @@ -376,8 +362,6 @@ export function mockCoingeckoResponseSuccess(): void { 'Express', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '714', 'ETag', 'W/"2ca-B0TkX1zAQfIfnHwQo6e4kGAEMCs"', 'Date', @@ -424,8 +408,6 @@ export function mockCoingeckoResponseSuccess(): void { 'Express', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '714', 'ETag', 'W/"2ca-B0TkX1zAQfIfnHwQo6e4kGAEMCs"', 'Date', @@ -472,8 +454,6 @@ export function mockCoingeckoResponseSuccess(): void { 'Express', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '714', 'ETag', 'W/"2ca-B0TkX1zAQfIfnHwQo6e4kGAEMCs"', 'Date', @@ -520,8 +500,6 @@ export function mockCoingeckoResponseSuccess(): void { 'Express', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '714', 'ETag', 'W/"2ca-B0TkX1zAQfIfnHwQo6e4kGAEMCs"', 'Date', @@ -568,8 +546,6 @@ export function mockCoingeckoResponseSuccess(): void { 'Express', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '714', 'ETag', 'W/"2ca-B0TkX1zAQfIfnHwQo6e4kGAEMCs"', 'Date', @@ -616,8 +592,6 @@ export function mockCoingeckoResponseSuccess(): void { 'Express', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '714', 'ETag', 'W/"2ca-B0TkX1zAQfIfnHwQo6e4kGAEMCs"', 'Date', @@ -664,8 +638,6 @@ export function mockCoingeckoResponseSuccess(): void { 'Express', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '714', 'ETag', 'W/"2ca-B0TkX1zAQfIfnHwQo6e4kGAEMCs"', 'Date', @@ -712,8 +684,6 @@ export function mockCoingeckoResponseSuccess(): void { 'Express', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '714', 'ETag', 'W/"2ca-B0TkX1zAQfIfnHwQo6e4kGAEMCs"', 'Date', @@ -760,8 +730,6 @@ export function mockCoingeckoResponseSuccess(): void { 'Express', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '714', 'ETag', 'W/"2ca-B0TkX1zAQfIfnHwQo6e4kGAEMCs"', 'Date', @@ -808,8 +776,6 @@ export function mockCoingeckoResponseSuccess(): void { 'Express', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '714', 'ETag', 'W/"2ca-B0TkX1zAQfIfnHwQo6e4kGAEMCs"', 'Date', @@ -856,8 +822,6 @@ export function mockCoingeckoResponseSuccess(): void { 'Express', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '714', 'ETag', 'W/"2ca-B0TkX1zAQfIfnHwQo6e4kGAEMCs"', 'Date', @@ -904,8 +868,6 @@ export function mockCoingeckoResponseSuccess(): void { 'Express', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '714', 'ETag', 'W/"2ca-B0TkX1zAQfIfnHwQo6e4kGAEMCs"', 'Date', @@ -952,8 +914,6 @@ export function mockCoingeckoResponseSuccess(): void { 'Express', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '714', 'ETag', 'W/"2ca-B0TkX1zAQfIfnHwQo6e4kGAEMCs"', 'Date', @@ -1017,8 +977,6 @@ export function mockCoingeckoResponseFailureRedis(postInitialFailures = 2): void 'Express', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '145', 'ETag', 'W/"91-Rjnm+zwY8CIKJIqxRpPaBW5XgOI"', 'Date', @@ -1075,8 +1033,6 @@ export function mockCoingeckoResponseFailureRedis(postInitialFailures = 2): void 'Express', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '154', 'ETag', 'W/"9a-EbDjtEh0DmR7gH0UNLpFXHcH9Pw"', 'Date', @@ -1109,8 +1065,6 @@ export function mockCoingeckoConnectionFailure(port: number, times = 1): void { 'Express', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '132', 'ETag', 'W/"84-Phw7pmGpUf4AdtvBSGT5BNf2lT4"', 'Date', diff --git a/packages/composites/xsushi-price/test/integration/fixtures.ts b/packages/composites/xsushi-price/test/integration/fixtures.ts index 285d02692c..52c1e1293d 100644 --- a/packages/composites/xsushi-price/test/integration/fixtures.ts +++ b/packages/composites/xsushi-price/test/integration/fixtures.ts @@ -28,8 +28,6 @@ export function mockCoinpaprikaAdapterResponseSuccess(): nock.Scope { '1636374693', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '92', 'ETag', 'W/"5c-z1n244ezdMwpLTzNvSBGxzBiHkA"', 'Connection', diff --git a/packages/non-deployable/token-allocation-test/test/integration/fixtures.ts b/packages/non-deployable/token-allocation-test/test/integration/fixtures.ts index e4014b8951..1add3288da 100644 --- a/packages/non-deployable/token-allocation-test/test/integration/fixtures.ts +++ b/packages/non-deployable/token-allocation-test/test/integration/fixtures.ts @@ -21,8 +21,6 @@ export const mockSourceEAResponse = (url: string, endpoint = 'crypto') => { 'Express', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '714', 'ETag', 'W/"2ca-B0TkX1zAQfIfnHwQo6e4kGAEMCs"', 'Date', @@ -52,8 +50,6 @@ export const mockSourceEAResponse = (url: string, endpoint = 'crypto') => { 'Express', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '714', 'ETag', 'W/"2ca-B0TkX1zAQfIfnHwQo6e4kGAEMCs"', 'Date', @@ -83,8 +79,6 @@ export const mockSourceEAResponse = (url: string, endpoint = 'crypto') => { 'Express', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '714', 'ETag', 'W/"2ca-B0TkX1zAQfIfnHwQo6e4kGAEMCs"', 'Date', @@ -114,8 +108,6 @@ export const mockSourceEAResponse = (url: string, endpoint = 'crypto') => { 'Express', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '714', 'ETag', 'W/"2ca-B0TkX1zAQfIfnHwQo6e4kGAEMCs"', 'Date', diff --git a/packages/non-deployable/token-allocation/test/integration/fixtures.ts b/packages/non-deployable/token-allocation/test/integration/fixtures.ts index 0e79d058aa..beb3f9ac27 100644 --- a/packages/non-deployable/token-allocation/test/integration/fixtures.ts +++ b/packages/non-deployable/token-allocation/test/integration/fixtures.ts @@ -97,8 +97,6 @@ const mockSingleRequests = (providerUrl: string, additional = {}) => { 'Express', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '714', 'ETag', 'W/"2ca-B0TkX1zAQfIfnHwQo6e4kGAEMCs"', 'Date', @@ -129,8 +127,6 @@ const mockSingleRequests = (providerUrl: string, additional = {}) => { 'Express', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '714', 'ETag', 'W/"2ca-B0TkX1zAQfIfnHwQo6e4kGAEMCs"', 'Date', @@ -158,8 +154,6 @@ const mockSingleRequests = (providerUrl: string, additional = {}) => { 'Express', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '714', 'ETag', 'W/"2ca-B0TkX1zAQfIfnHwQo6e4kGAEMCs"', 'Date', @@ -190,8 +184,6 @@ const mockSingleRequests = (providerUrl: string, additional = {}) => { 'Express', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '714', 'ETag', 'W/"2ca-B0TkX1zAQfIfnHwQo6e4kGAEMCs"', 'Date', @@ -222,8 +214,6 @@ const mockSingleRequests = (providerUrl: string, additional = {}) => { 'Express', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '714', 'ETag', 'W/"2ca-B0TkX1zAQfIfnHwQo6e4kGAEMCs"', 'Date', @@ -251,8 +241,6 @@ const mockSingleRequests = (providerUrl: string, additional = {}) => { 'Express', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '714', 'ETag', 'W/"2ca-B0TkX1zAQfIfnHwQo6e4kGAEMCs"', 'Date', @@ -280,8 +268,6 @@ const mockSingleRequests = (providerUrl: string, additional = {}) => { 'Express', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '714', 'ETag', 'W/"2ca-B0TkX1zAQfIfnHwQo6e4kGAEMCs"', 'Date', @@ -309,8 +295,6 @@ const mockSingleRequests = (providerUrl: string, additional = {}) => { 'Express', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '714', 'ETag', 'W/"2ca-B0TkX1zAQfIfnHwQo6e4kGAEMCs"', 'Date', @@ -338,8 +322,6 @@ const mockSingleRequests = (providerUrl: string, additional = {}) => { 'Express', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '714', 'ETag', 'W/"2ca-B0TkX1zAQfIfnHwQo6e4kGAEMCs"', 'Date', @@ -367,8 +349,6 @@ const mockSingleRequests = (providerUrl: string, additional = {}) => { 'Express', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '714', 'ETag', 'W/"2ca-B0TkX1zAQfIfnHwQo6e4kGAEMCs"', 'Date', @@ -396,8 +376,6 @@ const mockSingleRequests = (providerUrl: string, additional = {}) => { 'Express', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '714', 'ETag', 'W/"2ca-B0TkX1zAQfIfnHwQo6e4kGAEMCs"', 'Date', @@ -425,8 +403,6 @@ const mockSingleRequests = (providerUrl: string, additional = {}) => { 'Express', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '714', 'ETag', 'W/"2ca-B0TkX1zAQfIfnHwQo6e4kGAEMCs"', 'Date', diff --git a/packages/scripts/src/generate-readme/test/integration/readme-test-adapter/test/integration/fixtures.ts b/packages/scripts/src/generate-readme/test/integration/readme-test-adapter/test/integration/fixtures.ts index e1d2b7d97e..94fe78d0e4 100644 --- a/packages/scripts/src/generate-readme/test/integration/readme-test-adapter/test/integration/fixtures.ts +++ b/packages/scripts/src/generate-readme/test/integration/readme-test-adapter/test/integration/fixtures.ts @@ -30,8 +30,6 @@ export function mockMarketcapResponse() { 'Express', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '714', 'ETag', 'W/"2ca-B0TkX1zAQfIfnHwQo6e4kGAEMCs"', 'Date', @@ -49,8 +47,6 @@ export function mockPriceResponse() { 'Express', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '714', 'ETag', 'W/"2ca-B0TkX1zAQfIfnHwQo6e4kGAEMCs"', 'Date', diff --git a/packages/sources/accuweather/test/integration/fixtures.ts b/packages/sources/accuweather/test/integration/fixtures.ts index 2bef54426e..102390c21a 100644 --- a/packages/sources/accuweather/test/integration/fixtures.ts +++ b/packages/sources/accuweather/test/integration/fixtures.ts @@ -56,8 +56,6 @@ export const mockAWLocationResponseSuccessLocationNotFound = (): nock.Scope => 'Sat, 23 Oct 2021 11:23:07 GMT', 'Date', 'Fri, 22 Oct 2021 11:45:40 GMT', - 'Content-Length', - '2', 'Connection', 'close', ], @@ -137,8 +135,6 @@ export const mockAWLocationResponseSuccessLocationFound = (): nock.Scope => 'Sat, 23 Oct 2021 11:22:33 GMT', 'Date', 'Fri, 22 Oct 2021 12:08:34 GMT', - 'Content-Length', - '1077', 'Connection', 'close', ], @@ -346,8 +342,6 @@ export const mockAWCurrentConditionsResponseSuccessMalformed3 = (locationKey: nu 'Fri, 22 Oct 2021 12:45:10 GMT', 'Date', 'Fri, 22 Oct 2021 12:35:27 GMT', - 'Content-Length', - '4035', 'Connection', 'close', ], @@ -530,8 +524,6 @@ export const mockAWCurrentConditionsResponseSuccess = (): nock.Scope => 'Fri, 22 Oct 2021 12:45:10 GMT', 'Date', 'Fri, 22 Oct 2021 12:35:27 GMT', - 'Content-Length', - '4035', 'Connection', 'close', ], diff --git a/packages/sources/amberdata/test/integration/fixtures.ts b/packages/sources/amberdata/test/integration/fixtures.ts index d09cba9adf..d6f3a557c4 100644 --- a/packages/sources/amberdata/test/integration/fixtures.ts +++ b/packages/sources/amberdata/test/integration/fixtures.ts @@ -20,8 +20,6 @@ export function mockCryptoEndpoint(): nock.Scope { [ 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '161', 'Connection', 'close', 'Date', @@ -74,8 +72,6 @@ export function mockCryptoEndpoint(): nock.Scope { [ 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '161', 'Connection', 'close', 'Date', @@ -133,8 +129,6 @@ export const mockBalanceEndpoint = (): nock.Scope => [ 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '285', 'Connection', 'close', 'Date', @@ -190,8 +184,6 @@ nock('https://web3api.io:443', { encodedQueryParams: true }) [ 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '282', 'Connection', 'close', 'Date', @@ -3117,8 +3109,6 @@ export function mockMarketCapEndpoint(): nock.Scope { [ 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '72323', 'Connection', 'close', 'Date', @@ -3180,8 +3170,6 @@ export function mockVolumeEndpoint(): nock.Scope { [ 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '243', 'Connection', 'close', 'Date', diff --git a/packages/sources/ap-election/test/integration/fixtures.ts b/packages/sources/ap-election/test/integration/fixtures.ts index 59e8e3612d..c0ca96502b 100644 --- a/packages/sources/ap-election/test/integration/fixtures.ts +++ b/packages/sources/ap-election/test/integration/fixtures.ts @@ -25,8 +25,6 @@ export const mockResponseWithNoRaces = (apikey: string): nock.Scope => { [ 'Content-Type', 'application/json', - 'Content-Length', - '929', 'Connection', 'close', 'Date', @@ -253,8 +251,6 @@ export const mockResponseWithMultipleRaces = (apikey: string): nock.Scope => { [ 'Content-Type', 'application/json', - 'Content-Length', - '929', 'Connection', 'close', 'Date', @@ -404,8 +400,6 @@ export const mockResponseWithNationalAndState = (apikey: string): nock.Scope => [ 'Content-Type', 'application/json', - 'Content-Length', - '929', 'Connection', 'close', 'Date', @@ -523,8 +517,6 @@ export const mockStatusLevelResponse = (apikey: string): nock.Scope => { [ 'Content-Type', 'application/json', - 'Content-Length', - '929', 'Connection', 'close', 'Date', diff --git a/packages/sources/avalanche-platform/test/integration/fixtures.ts b/packages/sources/avalanche-platform/test/integration/fixtures.ts index 606e703df0..e223bd263e 100644 --- a/packages/sources/avalanche-platform/test/integration/fixtures.ts +++ b/packages/sources/avalanche-platform/test/integration/fixtures.ts @@ -32,8 +32,6 @@ export const mockBalanceSuccess = (): nock.Scope => 'application/json', 'server', 'Lighthouse/v3.1.0-aa022f4/x86_64-linux', - 'content-length', - '124', 'date', 'Wed, 21 Sep 2022 10:58:34 GMT', ], diff --git a/packages/sources/bea/test/integration/fixtures.ts b/packages/sources/bea/test/integration/fixtures.ts index baf0b914f6..b57cef0cdc 100644 --- a/packages/sources/bea/test/integration/fixtures.ts +++ b/packages/sources/bea/test/integration/fixtures.ts @@ -286,8 +286,6 @@ export const mockDataProviderResponses = (): nock.Scope => 'Express', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '714', 'ETag', 'W/"4c-80HqZxTKkxT2QbzJJxLmlKoGX1c"', 'Date', diff --git a/packages/sources/bravenewcoin/test/integration/cryptoFixtures.ts b/packages/sources/bravenewcoin/test/integration/cryptoFixtures.ts index 584ff121f2..e8298f16ef 100644 --- a/packages/sources/bravenewcoin/test/integration/cryptoFixtures.ts +++ b/packages/sources/bravenewcoin/test/integration/cryptoFixtures.ts @@ -26,8 +26,6 @@ export function mockCryptoEndpointSuccess() { 'AWS - us-west-2', 'X-RapidAPI-Version', '1.2.8', - 'Content-Length', - '1120', 'Connection', 'Close', ]) @@ -79,8 +77,6 @@ export function mockCryptoEndpointSuccess() { '1.2.8', 'x-xss-protection', '1; mode=block', - 'Content-Length', - '182', 'Connection', 'Close', ], @@ -133,8 +129,6 @@ export function mockCryptoEndpointSuccess() { '1.2.8', 'x-xss-protection', '1; mode=block', - 'Content-Length', - '174', 'Connection', 'Close', ], @@ -191,8 +185,6 @@ export function mockCryptoEndpointSuccess() { '1.2.8', 'x-xss-protection', '1; mode=block', - 'Content-Length', - '351', 'Connection', 'Close', ], @@ -247,8 +239,6 @@ export function mockCryptoEndpointSuccess() { '1.2.8', 'x-xss-protection', '1; mode=block', - 'Content-Length', - '351', 'Connection', 'Close', ], diff --git a/packages/sources/bravenewcoin/test/integration/vwapFixtures.ts b/packages/sources/bravenewcoin/test/integration/vwapFixtures.ts index 3582264f14..27b63310ed 100644 --- a/packages/sources/bravenewcoin/test/integration/vwapFixtures.ts +++ b/packages/sources/bravenewcoin/test/integration/vwapFixtures.ts @@ -26,8 +26,6 @@ export function mockVwapEndpointSuccess() { 'AWS - us-west-2', 'X-RapidAPI-Version', '1.2.8', - 'Content-Length', - '1120', 'Connection', 'Close', ]) @@ -79,8 +77,6 @@ export function mockVwapEndpointSuccess() { '1.2.8', 'x-xss-protection', '1; mode=block', - 'Content-Length', - '182', 'Connection', 'Close', ], @@ -141,8 +137,6 @@ export function mockVwapEndpointSuccess() { '1.2.8', 'x-xss-protection', '1; mode=block', - 'Content-Length', - '468', 'Connection', 'Close', ], diff --git a/packages/sources/btc.com/test/integration/fixtures.ts b/packages/sources/btc.com/test/integration/fixtures.ts index ea6c13d818..852b23350c 100644 --- a/packages/sources/btc.com/test/integration/fixtures.ts +++ b/packages/sources/btc.com/test/integration/fixtures.ts @@ -29,8 +29,6 @@ export function mockBalanceResponse(): nock.Scope { 'Mon, 15 Nov 2021 16:14:53 GMT', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '437', 'Connection', 'close', 'Vary', @@ -99,8 +97,6 @@ export function mockBlockResponse(): nock.Scope { 'Mon, 15 Nov 2021 16:18:23 GMT', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '889', 'Connection', 'close', 'Vary', diff --git a/packages/sources/coinmarketcap/test/integration/fixtures.ts b/packages/sources/coinmarketcap/test/integration/fixtures.ts index f50e465453..cf7dfca0b9 100644 --- a/packages/sources/coinmarketcap/test/integration/fixtures.ts +++ b/packages/sources/coinmarketcap/test/integration/fixtures.ts @@ -141,8 +141,6 @@ export function mockSuccessfulHistoricalCapResponse() { 'Express', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '714', 'ETag', 'W/"2ca-B0TkX1zAQfIfnHwQo6e4kGAEMCs"', 'Date', @@ -219,8 +217,6 @@ export function mockSuccessfulGlobalMetricsResponse(market?: string) { 'Express', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '714', 'ETag', 'W/"2ca-B0TkX1zAQfIfnHwQo6e4kGAEMCs"', 'Date', @@ -282,8 +278,6 @@ export function mockSuccessfulCoinMarketCapResponse(query = 'id', id = '1') { 'Express', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '714', 'ETag', 'W/"2ca-B0TkX1zAQfIfnHwQo6e4kGAEMCs"', 'Date', diff --git a/packages/sources/cryptex/test/integration/fixtures.ts b/packages/sources/cryptex/test/integration/fixtures.ts index af03222187..c34b65efc2 100644 --- a/packages/sources/cryptex/test/integration/fixtures.ts +++ b/packages/sources/cryptex/test/integration/fixtures.ts @@ -14,8 +14,6 @@ export function mockEthereumResponseSuccess(): void { 'Thu, 12 May 2022 15:19:43 GMT', 'Content-Type', 'application/json', - 'Content-Length', - '40', 'Connection', 'close', 'Vary', @@ -34,8 +32,6 @@ export function mockEthereumResponseSuccess(): void { 'Thu, 12 May 2022 15:19:43 GMT', 'Content-Type', 'application/json', - 'Content-Length', - '40', 'Connection', 'close', 'Vary', @@ -54,8 +50,6 @@ export function mockEthereumResponseSuccess(): void { 'Thu, 12 May 2022 15:19:43 GMT', 'Content-Type', 'application/json', - 'Content-Length', - '40', 'Connection', 'close', 'Vary', @@ -74,8 +68,6 @@ export function mockEthereumResponseSuccess(): void { 'Thu, 12 May 2022 15:19:43 GMT', 'Content-Type', 'application/json', - 'Content-Length', - '40', 'Connection', 'close', 'Vary', @@ -102,8 +94,6 @@ export function mockEthereumResponseSuccess(): void { 'Thu, 12 May 2022 15:19:44 GMT', 'Content-Type', 'application/json', - 'Content-Length', - '359', 'Connection', 'close', 'Vary', @@ -123,8 +113,6 @@ export function mockEthereumResponseSuccess(): void { 'Thu, 12 May 2022 15:19:44 GMT', 'Content-Type', 'application/json', - 'Content-Length', - '40', 'Connection', 'close', 'Vary', @@ -151,8 +139,6 @@ export function mockEthereumResponseSuccess(): void { 'Thu, 12 May 2022 15:19:45 GMT', 'Content-Type', 'application/json', - 'Content-Length', - '359', 'Connection', 'close', 'Vary', @@ -176,8 +162,6 @@ export function mockEthereumResponseSuccess(): void { 'Express', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '169', 'ETag', 'W/"a9-BCglt6fxhYqpnNbZgwo2DR+YvQM"', 'Date', diff --git a/packages/sources/eth-beacon/test/integration/fixtures.ts b/packages/sources/eth-beacon/test/integration/fixtures.ts index ac957af5f1..9e61c2db95 100644 --- a/packages/sources/eth-beacon/test/integration/fixtures.ts +++ b/packages/sources/eth-beacon/test/integration/fixtures.ts @@ -56,8 +56,6 @@ export const mockBalanceSuccess = (): nock.Scope => 'application/json', 'server', 'Lighthouse/v3.1.0-aa022f4/x86_64-linux', - 'content-length', - '124', 'date', 'Wed, 21 Sep 2022 10:58:34 GMT', ], @@ -121,8 +119,6 @@ export const mockBalanceWithStatusSuccess = (): void => { 'application/json', 'server', 'Lighthouse/v3.1.0-aa022f4/x86_64-linux', - 'content-length', - '124', 'date', 'Wed, 21 Sep 2022 10:58:34 GMT', ], @@ -192,8 +188,6 @@ export const mockBalanceLimboValidator = (): void => { 'application/json', 'server', 'Lighthouse/v3.1.0-aa022f4/x86_64-linux', - 'content-length', - '124', 'date', 'Wed, 21 Sep 2022 10:58:34 GMT', ], @@ -256,8 +250,6 @@ export const mockBalanceBatchedAddresses = (addresses: string[]): DeferredReques 'application/json', 'server', 'Lighthouse/v3.1.0-aa022f4/x86_64-linux', - 'content-length', - '124', 'date', 'Wed, 21 Sep 2022 10:58:34 GMT', ], diff --git a/packages/sources/finage/test/integration/fixtures.ts b/packages/sources/finage/test/integration/fixtures.ts index 2c361e7a4e..be6c30a82e 100644 --- a/packages/sources/finage/test/integration/fixtures.ts +++ b/packages/sources/finage/test/integration/fixtures.ts @@ -1,5 +1,5 @@ -import nock from 'nock' import { MockWebsocketServer } from '@chainlink/external-adapter-framework/util/testing-utils' +import nock from 'nock' export const mockResponseSuccess = (): nock.Scope => nock('https://api.finage.co.uk', { @@ -58,8 +58,6 @@ export const mockResponseSuccess = (): nock.Scope => .reply(200, { symbol: 'GBPUSD', ask: 1.34435, bid: 1.34426, timestamp: 1637060382000 }, [ 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '73', 'Connection', 'close', ]) @@ -69,8 +67,6 @@ export const mockResponseSuccess = (): nock.Scope => .reply(200, { symbol: 'BTCUSD', price: 50940.12, timestamp: 1638898619885 }, [ 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '73', 'Connection', 'close', ]) diff --git a/packages/sources/galaxis/test/integration/fixtures.ts b/packages/sources/galaxis/test/integration/fixtures.ts index b9bce067c7..209b63cfc8 100644 --- a/packages/sources/galaxis/test/integration/fixtures.ts +++ b/packages/sources/galaxis/test/integration/fixtures.ts @@ -38,8 +38,6 @@ export function mockBooleanOnlyGalaxisApiResp(apiEndpoint: string, date: string) .reply(200, MOCK_BOOLEAN_ONLY_GALAXIS_API_RESP, [ 'Connection', 'close', - 'Content-Length', - '4902', 'Cache-Control', 'max-age=300', 'Content-Security-Policy', @@ -119,8 +117,6 @@ export function mockNonBooleanOnlyGalaxisApiResp(apiEndpoint: string, date: stri .reply(200, MOCK_NON_BOOLEAN_ONLY_GALAXIS_API_RESP, [ 'Connection', 'close', - 'Content-Length', - '4902', 'Cache-Control', 'max-age=300', 'Content-Security-Policy', diff --git a/packages/sources/gemini/test/integration/fixtures.ts b/packages/sources/gemini/test/integration/fixtures.ts index e40e6ff942..d6e8d2184e 100644 --- a/packages/sources/gemini/test/integration/fixtures.ts +++ b/packages/sources/gemini/test/integration/fixtures.ts @@ -19,8 +19,6 @@ export const mockResponseSuccess = (): nock.Scope => 'Wed, 22 Sep 2021 14:24:17 GMT', 'Content-Type', 'application/json', - 'Content-Length', - '152', 'Connection', 'close', 'Server', diff --git a/packages/sources/lido/test/integration/fixtures.ts b/packages/sources/lido/test/integration/fixtures.ts index b4e8a6cfac..a8f61cf640 100644 --- a/packages/sources/lido/test/integration/fixtures.ts +++ b/packages/sources/lido/test/integration/fixtures.ts @@ -15,8 +15,6 @@ export function mockStmaticSuccess(): void { 'Origin', 'date', 'Mon, 16 May 2022 20:45:07 GMT', - 'content-length', - '42', 'x-envoy-upstream-service-time', '25', 'x-cluster', @@ -47,8 +45,6 @@ export function mockStmaticSuccess(): void { 'Origin', 'date', 'Mon, 16 May 2022 20:45:09 GMT', - 'content-length', - '104', 'x-envoy-upstream-service-time', '26', 'x-cluster', @@ -79,8 +75,6 @@ export function mockStmaticSuccess(): void { 'Origin', 'date', 'Mon, 16 May 2022 20:45:09 GMT', - 'content-length', - '104', 'x-envoy-upstream-service-time', '26', 'x-cluster', diff --git a/packages/sources/lotus/test/integration/fixtures.ts b/packages/sources/lotus/test/integration/fixtures.ts index 8f7b1e6666..f09c2584c7 100644 --- a/packages/sources/lotus/test/integration/fixtures.ts +++ b/packages/sources/lotus/test/integration/fixtures.ts @@ -17,8 +17,6 @@ export const mockResponseSuccess = (): nock.Scope => .reply(200, { jsonrpc: '2.0', result: '33426744125000000000000', id: 1 }, [ 'Date', 'Wed, 22 Sep 2021 14:38:41 GMT', - 'Content-Length', - '60', 'Content-Type', 'text/plain; charset=utf-8', 'Connection', @@ -34,8 +32,6 @@ export const mockResponseSuccess = (): nock.Scope => .reply(200, { jsonrpc: '2.0', result: '850000000000000000', id: 2 }, [ 'Date', 'Wed, 22 Sep 2021 14:38:42 GMT', - 'Content-Length', - '55', 'Content-Type', 'text/plain; charset=utf-8', 'Connection', diff --git a/packages/sources/nft-blue-chip/test/integration/fixtures.ts b/packages/sources/nft-blue-chip/test/integration/fixtures.ts index f52ed6566f..152418ba51 100644 --- a/packages/sources/nft-blue-chip/test/integration/fixtures.ts +++ b/packages/sources/nft-blue-chip/test/integration/fixtures.ts @@ -24,8 +24,6 @@ export const mockMarketcapSuccess = (): nock.Scope => 'Fri, 13 Jan 2023 14:28:09 GMT', 'Content-Type', 'application/json', - 'Content-Length', - '40', 'Connection', 'close', 'Vary', @@ -59,8 +57,6 @@ export const mockMarketcapSuccess = (): nock.Scope => 'Fri, 13 Jan 2023 14:28:09 GMT', 'Content-Type', 'application/json', - 'Content-Length', - '103', 'Connection', 'close', 'Vary', @@ -87,8 +83,6 @@ export const mockMarketcapSuccess = (): nock.Scope => 'Fri, 13 Jan 2023 14:28:09 GMT', 'Content-Type', 'application/json', - 'Content-Length', - '103', 'Connection', 'close', 'Vary', @@ -115,8 +109,6 @@ export const mockMarketcapSuccess = (): nock.Scope => 'Fri, 13 Jan 2023 14:28:09 GMT', 'Content-Type', 'application/json', - 'Content-Length', - '103', 'Connection', 'close', 'Vary', diff --git a/packages/sources/snowflake/test/integration/fixtures.ts b/packages/sources/snowflake/test/integration/fixtures.ts index 5bd3670bc2..ce5871959f 100644 --- a/packages/sources/snowflake/test/integration/fixtures.ts +++ b/packages/sources/snowflake/test/integration/fixtures.ts @@ -70,8 +70,6 @@ export const mockSnowflakeResponse = (): Scope => 'deny', 'X-XSS-Protection', ': 1; mode=block', - 'Content-Length', - '907', 'Connection', 'Close', ], diff --git a/packages/sources/spectral-macro-score/test/mocks/macro-score-api.mock.ts b/packages/sources/spectral-macro-score/test/mocks/macro-score-api.mock.ts index 9f0b3bd63a..34a55c69d7 100644 --- a/packages/sources/spectral-macro-score/test/mocks/macro-score-api.mock.ts +++ b/packages/sources/spectral-macro-score/test/mocks/macro-score-api.mock.ts @@ -26,8 +26,6 @@ export function mockMacroScoreAPIResponseSuccess() { 'Sun, 18 Jul 2021 21:08:00 GMT', 'Content-Type', 'application/json', - 'Content-Length', - '212', 'Connection', 'close', 'x-amzn-RequestId', diff --git a/packages/sources/sportsdataio/test/integration/mlb/fixtures.ts b/packages/sources/sportsdataio/test/integration/mlb/fixtures.ts index 0c6a7c3de7..abafa972f8 100644 --- a/packages/sources/sportsdataio/test/integration/mlb/fixtures.ts +++ b/packages/sources/sportsdataio/test/integration/mlb/fixtures.ts @@ -842,8 +842,6 @@ export const mockGamesResponse = (key: string) => { [ 'Connection', 'close', - 'Content-Length', - '23257', 'Content-Type', 'application/json; charset=utf-8', 'Last-Modified', diff --git a/packages/sources/sportsdataio/test/integration/nba/fixtures.ts b/packages/sources/sportsdataio/test/integration/nba/fixtures.ts index d82894caf0..2a03845a23 100644 --- a/packages/sources/sportsdataio/test/integration/nba/fixtures.ts +++ b/packages/sources/sportsdataio/test/integration/nba/fixtures.ts @@ -93,8 +93,6 @@ export const mockSportsDataProviderResponse = (key: string) => { [ 'Connection', 'close', - 'Content-Length', - '1884', 'Content-Type', 'application/json; charset=utf-8', 'Last-Modified', diff --git a/packages/sources/the-network-firm/test/integration/fixtures.ts b/packages/sources/the-network-firm/test/integration/fixtures.ts index 11c915ba08..d008ff128f 100644 --- a/packages/sources/the-network-firm/test/integration/fixtures.ts +++ b/packages/sources/the-network-firm/test/integration/fixtures.ts @@ -14,8 +14,6 @@ export const mockMCO2Response = (): nock.Scope => 'Mon, 15 Nov 2021 16:14:53 GMT', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '437', 'Connection', 'close', 'Vary', diff --git a/packages/sources/tiingo/test/integration/fixtures.ts b/packages/sources/tiingo/test/integration/fixtures.ts index c2b88b9d7a..e53b780ea7 100644 --- a/packages/sources/tiingo/test/integration/fixtures.ts +++ b/packages/sources/tiingo/test/integration/fixtures.ts @@ -1,5 +1,5 @@ -import nock from 'nock' import { MockWebsocketServer } from '@chainlink/external-adapter-framework/util/testing-utils' +import nock from 'nock' export const mockResponseSuccess = (): nock.Scope => nock('https://api.tiingo.com', { encodedQueryParams: true, @@ -174,8 +174,6 @@ export const mockResponseSuccess = (): nock.Scope => [ 'content-type', 'application/json', - 'content-length', - '170', 'vary', 'Accept, Cookie, Origin', 'allow', diff --git a/packages/sources/uniswap-v2/test/integration/fixtures.ts b/packages/sources/uniswap-v2/test/integration/fixtures.ts index 41615a406e..323c25d51b 100644 --- a/packages/sources/uniswap-v2/test/integration/fixtures.ts +++ b/packages/sources/uniswap-v2/test/integration/fixtures.ts @@ -10,8 +10,6 @@ export function mockEthereumResponseSuccess(): void { 'Tue, 05 Oct 2021 18:06:16 GMT', 'Content-Type', 'application/json', - 'Content-Length', - '40', 'Connection', 'close', 'Vary', @@ -37,8 +35,6 @@ export function mockEthereumResponseSuccess(): void { 'Tue, 05 Oct 2021 18:06:16 GMT', 'Content-Type', 'application/json', - 'Content-Length', - '103', 'Connection', 'close', 'Vary', @@ -65,8 +61,6 @@ export function mockEthereumResponseSuccess(): void { 'Tue, 05 Oct 2021 18:06:16 GMT', 'Content-Type', 'application/json', - 'Content-Length', - '103', 'Connection', 'close', 'Vary', @@ -100,8 +94,6 @@ export function mockEthereumResponseSuccess(): void { 'Tue, 05 Oct 2021 18:06:16 GMT', 'Content-Type', 'application/json', - 'Content-Length', - '295', 'Connection', 'close', 'Vary', @@ -135,8 +127,6 @@ export function mockEthereumResponseSuccess(): void { 'Tue, 05 Oct 2021 18:06:16 GMT', 'Content-Type', 'application/json', - 'Content-Length', - '295', 'Connection', 'close', 'Vary', diff --git a/packages/sources/upvest/test/integration/fixtures.ts b/packages/sources/upvest/test/integration/fixtures.ts index 16a24927fb..dc780567b3 100644 --- a/packages/sources/upvest/test/integration/fixtures.ts +++ b/packages/sources/upvest/test/integration/fixtures.ts @@ -21,8 +21,6 @@ export const mockUSCPIResponseSuccess = (): nock.Scope => 'Wed, 22 Sep 2021 14:24:17 GMT', 'Content-Type', 'application/json', - 'Content-Length', - '152', 'Connection', 'close', 'Server', diff --git a/packages/sources/uscpi-one/test/integration/fixtures.ts b/packages/sources/uscpi-one/test/integration/fixtures.ts index 94ad7255cd..5d1f412a5f 100644 --- a/packages/sources/uscpi-one/test/integration/fixtures.ts +++ b/packages/sources/uscpi-one/test/integration/fixtures.ts @@ -47,8 +47,6 @@ export const mockUSCPIResponseSuccess = (): nock.Scope => 'Wed, 22 Sep 2021 14:24:17 GMT', 'Content-Type', 'application/json', - 'Content-Length', - '152', 'Connection', 'close', 'Server', @@ -104,8 +102,6 @@ export const mockAuthenticatedSuccess = (): nock.Scope => 'Wed, 22 Sep 2021 14:24:17 GMT', 'Content-Type', 'application/json', - 'Content-Length', - '152', 'Connection', 'close', 'Server', diff --git a/packages/sources/wootrade/test/integration/fixtures.ts b/packages/sources/wootrade/test/integration/fixtures.ts index d96fa098e6..7555e2107c 100644 --- a/packages/sources/wootrade/test/integration/fixtures.ts +++ b/packages/sources/wootrade/test/integration/fixtures.ts @@ -24,8 +24,6 @@ export const mockWootradeResponseSuccess = (): nock.Scope => 'Wed, 22 Sep 2021 14:24:17 GMT', 'Content-Type', 'application/json', - 'Content-Length', - '152', 'Connection', 'close', 'Server', diff --git a/packages/sources/wrapped/test/integration/fixtures.ts b/packages/sources/wrapped/test/integration/fixtures.ts index ef312d3117..1863f064d7 100644 --- a/packages/sources/wrapped/test/integration/fixtures.ts +++ b/packages/sources/wrapped/test/integration/fixtures.ts @@ -94,8 +94,6 @@ export const mockDataProviderResponses = (): nock.Scope => 'Express', 'Content-Type', 'application/json; charset=utf-8', - 'Content-Length', - '714', 'ETag', 'W/"4c-80HqZxTKkxT2QbzJJxLmlKoGX1c"', 'Date',