test: fix incorrect reference to skip (#17278)

This commit is contained in:
John Kleinschmidt 2019-03-07 19:03:10 -05:00 committed by Samuel Attard
parent 42b7b25ac3
commit 2be62b1c33

View file

@ -3203,9 +3203,11 @@ describe('BrowserWindow module', () => {
})
describe('window.getNativeWindowHandle()', () => {
if (!nativeModulesEnabled) {
this.skip()
}
before(function () {
if (!nativeModulesEnabled) {
this.skip()
}
})
it('returns valid handle', () => {
// The module's source code is hosted at