mockit.json

The configuration file that lives on the root of your project directory.

mockit.json
{
    // From root. Set to "mockit" is not specified
    "fixturesPath": "mockit",
    
    // Set the latency. Sets to 0 if not specified.
    "latency": 0
    
    // Port to host services. Sets to 3000 if not specified.
    "port": 3000,
    
    // When running in watch mode, this port will be used to watch
    // for changes in the chosen fixtures directory to update mockit client
    // Sets to ${port} + 1 if not specified
    "wsPort": 3001
}

Last updated