Skip to content

Commit

Permalink
fix: test uses contentId=undefined, so made this param optional in th…
Browse files Browse the repository at this point in the history
…e test route.
  • Loading branch information
pomegranited committed Dec 19, 2024
1 parent aa25827 commit a4728e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content-tags-drawer/ContentTagsDrawer.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import {
} from './data/api.mocks';
import { getContentTaxonomyTagsApiUrl } from './data/api';

const path = '/content/:contentId/*';
const path = '/content/:contentId?/*';
const mockOnClose = jest.fn();
const mockSetBlockingSheet = jest.fn();
const mockNavigate = jest.fn();
Expand Down

0 comments on commit a4728e1

Please sign in to comment.