2
0
mirror of https://github.com/tenrok/axios.git synced 2026-05-15 11:59:42 +03:00
Files
2025-11-12 08:16:59 +02:00

11 lines
283 B
JavaScript

import {kindOfTest} from '../../../lib/utils';
describe('utils::kindOfTest', function () {
it('should return true if the type is matched', function () {
const test = kindOfTest('number');
expect(test(123)).toEqual(true);
expect(test('123')).toEqual(false);
});
});