Skip to content

Commit 61b8fde

Browse files
committed
fix(test): updated should + eslint dependencies
1 parent 4c4984d commit 61b8fde

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

test/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ describe('HTTPSnippet', function () {
1919
it('should fail validation', function (done) {
2020
var snippet;
2121

22-
/*eslint-disable no-wrap-func */
22+
/* eslint-disable no-extra-parens */
2323
(function () {
2424
snippet = new HTTPSnippet({yolo: 'foo'})
2525
}).should.throw(Error)

test/targets.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ var itShouldHaveInfo = function (targets, key) {
3434
var target = targets[key]
3535

3636
target.should.have.property('info').and.be.an.Object
37-
target.info.key.should.be.a.String.and.equal(key)
37+
target.info.key.should.equal(key).and.be.a.String
3838
target.info.title.should.be.a.String
3939
})
4040
}

0 commit comments

Comments
 (0)