From 1bc6a6f02e4626f88ccec0f9a1a63375a33429c3 Mon Sep 17 00:00:00 2001 From: Surafel Melese Date: Fri, 22 Sep 2023 12:30:01 +0300 Subject: [PATCH] feat: fixed error in order client plugin --- packages/vendure-order-client/test/vendure-order-client.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vendure-order-client/test/vendure-order-client.spec.ts b/packages/vendure-order-client/test/vendure-order-client.spec.ts index bc6f5a08..e7908749 100644 --- a/packages/vendure-order-client/test/vendure-order-client.spec.ts +++ b/packages/vendure-order-client/test/vendure-order-client.spec.ts @@ -125,7 +125,7 @@ describe('Vendure order client', () => { additionalOrderFields ); expect(client).toBeInstanceOf(VendureOrderClient); - expect(client.$activeOrder).toBeUndefined(); + expect(client.$activeOrder?.value).toBeUndefined(); expect(client.eventBus).toBeDefined(); client.eventBus.on( '*',