Skip to content

Commit

Permalink
test: update integ test assertions for user agents
Browse files Browse the repository at this point in the history
  • Loading branch information
kuhe committed Oct 9, 2024
1 parent 4ffcd4b commit 11f4366
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ describe("middleware-flexible-checksums", () => {

requireRequestsFrom(client).toMatch({
headers: {
"user-agent": new RegExp(`(.*?) m\/${id}$`),
"user-agent": new RegExp(`(.*?) m\/${id},E$`),
},
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ describe("middleware-s3-express", () => {

requireRequestsFrom(client).toMatch({
headers: {
"user-agent": /(.*?) m\/J$/,
"user-agent": /(.*?) m\/J,E$/,
},
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ describe("middleware-user-agent", () => {

requireRequestsFrom(doc).toMatch({
headers: {
"user-agent": /(.*?) m\/d,O,R$/,
"user-agent": /(.*?) m\/d,E,O,R$/,
},
});

Expand Down

0 comments on commit 11f4366

Please sign in to comment.