Skip to content

Commit

Permalink
test: fix test global context
Browse files Browse the repository at this point in the history
  • Loading branch information
tokebe committed Oct 17, 2024
1 parent 2c63727 commit f3a5165
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions __test__/unittest/inferred_mode.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -971,6 +971,8 @@ describe('Test InferredQueryHandler', () => {
);
handler.CREATIVE_LIMIT = 1;

// @ts-expect-error don't need the whole thing
global.queryInformation = {};
const response = await handler.query();

expect(queryIsValid).toHaveBeenCalled();
Expand Down

0 comments on commit f3a5165

Please sign in to comment.