2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-05 16:42:32 +03:00

Making validation of invalid character error less strict

This commit is contained in:
Matt Zabriskie
2016-03-03 23:16:42 -07:00
parent e7aa98f9f5
commit 62ad1f2b0b
@@ -1,4 +1,3 @@
module.exports = function validateInvalidCharacterError(error) {
expect(error instanceof Error).toEqual(true);
expect(/character/i.test(error.message)).toEqual(true);
};