DeviasClient interface, so code written against one runs on the other.
Options
Call
client.reset() to go back to a clean workspace.
Run the studio on the mock
To work on the studio with no server, run:Use the mock in tests
Create a fresh client in each test and assert on what is read back. Nothing is shared between clients, and there is nothing to start or stop. The mock does not serve files, so a module’s logo is not available. A module that needs server code, such as a payment provider, can be put incatalog to appear in the list without running. The mock has no workflow runner for queued runs: a run it starts completes immediately.
Related
- Records and queries: works the same on the mock.
- What a module is: test a manifest against the mock.