@mocktomata/cli
@mocktomata/cli is the CLI tools for mocktomata.
Install
npm install --dev @mocktomata/cli
yarn add -D @mocktomata/cli
pnpm add -D @mocktomata/cli
Usage
It provides the mocktomata
command (also aliased as mt
).
Right now it has only one command: mt serve
,
which starts a server for mocktomata.
The server is needed for mocktomata to work when running in browser environment, including jsdom.