mirror of
https://github.com/tenrok/axios.git
synced 2026-06-08 17:22:34 +03:00
Changing btoa ponyfill to improve testing
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
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