From 947bc088d25143a38ab805a6efd86dd4cf25771b Mon Sep 17 00:00:00 2001 From: Guilherme <9uilhermealencar@gmail.com> Date: Thu, 21 Oct 2021 21:47:49 +0100 Subject: [PATCH 1/2] Showing how to import mock method --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index a10f974..e1cea3a 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,10 @@ Mocking library for TypeScript inspired by http://mockito.org/ ## Usage +### Importing + +`import { mock } from "ts-mockito/lib/ts-mockito";` + ### Basics ``` typescript // Creating mock From 06c15d81bd50f2e87bc43dc9824e1067140cc8f9 Mon Sep 17 00:00:00 2001 From: Guilherme <9uilhermealencar@gmail.com> Date: Thu, 21 Oct 2021 22:43:22 +0100 Subject: [PATCH 2/2] Simplyfing import --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e1cea3a..9d18272 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ Mocking library for TypeScript inspired by http://mockito.org/ ### Importing -`import { mock } from "ts-mockito/lib/ts-mockito";` +`import { mock } from "ts-mockito";` ### Basics ``` typescript