test: fix incorrect reference to skip (#17281)

This commit is contained in:
trop[bot]
2019-03-08 16:12:44 -05:00
committed by John Kleinschmidt
parent c55f806191
commit ba00be3798

View File

@@ -3124,9 +3124,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