test: disable clipboard tests for WOA (#22374)
This commit is contained in:
parent
c4f272e28f
commit
3bc6809759
1 changed files with 7 additions and 0 deletions
|
@ -7,6 +7,13 @@ const { clipboard, nativeImage } = require('electron')
|
||||||
describe('clipboard module', () => {
|
describe('clipboard module', () => {
|
||||||
const fixtures = path.resolve(__dirname, 'fixtures')
|
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()', () => {
|
describe('clipboard.readImage()', () => {
|
||||||
it('returns NativeImage instance', () => {
|
it('returns NativeImage instance', () => {
|
||||||
const p = path.join(fixtures, 'assets', 'logo.png')
|
const p = path.join(fixtures, 'assets', 'logo.png')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue