2
0
mirror of https://github.com/tenrok/axios.git synced 2026-05-24 14:04:14 +03:00
Files
axios/test/specs/__validateInvalidCharacterError.js
T
2016-03-03 22:43:16 -07:00

5 lines
174 B
JavaScript

module.exports = function validateInvalidCharacterError(error) {
expect(error instanceof Error).toEqual(true);
expect(/character/i.test(error.message)).toEqual(true);
};