Browse Source

test: disable clipboard tests for WOA (#22374)

Cheng Zhao 5 years ago
parent
commit
3bc6809759
1 changed files with 7 additions and 0 deletions
  1. 7 0
      spec/api-clipboard-spec.js

+ 7 - 0
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')