Archived
1
0

add trusted-origins cli argument (#6319)

This commit is contained in:
Alex Thillen
2023-07-20 00:04:03 +02:00
committed by GitHub
parent 7926647058
commit 93e60f7b0e
3 changed files with 12 additions and 0 deletions

View File

@ -70,6 +70,7 @@ describe("http", () => {
origin: test.origin,
[key]: value,
},
args: {},
})
if (typeof test.expected === "string") {
expect(() => http.authenticateOrigin(req)).toThrow(test.expected)