Skip to content

Commit a95ff12

Browse files
committed
updated har-validator, now throws Error
1 parent 3c2785b commit a95ff12

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
"debug": "^2.1.3",
6868
"event-stream": "^3.3.0",
6969
"form-data": "^0.2.0",
70-
"har-validator": "^1.1.2",
70+
"har-validator": "^1.2.0",
7171
"require-directory": "^2.1.0"
7272
}
7373
}

test/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ describe('HTTPSnippet', function () {
2222
/*eslint-disable no-wrap-func */
2323
(function () {
2424
snippet = new HTTPSnippet({yolo: 'foo'})
25-
}).should.throw(Array)
25+
}).should.throw(Error)
2626

2727
should.not.exist(snippet)
2828

0 commit comments

Comments
 (0)