From 6a7426ac88051d3ffb1a4390758addf0322c31c2 Mon Sep 17 00:00:00 2001 From: Allen Zhang Date: Wed, 28 Feb 2024 17:41:30 +0800 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 190783d..850771c 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ The file include/exclude logic used by [nyc] and [babel-plugin-istanbul]. ```js const TestExclude = require('test-exclude'); const exclude = new TestExclude(); -if (exclude().shouldInstrument('./foo.js')) { +if (exclude.shouldInstrument('./foo.js')) { // let's instrument this file for test coverage! } ```