test: disable clipboard tests for WOA (#22374)

This commit is contained in:
Cheng Zhao 2020-02-26 02:15:50 +09:00 committed by GitHub
parent c4f272e28f
commit 3bc6809759
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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')