Skip to content

Commit

Permalink
updated unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
nimjetushar committed Jun 19, 2020
1 parent ba19136 commit 3d43a17
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions __test__/utils.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,17 @@ import {
setDataToSession,
isEqual,
isFunction,
hasKey
hasKey,
noop
} from '../index';
import { noop } from '../core/noop';

const utils = require('../build/utils-umd');

describe('Utils', () => {

it('should have utility in umd', () => {
expect(utils).toBeDefined();
});

it('should have isArray method', () => {
expect(isArray).toBeDefined();
expect(utils.isArray).toBeDefined();
Expand Down

0 comments on commit 3d43a17

Please sign in to comment.