Skip to content

dxp/issues#805 fix mock

Hossein Rashno requested to merge dxp/issues#805-fix-mock into develop

This is a follow-up MR based on the comments of this MR: !51 (merged)

Changes

  • Add polyfill for process so it can work on all OSs
  • Add a new script to create a mock config for loadmore widget
  • Only update the context-param for loadmore

Test

  • run dxp backend
  • change the pager to loadmore
  • npm run start:mock-config-loadmore
  • check localhost:3000

Concern

You can't check the full pager with npm run start:mock-config as there is no layout associated with this script. If this is a bug, it could be resolved in another issue. For now, you can use other scripts like start:mock-local-results to test the full pager.

Merge request reports

Loading