Skip to content

Commit 5f36a43

Browse files
fix tests
1 parent 2831938 commit 5f36a43

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ indent_size = 4
1212
end_of_line = lf
1313
charset = utf-8
1414
trim_trailing_whitespace = true
15-
insert_final_newline = false
15+
insert_final_newline = true
1616

1717
[{.babelrc,.eslintrc,.codeclimate.yml,.travis.yml,*.json}]
1818
indent_size = 2

test/wdio-sync.spec.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import assert from 'assert'
12
import sinon from 'sinon'
23
import {
34
wdioSync,
@@ -168,7 +169,7 @@ describe('wdio-sync', () => {
168169
runInFiberContext(['it'], [], [], 'fakeAfter', scope)
169170

170171
global.fakeBefore.should.equal(origFakeBefore)
171-
global.should.not.have.property('fakeAfter')
172+
assert(!global.fakeAfter)
172173
scope.fakeAfter.should.not.equal(origFakeAfter)
173174
})
174175

0 commit comments

Comments
 (0)