From 74d2e76e0c4e0c6d49d5b5ae7f7b58e0aa89d1d2 Mon Sep 17 00:00:00 2001 From: mefellows Date: Wed, 10 Jul 2024 21:54:05 +1000 Subject: [PATCH] chore: add .nycrc file to ts example This makes the example independent of the root project --- examples/typescript/.nycrc | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 examples/typescript/.nycrc diff --git a/examples/typescript/.nycrc b/examples/typescript/.nycrc new file mode 100644 index 000000000..58782224c --- /dev/null +++ b/examples/typescript/.nycrc @@ -0,0 +1,26 @@ +{ + "include": [ + "src/*.ts", + "src/**/*.ts" + ], + "exclude": [ + "**/*.d.ts", + "**/*.spec.ts" + ], + "extension": [ + ".ts" + ], + "require": [ + "ts-node/register" + ], + "reporter": [ + "text-summary", + "lcovonly" + ], + "sourceMap": true, + "instrument": true, + "lines": 50, + "statements": 50, + "functions": 50, + "branches": 50 +}