mirror of
https://github.com/tenrok/axios.git
synced 2026-05-27 14:47:43 +03:00
15bf9563f6
Co-authored-by: zhangh-cs <zhangh-cs@glodon.com> Co-authored-by: Jay <jasonsaayman@gmail.com>
13 lines
309 B
JavaScript
13 lines
309 B
JavaScript
import utils from '../../../lib/utils';
|
|
|
|
const {kindOf} = utils;
|
|
|
|
describe('utils::kindOf', function () {
|
|
it('should return object tag', function () {
|
|
expect(kindOf({})).toEqual('object');
|
|
// cached result
|
|
expect(kindOf({})).toEqual('object');
|
|
expect(kindOf([])).toEqual('array');
|
|
});
|
|
});
|