From 3bc6809759665e7075fb193fb2312715a7da7e67 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Wed, 26 Feb 2020 02:15:50 +0900 Subject: [PATCH] test: disable clipboard tests for WOA (#22374) --- spec/api-clipboard-spec.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/spec/api-clipboard-spec.js b/spec/api-clipboard-spec.js index 5267f3f0a0bc..6cc728a5310d 100644 --- a/spec/api-clipboard-spec.js +++ b/spec/api-clipboard-spec.js @@ -7,6 +7,13 @@ const { clipboard, nativeImage } = require('electron') describe('clipboard module', () => { const fixtures = path.resolve(__dirname, 'fixtures') + // FIXME(zcbenz): Clipboard tests are failing on WOA. + beforeEach(function () { + if (process.platform === 'win32' && process.arch === 'arm64') { + this.skip() + } + }) + describe('clipboard.readImage()', () => { it('returns NativeImage instance', () => { const p = path.join(fixtures, 'assets', 'logo.png')