Skip to content

Commit

Permalink
Fix a test by not requiring the done callback
Browse files Browse the repository at this point in the history
A test is timing out because we are waiting for done to be called. This fix does not require done to be called.
  • Loading branch information
danieljbruce committed Feb 16, 2023
1 parent fe50d56 commit 1159b37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ describe('Query', () => {
});
});
describe('setAncestor', () => {
it('should set the ancestor for the query to search against', done => {
it('should set the ancestor for the query to search against', () => {
const key = ['kind2', 123];
const query = new Query(['kind1']).setAncestor(key);
assert.deepStrictEqual(query.ancestor, key);
Expand Down

0 comments on commit 1159b37

Please sign in to comment.