diff --git a/README.md b/README.md index 7584356..e2aeb88 100644 --- a/README.md +++ b/README.md @@ -364,6 +364,11 @@ foo.bar(); console.log(capture(spiedFoo.bar).last()); // [42] ``` +## Limitations + +You can not mock standalone functions (example `start()`) using ts-mockito. It only supports the mocking of functions that are associated with a class (example `Car.start()`). + + ### Thanks