Skip to content

Commit

Permalink
chore: rename compare to assert
Browse files Browse the repository at this point in the history
  • Loading branch information
k0stik committed May 30, 2024
1 parent 6dcb971 commit 3c4298e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/js/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as array from "./shared/array";
import * as assertion from "./shared/assertion";
import * as cls from "./shared/class";
import * as clone from "./shared/clone";
import * as compare from "./shared/compare";
import * as constants from "./shared/constants";
import * as hash from "./shared/hash";
import * as math from "./shared/math";
Expand All @@ -27,7 +27,7 @@ export const sharedUtils = {
tree,
url,
uuid,
compare,
assertion,
};

export const Utils = sharedUtils;
Expand Down
2 changes: 1 addition & 1 deletion src/js/shared/compare.ts → src/js/shared/assertion.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export function shallowDeepAlmostEqual(
export function assertShallowDeepAlmostEqual(
expect?: object | boolean | number | null | string | Date,
actual?: object | boolean | number | null | string | Date,
path = "",
Expand Down

0 comments on commit 3c4298e

Please sign in to comment.