Skip to content

Commit

Permalink
THEMES-1675: making sure test files are seen by test:changed-feature-…
Browse files Browse the repository at this point in the history
…branch.
  • Loading branch information
vgalatro committed Mar 12, 2024
1 parent ec5d277 commit b8afcd0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ jest.mock("fusion:properties", () =>
locale: "somelocale",
}))
);

jest.mock("fusion:context", () => ({
useFusionContext: jest.fn(() => ({
arcSite: "dagen",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,16 @@ jest.mock(
({ children }) =>
children
);

jest.mock("fusion:properties", () => jest.fn(() => ({})));

jest.mock("fusion:context", () => ({
useFusionContext: jest.fn(() => ({
contextPath: "pf",
deployment: jest.fn(() => ({})).mockReturnValue("path/image.svg"),
})),
}));

jest.mock("fusion:content", () => ({
useContent: jest.fn(() => ({
children: [
Expand Down

0 comments on commit b8afcd0

Please sign in to comment.