feat(headless): refresh commerce recommendations server-side #24677
Annotations
2 errors
Run npm test:
packages/headless-react/src/ssr-commerce/commerce-engine.test.tsx#L88
AssertionError: expected { …(1) } to deeply equal {}
- Expected
+ Received
- Object {}
+ Object {
+ "recommendationEngineDefinition": Object {
+ "HydratedStateProvider": [Function anonymous],
+ "StaticStateProvider": [Function anonymous],
+ "build": [Function anonymous],
+ "fetchStaticState": [Function newFunction],
+ "hydrateStaticState": [Function newFunction],
+ "setNavigatorContextProvider": [Function setNavigatorContextProvider],
+ },
+ }
❯ src/ssr-commerce/commerce-engine.test.tsx:88:18
|
Run npm test
Process completed with exit code 1.
|
Loading