fix(web): set meter widths from script so the CSP does not block them
This commit is contained in:
parent
e865df33a4
commit
0093ce7577
2 changed files with 9 additions and 1 deletions
|
|
@ -99,3 +99,8 @@ test("the long dash is absent from sources, docs, public/ and the browser bundle
|
|||
}
|
||||
assert.deepEqual(bad, []);
|
||||
});
|
||||
|
||||
test("app templates avoid inline style attributes blocked by the site CSP", async () => {
|
||||
const source = await Bun.file("src/app.ts").text();
|
||||
assert.doesNotMatch(source, /style="/);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue