Skip to content
This repository has been archived by the owner. It is now read-only.

Commands for Mocks Server v2

Compare
Choose a tag to compare
@javierbrea javierbrea released this 17 Feb 19:14
· 67 commits to master since this release
cbf22f1

Added

  • feat: Add mocksConfig, mocksSetMock, mocksUseRouteVariant and mocksRestoreRoutesVariants commands
  • feat: Add support for environment variables MOCKS_SERVER_ENABLED, MOCKS_SERVER_BASE_URL and MOCKS_SERVER_ADMIN_API_PATH (#3)

Changed

  • feat: Rename mocksServerSetBehavior command to mocksSetBehavior
  • feat: Rename mocksServerSetDelay command to mocksSetDelay
  • feat: Rename mocksServerSetSettings command to mocksSetSettings
  • chore(deps): Update dependencies to mocks-server v2 compatible versions
  • chore(deps): Update Cypress to v6 in tests

Removed

  • feat: Remove config method, cy.mocksConfig command should be used instead
  • test(e2e): Remove e2e tests using data-provider, as it does not concern to this package

Breaking changes

  • Rename mocksServerSetBehavior command to mocksSetBehavior
  • Rename mocksServerSetDelay command to mocksSetDelay
  • Rename mocksServerSetSettings command to mocksSetSettings
  • Remove config method, cy.mocksConfig command should be used instead