We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c30e27 commit 9bc7f3aCopy full SHA for 9bc7f3a
test/02-jsondb.test.ts
@@ -110,7 +110,7 @@ describe('JsonDB', () => {
110
test('should store the data with typing', () => {
111
const object = {Hello: "test", World: 0} as Test;
112
db.push("@/hello", object)
113
- const result = db.getObject<Test>("@");
+ const result = db.getObject<Test>("@/hello");
114
expect(result).toBe(object)
115
})
116
test('should have data at root', () => {
0 commit comments