diff --git a/test/node-unit/cli/run-helpers.spec.js b/test/node-unit/cli/run-helpers.spec.js index b3a0fb5520..a2a63335f5 100644 --- a/test/node-unit/cli/run-helpers.spec.js +++ b/test/node-unit/cli/run-helpers.spec.js @@ -19,7 +19,7 @@ describe('cli "run" command', function() { it('should disallow an array of module names', function() { expect( () => validatePlugin({foo: ['bar']}, 'foo'), - 'to throw', + 'to throw a', TypeError ); });