Commit bed54f7
committed
Suppress console.warn noise in nonce-scrub spec
scrubScriptElements warns on every removed script, so three of
the four scrubScriptElements cases printed to stderr. Mocks and
restores console.warn around that describe block to keep test
output pristine, matching the convention already used in the
sibling describe block added for the same module's caller.1 parent e26f7f7 commit bed54f7
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
51 | 59 | | |
52 | 60 | | |
53 | 61 | | |
| |||
0 commit comments