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 de4bfd1 commit ad98209Copy full SHA for ad98209
tests/Query/SearchInfo.test.ts
@@ -54,8 +54,8 @@ describe('SearchInfo', () => {
54
it('should give the same QueryContext on successive calls, for caching data', () => {
55
const searchInfo = new SearchInfo(tasksFile, [new TaskBuilder().build()]);
56
57
- searchInfo.queryContext()!.query!.searchCache['saved'] = 1;
+ searchInfo.queryContext()!.query.searchCache['saved'] = 1;
58
59
- expect(searchInfo.queryContext()!.query!.searchCache['saved']).toBe(1);
+ expect(searchInfo.queryContext()!.query.searchCache['saved']).toBe(1);
60
});
61
0 commit comments