mock-server / mockserver-client-node

MockServer javascript client for browsers, Node.js or any grunt build
http://mock-server.com
Apache License 2.0
72 stars 34 forks source link

ClearById is not a function error #107

Closed isla-nye closed 2 years ago

isla-nye commented 2 years ago

Describe the issue Error when using the new function clearById: TypeError: mockServerClient(...).clearById is not a function

What you are trying to do Clear expectations using the expectation id

MockServer version 5.12.0

It looks like the new function hasn't been exported.

jamesdbloom commented 2 years ago

This is already fixed in 5.13.0

Zaporozhec7 commented 2 years ago

Seems it is not fixed in 5.13.0, as well as in the next versions. There are a few functions not exported, I have opened related issue - https://github.com/mock-server/mockserver-client-node/issues/126