Small fix

This commit is contained in:
Knut Sveidqvist
2022-12-08 13:21:56 +01:00
parent 90d9724d1a
commit 9b27396344
6 changed files with 173 additions and 219 deletions

View File

@@ -7,4 +7,10 @@ describe('CSS injections', () => {
flowchart: { htmlLabels: false },
});
});
it('should not allow adding styletags affecting the page', () => {
urlSnapshotTest('http://localhost:9000/ghsa3.html', {
logLevel: 1,
flowchart: { htmlLabels: false },
});
});
});