Skip to content

Commit 84e82d0

Browse files
committed
chore: Remove unnecessary changes
1 parent 901c2ae commit 84e82d0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

integration/testUtils/signUpPageObject.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ export const createSignUpComponentPageObject = (testArgs: TestArgs) => {
1616

1717
const self = {
1818
...common(testArgs),
19-
goTo: async (opts: { searchParams?: URLSearchParams; headlessSelector?: string } = {}) => {
20-
await page.goToRelative('/sign-up', opts);
19+
goTo: async (opts: { searchParams?: URLSearchParams; headlessSelector?: string }) => {
20+
await page.goToRelative('/sign-up', { searchParams: opts?.searchParams });
2121

22-
if (typeof opts.headlessSelector !== 'undefined') {
22+
if (typeof opts?.headlessSelector !== 'undefined') {
2323
return self.waitForMounted(opts.headlessSelector);
2424
}
2525
return self.waitForMounted();

0 commit comments

Comments
 (0)