test: fix incorrect reference to skip (#17280)

This commit is contained in:
trop[bot]
2019-03-08 16:12:23 -05:00
committed by John Kleinschmidt
parent 56c545f679
commit f53a9c1268

View File

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