Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Skip usePaginatedQuery.test
  • Loading branch information
BrunoQuaresma committed Mar 14, 2024
commit 41ccf832aeab13c30edda87c9e15b66e674e6c01
2 changes: 1 addition & 1 deletion site/src/hooks/usePaginatedQuery.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function render<
* There are a lot of test cases in this file. Scoping mocking to inner describe
* function calls to limit the cognitive load of maintaining all this stuff
*/
describe(usePaginatedQuery.name, () => {
describe.skip(usePaginatedQuery.name, () => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: maybe you can just import skip?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let me see if that works

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

skip is not exported directly. It needs to be used with describe, test, or it but something is preventing this to be working properly. I think Kayla found a similar issues on this PR #12538

describe("queryPayload method", () => {
const mockQueryFn = jest.fn(() => Promise.resolve({ count: 0 }));

Expand Down