Skip to content

Commit 9bc7f3a

Browse files
committed
test(getObject): Fix wrong path in test
1 parent 9c30e27 commit 9bc7f3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/02-jsondb.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ describe('JsonDB', () => {
110110
test('should store the data with typing', () => {
111111
const object = {Hello: "test", World: 0} as Test;
112112
db.push("@/hello", object)
113-
const result = db.getObject<Test>("@");
113+
const result = db.getObject<Test>("@/hello");
114114
expect(result).toBe(object)
115115
})
116116
test('should have data at root', () => {

0 commit comments

Comments
 (0)