From bba7f802d58410df3356679c2567fb4d26c1f51b Mon Sep 17 00:00:00 2001 From: arthur Date: Tue, 24 Dec 2024 16:33:48 +0800 Subject: [PATCH] Fix tests --- .../landing/stepper/declarative-flow/test/onboarding-flow.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/landing/stepper/declarative-flow/test/onboarding-flow.tsx b/client/landing/stepper/declarative-flow/test/onboarding-flow.tsx index b1dd5806de223d..352790b4429a46 100644 --- a/client/landing/stepper/declarative-flow/test/onboarding-flow.tsx +++ b/client/landing/stepper/declarative-flow/test/onboarding-flow.tsx @@ -62,7 +62,7 @@ describe( 'Onboarding Flow', () => { }, } ); - expect( window.location.assign ).toHaveBeenCalledWith( '/start/do-it-for-me' ); + expect( getFlowLocation().path ).toBe( '/difmStartingPoint' ); } ); it( 'should navigate to designSetup step for other intents', async () => {