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 4cab3ec commit 31f8bd5Copy full SHA for 31f8bd5
packages/database/test/query.test.ts
@@ -3131,7 +3131,7 @@ describe('Query Tests', () => {
3131
it('get returns the latest value', async () => {
3132
const node = getRandomNode() as Reference;
3133
await node.set({ foo: 'bar' });
3134
- expect(node.get()).to.eventually.equal({ foo: 'bar' });
+ expect((await node.get()).val()).to.deep.equal({ foo: 'bar' });
3135
});
3136
3137
it('get reads from cache if database is not connected', async () => {
0 commit comments