pkp / pkp-lib

The library used by PKP's applications OJS, OMP and OPS, open source software for scholarly publishing.
https://pkp.sfu.ca
GNU General Public License v3.0
297 stars 441 forks source link

Add option in storybook to connect to real PHP api for testing purposes #10134

Closed jardakotesovec closed 3 days ago

jardakotesovec commented 3 days ago

Describe the issue Add option in storybook to connect to real PHP api for testing purposes

Solution

New command npm run storybookWithProxy is now available and description how to use it is covered in storybook: Guide/API Mocking

jardakotesovec commented 3 days ago

Addressed in https://github.com/pkp/ui-library/pull/370