fix flaky security-warnings test (#12749)

This commit is contained in:
Cheng Zhao
2018-05-01 09:49:45 +09:00
committed by GitHub
parent 338a816ffd
commit e00b128a50

View File

@@ -54,9 +54,8 @@ describe('security warnings', () => {
})
afterEach(() => {
closeWindow(w).then(() => { w = null })
useCsp = true
return closeWindow(w).then(() => { w = null })
})
it('should warn about Node.js integration with remote content', (done) => {