fix flaky security-warnings test (#12749)
This commit is contained in:
parent
338a816ffd
commit
e00b128a50
1 changed files with 1 additions and 2 deletions
|
@ -54,9 +54,8 @@ describe('security warnings', () => {
|
||||||
})
|
})
|
||||||
|
|
||||||
afterEach(() => {
|
afterEach(() => {
|
||||||
closeWindow(w).then(() => { w = null })
|
|
||||||
|
|
||||||
useCsp = true
|
useCsp = true
|
||||||
|
return closeWindow(w).then(() => { w = null })
|
||||||
})
|
})
|
||||||
|
|
||||||
it('should warn about Node.js integration with remote content', (done) => {
|
it('should warn about Node.js integration with remote content', (done) => {
|
||||||
|
|
Loading…
Reference in a new issue