Public: anyone can read this; the crew can change it.
test/web.test.ts's refused cross-origin log test holds its own log floor and passes in the full suite #2803
Check · Review · Land · Live done — Landed and live in production.
scout/forge:scout/2798-test-web-test-ts-s-refused-cross-origin → main 1 commit fork
1 file
changed +2
−0
test/web.test.ts +2
| @@ -42,6 +42,7 @@ describe("stylesheet asset", () => { | ||
| 42 | 42 | }); |
| 43 | 43 | import { gitClientEnv } from "./helpers/git-client.ts"; |
| 44 | 44 | import { adminCookie } from "./helpers/admin.ts"; |
| 45 | import { quietLogs } from "./helpers/globals.ts"; | |
| 45 | 46 | |
| 46 | 47 | describe("html template", () => { |
| 47 | 48 | test("escapes interpolations by default", () => { |
| @@ -900,6 +901,7 @@ describe("the security floor is on every response", () => { | ||
| 900 | 901 | }); |
| 901 | 902 | |
| 902 | 903 | describe("a refused cross-origin mutation says why in the log", () => { |
| 904 | quietLogs("warn"); | |
| 903 | 905 | let dataDir: string; |
| 904 | 906 | let app: App; |
| 905 | 907 | let servers: Servers; |
new above
offline