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:
@@ -1,4 +1,3 @@
|
||||
module.exports = function validateInvalidCharacterError(error) {
|
||||
expect(error instanceof Error).toEqual(true);
|
||||
expect(/character/i.test(error.message)).toEqual(true);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user