Skip to content

Commit bd8d67e

Browse files
committed
Minor fixes
1 parent b14f7eb commit bd8d67e

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

tests/unit/fastMergeTest.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,17 +103,15 @@ describe('fastMerge', () => {
103103
});
104104

105105
it('should replace an object with an array', () => {
106-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
107-
const result = utils.fastMerge(testObject, [1, 2, 3] as any, {
106+
const result = utils.fastMerge(testObject, [1, 2, 3], {
108107
shouldRemoveNestedNulls: true,
109108
});
110109

111110
expect(result.result).toEqual([1, 2, 3]);
112111
});
113112

114113
it('should replace an array with an object', () => {
115-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
116-
const result = utils.fastMerge([1, 2, 3] as any, testObject, {
114+
const result = utils.fastMerge([1, 2, 3], testObject, {
117115
shouldRemoveNestedNulls: true,
118116
});
119117

0 commit comments

Comments
 (0)