Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
Viicos authored and sergei-maertens committed Nov 13, 2023
1 parent d29db53 commit 1521d31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sdk.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ describe('OpenForm', () => {
],
[
'/some-subpath?_action=stap&_action_params=step-1',
'http://localhost/some-subpath/stap/startpagina', // SDK redirects to start page
'http://localhost/some-subpath/stap/startpagina', // SDK redirects to start page
],
])('should handle action redirects correctly', async (initialUrl, expected) => {
mswServer.use(...apiMocks);
Expand Down Expand Up @@ -188,7 +188,7 @@ describe('OpenForm', () => {
],
[
'/some-subpath?_action=stap&_action_params=step-1',
'http://localhost/#/some-subpath/startpagina', // SDK redirects to start page
'http://localhost/#/some-subpath/startpagina', // SDK redirects to start page
],
])(
'should handle action redirects correctly (hash based routing)',
Expand Down

0 comments on commit 1521d31

Please sign in to comment.