Don't use this.skip() since after hooks won't be run

This commit is contained in:
Kevin Sawicki 2016-11-29 10:56:58 -08:00
parent 217848ca52
commit 1afa41477d
2 changed files with 4 additions and 4 deletions

View file

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