Add spec for read/write find text
This commit is contained in:
parent
1718697ef0
commit
1c3b5835f4
2 changed files with 10 additions and 1 deletions
|
@ -84,4 +84,13 @@ describe('clipboard module', function () {
|
|||
}
|
||||
})
|
||||
})
|
||||
|
||||
describe('clipboard.read/writeFindText(text)', function () {
|
||||
it('reads and write text to the find pasteboard', function () {
|
||||
if (process.platform !== 'darwin') return this.skip()
|
||||
|
||||
clipboard.writeFindText('find this')
|
||||
assert.equal(clipboard.readFindText(), 'find this')
|
||||
})
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue