You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(ci): disable mocks by default everywhere apart from PR previews (#5099)
See title
Note: locally during development you probably never need to use the
KUMA_MOCK_API_ENABLED cookie anymore as it will use the local node
server for mocks which is much more reliable.
I guess thew only time you might need to set it is if you happen to have
no internet connection and you want the call to
`https://kuma.io/latest_version` to resolve with a mock response.
In this case you can still enable the MSW mocks.
TL;DR and most importantly, we no longer have to explicitly set
`KUMA_MOCK_API_ENABLED` to `false` locally. In a preview its built with
the MSW mocks enabled by default (but you can turn them off whilst
previewing with cookies should we need to)
---------
Signed-off-by: John Cowen <john.cowen@konghq.com>
Signed-off-by: John Cowen <johncowen@users.noreply.github.com>
Co-authored-by: Mo <24444046+schogges@users.noreply.github.com>
0 commit comments