Skip to content

Commit f5e3ea2

Browse files
committed
Fix toHashMap(string)? tests
1 parent 4646af5 commit f5e3ea2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/core/src/utils/__tests__/hashmap.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ describe("toHashMap", () => {
4343
})
4444

4545
it("returns undefined if argument is undefined", () => {
46-
const hm = toHashMapString()
46+
const hm = toHashMap()
4747
expect(hm).toBeUndefined()
4848
})
4949
})
@@ -77,7 +77,7 @@ describe("toHashMapString", () => {
7777
object: { test: 123 }
7878
}
7979

80-
const hm = toHashMap(obj)
80+
const hm = toHashMapString(obj)
8181

8282
expect(obj).toStrictEqual({
8383
string: "abc",

0 commit comments

Comments
 (0)