Skip to content

Commit dfd338d

Browse files
trop[bot]Cheng Zhao
andauthored
test: disable clipboard tests for WOA (electron#22389)
Co-authored-by: Cheng Zhao <zcbenz@github.com>
1 parent dd242f4 commit dfd338d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

spec/api-clipboard-spec.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ const { clipboard, nativeImage } = require('electron')
77
describe('clipboard module', () => {
88
const fixtures = path.resolve(__dirname, 'fixtures')
99

10+
// FIXME(zcbenz): Clipboard tests are failing on WOA.
11+
beforeEach(function () {
12+
if (process.platform === 'win32' && process.arch === 'arm64') {
13+
this.skip()
14+
}
15+
})
16+
1017
describe('clipboard.readImage()', () => {
1118
it('returns NativeImage instance', () => {
1219
const p = path.join(fixtures, 'assets', 'logo.png')

0 commit comments

Comments
 (0)