Don't use this.skip() since after hooks won't be run
This commit is contained in:
parent
217848ca52
commit
1afa41477d
2 changed files with 4 additions and 4 deletions
|
@ -87,7 +87,7 @@ 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()
|
||||
if (process.platform !== 'darwin') return
|
||||
|
||||
clipboard.writeFindText('find this')
|
||||
assert.equal(clipboard.readFindText(), 'find this')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue