ng-apimock / core

ng-apimock core module

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

core exits when then clause specifies a non existing mock

mdasberg opened this issue Β· comments

When specifying a mock in the then clause that does not exists, @ng-apimock/core will exit with system.exit(1);

{
    "then": {
        "mocks": [ { 
            "name": "some-other-mock", // does not match any mock 
            "scenario": "some-scenario"
        }],
        "times": 3 // optional
    }
}

πŸŽ‰ This issue has been resolved in version 2.3.1 πŸŽ‰

The release is available on:

Your semantic-release bot πŸ“¦πŸš€

πŸŽ‰ This issue has been resolved in version 2.3.2 πŸŽ‰

The release is available on:

Your semantic-release bot πŸ“¦πŸš€