Skip to content

Commit

Permalink
chore: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjiahan committed Jul 22, 2023
1 parent 8647c0e commit f6a8cf4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/vant/src/utils/test/index.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { get, noop } from '../basic';
import { get, noop, isDef, isMobile, isNumeric } from '../basic';
import { deepClone } from '../deep-clone';
import { deepAssign } from '../deep-assign';
import { isDef, isMobile, isNumeric } from '../validate';
import { addUnit, unitToPx, camelize, formatNumber } from '../format';
import { trigger } from '../../../test';

Expand All @@ -23,7 +22,7 @@ test('deepAssign', () => {
expect(deepAssign({ noop: null }, { noop })).toEqual({ noop });
expect(deepAssign({ foo: 0 }, { bar: 1 })).toEqual({ foo: 0, bar: 1 });
expect(
deepAssign({ foo: { bar: false } }, { foo: { bar: true, foo: false } })
deepAssign({ foo: { bar: false } }, { foo: { bar: true, foo: false } }),
).toEqual({
foo: {
bar: true,
Expand Down

0 comments on commit f6a8cf4

Please sign in to comment.