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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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) => {