Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
chirag-madlani authored Oct 16, 2024
1 parent 02c0ff2 commit 5b8c17f
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ import tagClassBase, { TagClassBase } from './TagClassBase';

jest.mock('../rest/searchAPI');


jest.mock('./StringsUtils', () => ({
getEncodedFqn: jest.fn().mockReturnValue('test'),
escapeESReservedCharacters: jest.fn().mockReturnValue('test'),
}));

describe('TagClassBase', () => {
beforeEach(() => {
(searchQuery as jest.Mock).mockClear();
Expand Down

0 comments on commit 5b8c17f

Please sign in to comment.