From 98efbf255b89185eaacbac3ce1f491dbbcab5874 Mon Sep 17 00:00:00 2001 From: Alex Prudhomme <78121423+alexprudhomme@users.noreply.github.com> Date: Tue, 24 Sep 2024 08:42:11 -0400 Subject: [PATCH] fix unit test --- .../commerce/core/facets/headless-core-commerce-facet.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/headless/src/controllers/commerce/core/facets/headless-core-commerce-facet.test.ts b/packages/headless/src/controllers/commerce/core/facets/headless-core-commerce-facet.test.ts index 7a89a6bf81c..97ac5f42b86 100644 --- a/packages/headless/src/controllers/commerce/core/facets/headless-core-commerce-facet.test.ts +++ b/packages/headless/src/controllers/commerce/core/facets/headless-core-commerce-facet.test.ts @@ -430,7 +430,7 @@ describe('CoreCommerceFacet', () => { describe('#state', () => { it('#facetId exposes the facetId passed as an option to the controller', () => { state.commerceFacetSet = {}; - options.facetResponseSelector = jest.fn(); + options.facetResponseSelector = vi.fn(); expect(facet.state.facetId).toBe(facetId); });