Skip to content

Commit

Permalink
Unit test for project iframe redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
marlonkeating committed Oct 8, 2023
1 parent 399640b commit 1c598ff
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions common/components/test/utils.test.js
Expand Up @@ -169,6 +169,12 @@ describe("utils", () => {
expect(urlHelper.logInThenReturn(expectedNoArguments)).toEqual(
expectedNoArguments
);

// Redirect project iframe to regular project page
expect(urlHelper.logInThenReturn("/projects/inframe/1")).toEqual(
expectedWithArguments
);

});

test("groupBy.andTransform", () => {
Expand Down

0 comments on commit 1c598ff

Please sign in to comment.