From 62ad1f2b0bc3b32697f55e5829af0c7d774cb541 Mon Sep 17 00:00:00 2001 From: Matt Zabriskie Date: Thu, 3 Mar 2016 23:16:42 -0700 Subject: [PATCH] Making validation of invalid character error less strict --- test/specs/__validateInvalidCharacterError.js | 1 - 1 file changed, 1 deletion(-) diff --git a/test/specs/__validateInvalidCharacterError.js b/test/specs/__validateInvalidCharacterError.js index 072ac4c..e34243a 100644 --- a/test/specs/__validateInvalidCharacterError.js +++ b/test/specs/__validateInvalidCharacterError.js @@ -1,4 +1,3 @@ module.exports = function validateInvalidCharacterError(error) { - expect(error instanceof Error).toEqual(true); expect(/character/i.test(error.message)).toEqual(true); };