feat(headless): server side commerce recommendations #24663
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 fetchStaticState],
+ "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