mirror of
https://github.com/tenrok/axios.git
synced 2026-06-20 20:00:40 +03:00
Making validation of invalid character error less strict
This commit is contained in:
@@ -1,4 +1,3 @@
|
|||||||
module.exports = function validateInvalidCharacterError(error) {
|
module.exports = function validateInvalidCharacterError(error) {
|
||||||
expect(error instanceof Error).toEqual(true);
|
|
||||||
expect(/character/i.test(error.message)).toEqual(true);
|
expect(/character/i.test(error.message)).toEqual(true);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user