diff --git a/package.json b/package.json index 65c8a59..1993691 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "mocha": "^6.0.0", "nyc": "^14.0.0", "should": "^13.0.1", - "standard": "^13.0.1" + "standard": "^14.1.0" }, "dependencies": { "xtend": "^4.0.1" diff --git a/test.js b/test.js index fdf4dc9..5756d73 100644 --- a/test.js +++ b/test.js @@ -31,6 +31,6 @@ it('should be able to create functions based on created functions', function () }) it('should throw when call without callables', function () { - void function () { createFunction() }.should.throw(TypeError) - void function () { createFunction(1) }.should.throw(TypeError) + ;(function () { createFunction() }).should.throw(TypeError) + ;(function () { createFunction(1) }).should.throw(TypeError) })