Browse Source

test: disable consistently flaky WOA JS test (#33144)

Shelley Vohr 3 years ago
parent
commit
8ee96a13e7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      spec-main/chromium-spec.ts

+ 1 - 1
spec-main/chromium-spec.ts

@@ -825,7 +825,7 @@ describe('chromium features', () => {
       expect(typeofProcessGlobal).to.equal('undefined');
     });
 
-    it('disables JavaScript when it is disabled on the parent window', async () => {
+    ifit(process.platform !== 'win32' || process.arch !== 'arm64')('disables JavaScript when it is disabled on the parent window', async () => {
       const w = new BrowserWindow({ show: true, webPreferences: { nodeIntegration: true } });
       w.webContents.loadFile(path.resolve(__dirname, 'fixtures', 'blank.html'));
       const windowUrl = require('url').format({