Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency jest to v29 #113

Merged
merged 2 commits into from
Aug 29, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 22 additions & 22 deletions __snapshots__/index.test.js.snap
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`Middleware logs on error 1`] = `
Array [
Object {
[
{
"duration": 0,
"req": Object {
"headers": Object {
"req": {
"headers": {
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9",
"accept-encoding": "gzip, deflate, br",
"accept-language": "en-GB,en;q=0.9,en-US;q=0.8,pl;q=0.7,nb;q=0.6,no;q=0.5",
Expand All @@ -18,18 +18,18 @@ Array [
"method": "GET",
"url": "/foobar",
},
"res": Object {},
"res": {},
},
" --> GET /foobar 0ns",
]
`;

exports[`Middleware logs on success 1`] = `
Array [
Object {
[
{
"duration": 0,
"req": Object {
"headers": Object {
"req": {
"headers": {
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9",
"accept-encoding": "gzip, deflate, br",
"accept-language": "en-GB,en;q=0.9,en-US;q=0.8,pl;q=0.7,nb;q=0.6,no;q=0.5",
Expand All @@ -42,8 +42,8 @@ Array [
"method": "GET",
"url": "/foobar",
},
"res": Object {
"headers": Object {
"res": {
"headers": {
"someHeader": "someValue",
},
"statusCode": 200,
Expand All @@ -54,11 +54,11 @@ Array [
`;

exports[`Middleware skips sensitive headers on error 1`] = `
Array [
Object {
[
{
"duration": 0,
"req": Object {
"headers": Object {
"req": {
"headers": {
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9",
"accept-encoding": "gzip, deflate, br",
"accept-language": "en-GB,en;q=0.9,en-US;q=0.8,pl;q=0.7,nb;q=0.6,no;q=0.5",
Expand All @@ -70,18 +70,18 @@ Array [
"method": "GET",
"url": "/foobar",
},
"res": Object {},
"res": {},
},
" --> GET /foobar 0ns",
]
`;

exports[`Middleware skips sensitive headers on success 1`] = `
Array [
Object {
[
{
"duration": 0,
"req": Object {
"headers": Object {
"req": {
"headers": {
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9",
"accept-encoding": "gzip, deflate, br",
"accept-language": "en-GB,en;q=0.9,en-US;q=0.8,pl;q=0.7,nb;q=0.6,no;q=0.5",
Expand All @@ -93,8 +93,8 @@ Array [
"method": "GET",
"url": "/foobar",
},
"res": Object {
"headers": Object {
"res": {
"headers": {
"someHeader": "someValue",
},
"statusCode": 200,
Expand Down
Loading