diff --git a/packages/whook-swagger-ui/src/__snapshots__/index.test.js.snap b/packages/whook-swagger-ui/src/__snapshots__/index.test.js.snap index 0fe30b49..034c548f 100644 --- a/packages/whook-swagger-ui/src/__snapshots__/index.test.js.snap +++ b/packages/whook-swagger-ui/src/__snapshots__/index.test.js.snap @@ -234,7 +234,7 @@ Object { "date": undefined, "etag": undefined, "last-modified": undefined, - "server": "ecstatic-3.3.0", + "server": undefined, }, "logErrorCalls": Array [ Array [ @@ -343,6 +343,9 @@ Object { "connection": "close", "content-type": "application/json", "date": undefined, + "etag": undefined, + "last-modified": undefined, + "server": undefined, "transaction-id": "0", "transfer-encoding": "chunked", }, diff --git a/packages/whook-swagger-ui/src/index.test.js b/packages/whook-swagger-ui/src/index.test.js index 90b33aec..be57d8cb 100644 --- a/packages/whook-swagger-ui/src/index.test.js +++ b/packages/whook-swagger-ui/src/index.test.js @@ -112,6 +112,9 @@ describe('wrapHTTPRouterWithSwaggerUI', () => { ...headers, // Erasing the Date header that may be added by Axios :/ date: {}.undef, + etag: {}.undef, + 'last-modified': {}.undef, + server: {}.undef, }, data, @@ -154,6 +157,7 @@ describe('wrapHTTPRouterWithSwaggerUI', () => { date: {}.undef, etag: {}.undef, 'last-modified': {}.undef, + server: {}.undef, }, data,