Skip to content

Commit 1c598ff

Browse files
committed
Unit test for project iframe redirect
1 parent 399640b commit 1c598ff

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

common/components/test/utils.test.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,12 @@ describe("utils", () => {
169169
expect(urlHelper.logInThenReturn(expectedNoArguments)).toEqual(
170170
expectedNoArguments
171171
);
172+
173+
// Redirect project iframe to regular project page
174+
expect(urlHelper.logInThenReturn("/projects/inframe/1")).toEqual(
175+
expectedWithArguments
176+
);
177+
172178
});
173179

174180
test("groupBy.andTransform", () => {

0 commit comments

Comments
 (0)