From af7d94d715ab98d67e6b5bff5dfba19430681c9c Mon Sep 17 00:00:00 2001 From: "Benjamin E. Coe" Date: Sun, 22 Dec 2019 00:48:10 -0500 Subject: [PATCH] feat!: new test-exclude with modified exclude rules (#179) --- lib/parse-args.js | 4 +- lib/report.js | 2 +- package-lock.json | 173 ++++++++++++++------------------------- package.json | 13 +-- test/integration.js.snap | 38 ++++----- 5 files changed, 89 insertions(+), 141 deletions(-) diff --git a/lib/parse-args.js b/lib/parse-args.js index ee57b6c0..5fb599e7 100644 --- a/lib/parse-args.js +++ b/lib/parse-args.js @@ -1,4 +1,4 @@ -const Exclude = require('test-exclude') +const defaultExclude = require('@istanbuljs/schema/default-exclude') const findUp = require('find-up') const { readFileSync } = require('fs') const Yargs = require('yargs/yargs') @@ -23,7 +23,7 @@ function buildYargs (withCommands = false) { }) .option('exclude', { alias: 'x', - default: Exclude.defaultExclude, + default: defaultExclude, describe: 'a list of specific files and directories that should be excluded from coverage (glob patterns are supported)' }) .option('include', { diff --git a/lib/report.js b/lib/report.js index b4812636..50ba9528 100644 --- a/lib/report.js +++ b/lib/report.js @@ -28,7 +28,7 @@ class Report { this.tempDirectory = tempDirectory this.watermarks = watermarks this.resolve = resolvePaths - this.exclude = Exclude({ + this.exclude = new Exclude({ exclude: exclude, include: include }) diff --git a/package-lock.json b/package-lock.json index 97bd950f..3039fce3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -29,6 +29,11 @@ "resolved": "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz", "integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==" }, + "@istanbuljs/schema": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.2.tgz", + "integrity": "sha512-tsAQNx32a8CoFhjhijUIhI4kccIAgmGhy8LZMZgGfmXcpMbPRUqn5LWmgRttILi6yeGmBJd2xsPkFMs0PzgPCw==" + }, "@types/color-name": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/@types/color-name/-/color-name-1.1.1.tgz", @@ -522,6 +527,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", + "dev": true, "requires": { "is-arrayish": "^0.2.1" } @@ -1279,7 +1285,8 @@ "graceful-fs": { "version": "4.2.3", "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.3.tgz", - "integrity": "sha512-a30VEBm4PEdx1dRB7MFK7BejejvCvBronbLjht+sHuGYj8PHs7M/5Z+rt5lw551vZ7yfTCj4Vuyy3mSJytDWRQ==" + "integrity": "sha512-a30VEBm4PEdx1dRB7MFK7BejejvCvBronbLjht+sHuGYj8PHs7M/5Z+rt5lw551vZ7yfTCj4Vuyy3mSJytDWRQ==", + "dev": true }, "growl": { "version": "1.10.5", @@ -1332,7 +1339,8 @@ "hosted-git-info": { "version": "2.8.5", "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.5.tgz", - "integrity": "sha512-kssjab8CvdXfcXMXVcvsXum4Hwdq9XGtRD3TteMEvEbq0LXyiNQr6AprqKqfeaDXze7SxWvRxdpwE6ku7ikLkg==" + "integrity": "sha512-kssjab8CvdXfcXMXVcvsXum4Hwdq9XGtRD3TteMEvEbq0LXyiNQr6AprqKqfeaDXze7SxWvRxdpwE6ku7ikLkg==", + "dev": true }, "html-escaper": { "version": "2.0.0", @@ -1471,7 +1479,8 @@ "is-arrayish": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", - "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=" + "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=", + "dev": true }, "is-buffer": { "version": "2.0.4", @@ -1564,27 +1573,27 @@ "dev": true }, "istanbul-lib-coverage": { - "version": "3.0.0-alpha.1", - "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.0.0-alpha.1.tgz", - "integrity": "sha512-6E/XA1/lI0NG7PuIkD3FdBuUDpTKZijp2SiQ0d08dHx6Rp4ba2Ph4LPE0Og6HE2IuqiXxy12sePpQJh9pWS53g==" + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.0.0.tgz", + "integrity": "sha512-UiUIqxMgRDET6eR+o5HbfRYP1l0hqkWOs7vNxC/mggutCMUIhWMm8gAHb8tHlyfD3/l6rlgNA5cKdDzEAf6hEg==" }, "istanbul-lib-report": { - "version": "3.0.0-alpha.1", - "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.0-alpha.1.tgz", - "integrity": "sha512-EeRtb2Frb5Ttt+TNvmIJ5oXHr6rogCpmKbNJskORRqjv6/ajCzm9ZO7tVegwZQNNyKAWi7JocxOF8IoTa3OZhw==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz", + "integrity": "sha512-wcdi+uAKzfiGT2abPpKZ0hSU1rGQjUQnLvtY5MpQ7QCTahD3VODhcu4wcfY1YtkGaDD5yuydOLINXsfbus9ROw==", "requires": { - "istanbul-lib-coverage": "^3.0.0-alpha.1", + "istanbul-lib-coverage": "^3.0.0", "make-dir": "^3.0.0", "supports-color": "^7.1.0" } }, "istanbul-reports": { - "version": "3.0.0-alpha.5", - "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.0.0-alpha.5.tgz", - "integrity": "sha512-m70NY8mnytN+e3C/UN8xVZ3OXcWBT+yVtupNdYy7X/nCiSHV7O4ImojikbQ+EgqvKO6JaG+Qowk9lBq9j2pjbA==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.0.0.tgz", + "integrity": "sha512-2osTcC8zcOSUkImzN2EWQta3Vdi4WjjKw99P2yWx5mLnigAM0Rd5uYFn1cf2i/Ois45GkNjaoTqc5CxgMSX80A==", "requires": { "html-escaper": "^2.0.0", - "istanbul-lib-report": "^3.0.0-alpha.1" + "istanbul-lib-report": "^3.0.0" } }, "jest-diff": { @@ -1655,7 +1664,8 @@ "json-parse-better-errors": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", - "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==" + "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==", + "dev": true }, "json-schema": { "version": "0.2.3", @@ -1719,17 +1729,6 @@ "type-check": "~0.3.2" } }, - "load-json-file": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-4.0.0.tgz", - "integrity": "sha1-L19Fq5HjMhYjT9U62rZo607AmTs=", - "requires": { - "graceful-fs": "^4.1.2", - "parse-json": "^4.0.0", - "pify": "^3.0.0", - "strip-bom": "^3.0.0" - } - }, "locate-path": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", @@ -2095,6 +2094,7 @@ "version": "2.5.0", "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", + "dev": true, "requires": { "hosted-git-info": "^2.1.4", "resolve": "^1.10.0", @@ -2105,7 +2105,8 @@ "semver": { "version": "5.7.1", "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true } } }, @@ -2262,6 +2263,7 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=", + "dev": true, "requires": { "error-ex": "^1.3.1", "json-parse-better-errors": "^1.0.1" @@ -2285,15 +2287,8 @@ "path-parse": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz", - "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==" - }, - "path-type": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz", - "integrity": "sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==", - "requires": { - "pify": "^3.0.0" - } + "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==", + "dev": true }, "pathval": { "version": "1.1.0", @@ -2307,11 +2302,6 @@ "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=", "dev": true }, - "pify": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", - "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=" - }, "pkg-conf": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/pkg-conf/-/pkg-conf-3.1.0.tgz", @@ -2537,57 +2527,6 @@ "integrity": "sha512-rPCkf/mWBtKc97aLL9/txD8DZdemK0vkA3JMLShjlJB3Pj3s+lpf1KaBzMfQrAmhMQB0n1cU/SUGgKKBCe837Q==", "dev": true }, - "read-pkg": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz", - "integrity": "sha1-nLxoaXj+5l0WwA4rGcI3/Pbjg4k=", - "requires": { - "load-json-file": "^4.0.0", - "normalize-package-data": "^2.3.2", - "path-type": "^3.0.0" - } - }, - "read-pkg-up": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-4.0.0.tgz", - "integrity": "sha512-6etQSH7nJGsK0RbG/2TeDzZFa8shjQ1um+SwQQ5cwKy0dhSXdOncEhb1CPpvQG4h7FyOV6EB6YlV0yJvZQNAkA==", - "requires": { - "find-up": "^3.0.0", - "read-pkg": "^3.0.0" - }, - "dependencies": { - "find-up": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", - "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", - "requires": { - "locate-path": "^3.0.0" - } - }, - "locate-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", - "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", - "requires": { - "p-locate": "^3.0.0", - "path-exists": "^3.0.0" - } - }, - "p-locate": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", - "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", - "requires": { - "p-limit": "^2.0.0" - } - }, - "path-exists": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", - "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=" - } - } - }, "regexpp": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-2.0.1.tgz", @@ -2636,6 +2575,7 @@ "version": "1.13.1", "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.13.1.tgz", "integrity": "sha512-CxqObCX8K8YtAhOBRg+lrcdn+LK+WYOS8tSjqSFbjtrI5PnS63QPhZl4+yKfrU9tdsbMu9Anr/amegT87M9Z6w==", + "dev": true, "requires": { "path-parse": "^1.0.6" } @@ -2770,11 +2710,6 @@ } } }, - "source-map": { - "version": "0.7.3", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz", - "integrity": "sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==" - }, "source-map-support": { "version": "0.5.16", "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.16.tgz", @@ -2797,6 +2732,7 @@ "version": "3.1.0", "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.0.tgz", "integrity": "sha512-lr2EZCctC2BNR7j7WzJ2FpDznxky1sjfxvvYEyzxNyb6lZXHODmEoJeFu4JupYlkfha1KZpJyoqiJ7pgA1qq8Q==", + "dev": true, "requires": { "spdx-expression-parse": "^3.0.0", "spdx-license-ids": "^3.0.0" @@ -2805,12 +2741,14 @@ "spdx-exceptions": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.2.0.tgz", - "integrity": "sha512-2XQACfElKi9SlVb1CYadKDXvoajPgBVPn/gOQLrTvHdElaVhr7ZEbqJaRnJLVNeaI4cMEAgVCeBMKF6MWRDCRA==" + "integrity": "sha512-2XQACfElKi9SlVb1CYadKDXvoajPgBVPn/gOQLrTvHdElaVhr7ZEbqJaRnJLVNeaI4cMEAgVCeBMKF6MWRDCRA==", + "dev": true }, "spdx-expression-parse": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.0.tgz", "integrity": "sha512-Yg6D3XpRD4kkOmTpdgbUiEJFKghJH03fiC1OPll5h/0sO6neh2jqRDVHOQ4o/LMea0tgCkbMgea5ip/e+MkWyg==", + "dev": true, "requires": { "spdx-exceptions": "^2.1.0", "spdx-license-ids": "^3.0.0" @@ -2819,7 +2757,8 @@ "spdx-license-ids": { "version": "3.0.5", "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.5.tgz", - "integrity": "sha512-J+FWzZoynJEXGphVIS+XEh3kFSjZX/1i9gFBaWQcB+/tmpe2qUsSBABpcxqxnAxFdiUFEgAX1bjYGQvIZmoz9Q==" + "integrity": "sha512-J+FWzZoynJEXGphVIS+XEh3kFSjZX/1i9gFBaWQcB+/tmpe2qUsSBABpcxqxnAxFdiUFEgAX1bjYGQvIZmoz9Q==", + "dev": true }, "sprintf-js": { "version": "1.0.3", @@ -2922,7 +2861,8 @@ "strip-bom": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", - "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=" + "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=", + "dev": true }, "strip-json-comments": { "version": "2.0.1", @@ -2991,14 +2931,13 @@ } }, "test-exclude": { - "version": "5.2.3", - "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-5.2.3.tgz", - "integrity": "sha512-M+oxtseCFO3EDtAaGH7iiej3CBkzXqFMbzqYAACdzKui4eZA+pq3tZEwChvOdNfa7xxy8BfbmgJSIr43cC/+2g==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz", + "integrity": "sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==", "requires": { - "glob": "^7.1.3", - "minimatch": "^3.0.4", - "read-pkg-up": "^4.0.0", - "require-main-filename": "^2.0.0" + "@istanbuljs/schema": "^0.1.2", + "glob": "^7.1.4", + "minimatch": "^3.0.4" } }, "text-table": { @@ -3104,9 +3043,9 @@ "dev": true }, "typescript": { - "version": "3.7.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.7.2.tgz", - "integrity": "sha512-ml7V7JfiN2Xwvcer+XAf2csGO1bPBdRbFCkYBczNZggrBZ9c7G3riSUeJmqEU5uOtXNPMhE3n+R4FA/3YOAWOQ==", + "version": "3.7.4", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.7.4.tgz", + "integrity": "sha512-A25xv5XCtarLwXpcDNZzCGvW2D1S3/bACratYBx2sax8PefsFhlYmkQicKHvpYflFS8if4zne5zT5kpJ7pzuvw==", "dev": true }, "uniq": { @@ -3137,19 +3076,27 @@ "dev": true }, "v8-to-istanbul": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-4.0.0.tgz", - "integrity": "sha512-UqOveasq5AAXnhBo7Wg+PQUkNvCEOoocECuR6DA9CxfHEcCz24vnjH0lgeFGLVpGk12XEy8xup/MFBjxT6POrQ==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-4.0.1.tgz", + "integrity": "sha512-x0yZvZAkjJwdD3fPiJzYP37aod0ati4LlmD2RmpKjqewjKAov/u/ytZ8ViIZb07cN4cePKzl9ijiUi7C1LQ8hQ==", "requires": { "@types/istanbul-lib-coverage": "^2.0.1", "convert-source-map": "^1.6.0", "source-map": "^0.7.3" + }, + "dependencies": { + "source-map": { + "version": "0.7.3", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz", + "integrity": "sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==" + } } }, "validate-npm-package-license": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", + "dev": true, "requires": { "spdx-correct": "^3.0.0", "spdx-expression-parse": "^3.0.0" diff --git a/package.json b/package.json index 517f46e3..54121a0e 100644 --- a/package.json +++ b/package.json @@ -32,15 +32,16 @@ "license": "ISC", "dependencies": { "@bcoe/v8-coverage": "^0.2.3", + "@istanbuljs/schema": "^0.1.2", "find-up": "^4.0.0", "foreground-child": "^2.0.0", "furi": "^1.3.0", - "istanbul-lib-coverage": "^3.0.0-alpha.1", - "istanbul-lib-report": "^3.0.0-alpha.1", - "istanbul-reports": "^3.0.0-alpha.5", + "istanbul-lib-coverage": "^3.0.0", + "istanbul-lib-report": "^3.0.0", + "istanbul-reports": "^3.0.0", "rimraf": "^3.0.0", - "test-exclude": "^5.2.3", - "v8-to-istanbul": "^4.0.0", + "test-exclude": "^6.0.0", + "v8-to-istanbul": "^4.0.1", "yargs": "^15.0.0", "yargs-parser": "^16.0.0" }, @@ -51,7 +52,7 @@ "mocha": "^6.2.0", "standard": "^14.1.0", "ts-node": "^8.4.1", - "typescript": "^3.6.4" + "typescript": "^3.7.4" }, "engines": { "node": ">=10.12.0" diff --git a/test/integration.js.snap b/test/integration.js.snap index c9f6341a..4d8265e0 100644 --- a/test/integration.js.snap +++ b/test/integration.js.snap @@ -9,7 +9,7 @@ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s All files | 86.21 | 91.67 | 66.67 | 86.21 | async.js | 100 | 100 | 100 | 100 | c8-ignore-next.js | 90.91 | 100 | 100 | 90.91 | 21,22 - normal.js | 75 | 66.67 | 33.33 | 75 | 14,15,16,18,19,20 + normal.js | 75 | 66.67 | 33.33 | 75 | 14-16,18-20 -------------------|---------|----------|---------|---------|------------------- ," `; @@ -23,10 +23,10 @@ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s --------------|---------|----------|---------|---------|------------------- All files | 64.29 | 66.67 | 50 | 64.29 | vanilla | 78.26 | 75 | 100 | 78.26 | - loaded.js | 73.68 | 71.43 | 100 | 73.68 | 4,5,16,17,18 + loaded.js | 73.68 | 71.43 | 100 | 73.68 | 4,5,16-18 main.js | 100 | 100 | 100 | 100 | vanilla/dir | 0 | 0 | 0 | 0 | - unloaded.js | 0 | 0 | 0 | 0 | 1,2,3,4,5 + unloaded.js | 0 | 0 | 0 | 0 | 1-5 --------------|---------|----------|---------|---------|------------------- ," `; @@ -40,10 +40,10 @@ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s -----------------|---------|----------|---------|---------|------------------- All files | 64.29 | 66.67 | 50 | 64.29 | ts-compiled | 78.26 | 75 | 100 | 78.26 | - loaded.ts | 73.68 | 71.43 | 100 | 73.68 | 4,5,16,17,18 + loaded.ts | 73.68 | 71.43 | 100 | 73.68 | 4,5,16-18 main.ts | 100 | 100 | 100 | 100 | ts-compiled/dir | 0 | 0 | 0 | 0 | - unloaded.ts | 0 | 0 | 0 | 0 | 1,2,3,4,5 + unloaded.ts | 0 | 0 | 0 | 0 | 1-5 -----------------|---------|----------|---------|---------|------------------- ," `; @@ -57,10 +57,10 @@ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s --------------|---------|----------|---------|---------|------------------- All files | 64.29 | 66.67 | 50 | 64.29 | ts-only | 78.26 | 75 | 100 | 78.26 | - loaded.ts | 73.68 | 71.43 | 100 | 73.68 | 4,5,16,17,18 + loaded.ts | 73.68 | 71.43 | 100 | 73.68 | 4,5,16-18 main.ts | 100 | 100 | 100 | 100 | ts-only/dir | 0 | 0 | 0 | 0 | - unloaded.ts | 0 | 0 | 0 | 0 | 1,2,3,4,5 + unloaded.ts | 0 | 0 | 0 | 0 | 1-5 --------------|---------|----------|---------|---------|------------------- ," `; @@ -92,7 +92,7 @@ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s -----------|---------|----------|---------|---------|------------------- All files | 83.33 | 85.71 | 60 | 83.33 | async.js | 100 | 100 | 100 | 100 | - normal.js | 75 | 66.67 | 33.33 | 75 | 14,15,16,18,19,20 + normal.js | 75 | 66.67 | 33.33 | 75 | 14-16,18-20 -----------|---------|----------|---------|---------|------------------- ,ERROR: Coverage for lines (83.33%) does not meet global threshold (101%) " @@ -132,7 +132,7 @@ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s -----------|---------|----------|---------|---------|------------------- All files | 83.33 | 85.71 | 60 | 83.33 | async.js | 100 | 100 | 100 | 100 | - normal.js | 75 | 66.67 | 33.33 | 75 | 14,15,16,18,19,20 + normal.js | 75 | 66.67 | 33.33 | 75 | 14-16,18-20 -----------|---------|----------|---------|---------|------------------- ," `; @@ -143,7 +143,7 @@ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s -----------|---------|----------|---------|---------|------------------- All files | 83.33 | 85.71 | 60 | 83.33 | async.js | 100 | 100 | 100 | 100 | - normal.js | 75 | 66.67 | 33.33 | 75 | 14,15,16,18,19,20 + normal.js | 75 | 66.67 | 33.33 | 75 | 14-16,18-20 -----------|---------|----------|---------|---------|------------------- ,ERROR: Coverage for lines (83.33%) does not meet global threshold (101%) " @@ -163,7 +163,7 @@ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s -----------|---------|----------|---------|---------|------------------- All files | 83.33 | 85.71 | 60 | 83.33 | async.js | 100 | 100 | 100 | 100 | - normal.js | 75 | 66.67 | 33.33 | 75 | 14,15,16,18,19,20 + normal.js | 75 | 66.67 | 33.33 | 75 | 14-16,18-20 -----------|---------|----------|---------|---------|------------------- ," `; @@ -232,7 +232,7 @@ a = false File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s -------------|---------|----------|---------|---------|------------------- All files | 70 | 44.44 | 100 | 70 | - branches.js | 70 | 44.44 | 100 | 70 | 2,4,5,6,7,13 + branches.js | 70 | 44.44 | 100 | 70 | 2,4-7,13 -------------|---------|----------|---------|---------|------------------- ," `; @@ -243,12 +243,12 @@ covered covered covered covered -------------|---------|----------|---------|---------|--------------------- -File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s -------------|---------|----------|---------|---------|--------------------- -All files | 70.37 | 66.67 | 60 | 70.37 | - classes.js | 70.37 | 66.67 | 60 | 70.37 | 5,6,7,8,15,16,21,22 -------------|---------|----------|---------|---------|--------------------- +------------|---------|----------|---------|---------|------------------- +File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s +------------|---------|----------|---------|---------|------------------- +All files | 70.37 | 66.67 | 60 | 70.37 | + classes.js | 70.37 | 66.67 | 60 | 70.37 | 5-8,15,16,21,22 +------------|---------|----------|---------|---------|------------------- ," `; @@ -266,7 +266,7 @@ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s -----------|---------|----------|---------|---------|------------------- All files | 83.33 | 85.71 | 60 | 83.33 | async.js | 100 | 100 | 100 | 100 | - normal.js | 75 | 66.67 | 33.33 | 75 | 14,15,16,18,19,20 + normal.js | 75 | 66.67 | 33.33 | 75 | 14-16,18-20 -----------|---------|----------|---------|---------|------------------- ," `;