Skip to content

Commit cf30a10

Browse files
authored
Merge pull request #7655 from QwikDev/fix-repl
fix(core): import isDev from build directly
2 parents d524520 + 700c5e8 commit cf30a10

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

packages/qwik/src/core/shared/utils/promises.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { isDev, isServer } from '@qwik.dev/core';
1+
import { isDev, isServer } from '@qwik.dev/core/build';
22
import { throwErrorAndStop } from './log';
33
import type { ValueOrPromise } from './types';
44

starters/e2e/qwikrouter/auth.e2e.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ function tests() {
8686

8787
/*********** Go to Dashboard settings, shouldn't redirect if signed in ***********/
8888
await page.locator('[data-test-link="dashboard-settings"]').click();
89+
await page.waitForURL("/qwikrouter-test/dashboard/settings/");
8990
await assertPage(ctx, {
9091
pathname: "/qwikrouter-test/dashboard/settings/",
9192
title: "Dashboard Settings - Qwik",
@@ -95,6 +96,7 @@ function tests() {
9596

9697
/*********** Sign out ***********/
9798
await page.locator('[data-test-link="dashboard-sign-out"]').click();
99+
await page.waitForURL("/qwikrouter-test/sign-in/");
98100
await assertPage(ctx, {
99101
pathname: "/qwikrouter-test/sign-in/",
100102
});

0 commit comments

Comments
 (0)