From ea6b2954578d50d0105f13e0643cbbc15b4712a4 Mon Sep 17 00:00:00 2001 From: chris Date: Mon, 5 Sep 2022 15:51:28 -0700 Subject: [PATCH] update README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 18f0c711..7a1834b9 100644 --- a/README.md +++ b/README.md @@ -95,7 +95,7 @@ test('should support "strict" mocking, at esmock.strict', async () => { path: { dirname: () => '/path/to/file' } }) - // an error, because the path mock did not define path.basename + // error, because the "path" mock above does not define path.basename await assert.rejects(async () => pathWrapper.basename('/dog.png'), { name: 'TypeError', message: 'path.basename is not a function'