├── .editorconfig ├── .github ├── ISSUE_TEMPLATE.md ├── stale.yml └── workflows │ ├── ci.yaml │ └── release-please.yml ├── .gitignore ├── .release-please-manifest.json ├── .taprc ├── .travis.yml ├── CHANGELOG.md ├── LICENSE.txt ├── README.md ├── bin ├── nyc.js └── wrap.js ├── docs ├── instrument.md ├── profiling.md ├── setup-codecov.md └── setup-coveralls.md ├── index.js ├── lib ├── commands │ ├── check-coverage.js │ ├── helpers.js │ ├── instrument.js │ ├── merge.js │ └── report.js ├── config-util.js ├── fs-promises.js ├── hash.js ├── instrumenters │ ├── istanbul.js │ └── noop.js ├── process-args.js ├── register-env.js ├── source-maps.js └── wrap.js ├── npm-run-clean.js ├── nyc.config.js ├── package.json ├── release-please-config.json ├── screen.png ├── screen2.png ├── self-coverage-helper.js ├── tap-snapshots └── test │ ├── config-override.js.test.cjs │ ├── eager.js.test.cjs │ ├── instrument.js.test.cjs │ ├── nyc-integration.js.test.cjs │ └── tsc.js.test.cjs └── test ├── add-all-files.js ├── cache.js ├── config-override.js ├── config.js ├── cwd.js ├── eager.js ├── fixtures ├── all-type-module │ ├── extra.mjs │ ├── index.js │ ├── package.json │ └── script.cjs ├── cache-collision-runner.js ├── cache-collision-target.js ├── cache-collision-worker.js ├── check-instrumented.js ├── child-1.js ├── child-2.js ├── cli │ ├── .instrument-nycrc │ ├── args.js │ ├── by-arg2.js │ ├── classes.js │ ├── conf-override-module.js │ ├── conf-override-root.js │ ├── empty.js │ ├── env.js │ ├── es6.js │ ├── external-instrumenter.js │ ├── fakebin │ │ ├── .gitignore │ │ └── npm-template.js │ ├── gc.js │ ├── half-covered-failing.js │ ├── half-covered.js │ ├── instrument-inplace │ │ ├── file1.js │ │ ├── file2.js │ │ └── package.json │ ├── merge-input │ │ ├── a.json │ │ └── b.json │ ├── no-transform │ │ └── half-covered.xjs │ ├── not-strict.js │ ├── nyc-config-js │ │ ├── ignore.js │ │ ├── index.js │ │ ├── nyc.config.js │ │ ├── nycrc-config.js │ │ └── package.json │ ├── nycrc │ │ ├── .nycrc │ │ ├── .nycrc-config.json │ │ ├── .nycrc.yaml │ │ ├── .nycrc.yml │ │ ├── ignore.js │ │ ├── index.js │ │ └── package.json │ ├── package.json │ ├── run-npm-test-recursive │ │ ├── half-covered.js │ │ └── package.json │ ├── run-npm-test │ │ ├── half-covered.js │ │ └── package.json │ ├── selfspawn-fibonacci.js │ ├── skip-full.js │ ├── subdir │ │ ├── .gitignore │ │ └── input-dir │ │ │ ├── bad.js │ │ │ ├── exclude-me │ │ │ └── index.js │ │ │ ├── include-me │ │ │ ├── exclude-me.js │ │ │ └── include-me.js │ │ │ ├── index.js │ │ │ └── node_modules │ │ │ └── index.js │ └── test.js ├── conf-empty │ └── package.json ├── conf-multiple-extensions │ ├── check-instrumented.es6 │ ├── check-instrumented.foo.bar │ ├── check-instrumented.js │ ├── not-loaded.es6 │ ├── not-loaded.js │ ├── package.json │ └── run.js ├── eager.js ├── exclude-node-modules │ ├── .gitignore │ ├── bin │ │ └── do-nothing.js │ ├── node_modules │ │ └── @istanbuljs │ │ │ ├── fake-module-1 │ │ │ └── index.js │ │ │ └── fake-module-2 │ │ │ └── index.js │ └── package.json ├── hooks │ ├── index.js │ ├── lib │ │ ├── ipsum.js │ │ └── lorem.js │ ├── package.json │ └── run-in-context.js ├── identical-file-runner.js ├── identical-file1.js ├── identical-file2.js ├── not-loaded.js ├── nyc.config.js ├── package.json ├── parser-plugins │ ├── no-plugins.json │ ├── package.json │ └── v8.js ├── recursive-run │ └── package.json ├── sigint.js ├── sigterm.js ├── source-maps │ ├── instrumented │ │ ├── s1.min.js │ │ ├── s1.min.js.map │ │ └── s2.min.js │ ├── original │ │ ├── s1.js │ │ └── s2.js │ └── package.json ├── spawn.js ├── stack-trace.js ├── transpile-hook.js └── tsc │ ├── .npmrc │ ├── mapping.js │ ├── mapping.js.map │ ├── mapping.ts │ ├── package.json │ └── tsconfig.json ├── helpers ├── env-check-config.js ├── index.js ├── parse-argv.js ├── paths.js ├── reset-state.js ├── run-nyc.js ├── source-map-support.js ├── spawn.js ├── temp-dir-setup.js ├── test-failure.js └── test-success.js ├── instrument.js ├── issue-190.js ├── nyc-integration.js ├── parser-plugins.js ├── process-args.js ├── processinfo.js ├── report.js ├── should-instrument.js ├── source-map-support.js ├── temp-dir.js ├── tsc.js └── wrap.js /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/.github/ISSUE_TEMPLATE.md -------------------------------------------------------------------------------- /.github/stale.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/.github/stale.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/.github/workflows/ci.yaml -------------------------------------------------------------------------------- /.github/workflows/release-please.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/.github/workflows/release-please.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/.gitignore -------------------------------------------------------------------------------- /.release-please-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | ".": "17.1.0" 3 | } 4 | -------------------------------------------------------------------------------- /.taprc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/.taprc -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/README.md -------------------------------------------------------------------------------- /bin/nyc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/bin/nyc.js -------------------------------------------------------------------------------- /bin/wrap.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/bin/wrap.js -------------------------------------------------------------------------------- /docs/instrument.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/docs/instrument.md -------------------------------------------------------------------------------- /docs/profiling.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/docs/profiling.md -------------------------------------------------------------------------------- /docs/setup-codecov.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/docs/setup-codecov.md -------------------------------------------------------------------------------- /docs/setup-coveralls.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/docs/setup-coveralls.md -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/index.js -------------------------------------------------------------------------------- /lib/commands/check-coverage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/lib/commands/check-coverage.js -------------------------------------------------------------------------------- /lib/commands/helpers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/lib/commands/helpers.js -------------------------------------------------------------------------------- /lib/commands/instrument.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/lib/commands/instrument.js -------------------------------------------------------------------------------- /lib/commands/merge.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/lib/commands/merge.js -------------------------------------------------------------------------------- /lib/commands/report.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/lib/commands/report.js -------------------------------------------------------------------------------- /lib/config-util.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/lib/config-util.js -------------------------------------------------------------------------------- /lib/fs-promises.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/lib/fs-promises.js -------------------------------------------------------------------------------- /lib/hash.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/lib/hash.js -------------------------------------------------------------------------------- /lib/instrumenters/istanbul.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/lib/instrumenters/istanbul.js -------------------------------------------------------------------------------- /lib/instrumenters/noop.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/lib/instrumenters/noop.js -------------------------------------------------------------------------------- /lib/process-args.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/lib/process-args.js -------------------------------------------------------------------------------- /lib/register-env.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/lib/register-env.js -------------------------------------------------------------------------------- /lib/source-maps.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/lib/source-maps.js -------------------------------------------------------------------------------- /lib/wrap.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/lib/wrap.js -------------------------------------------------------------------------------- /npm-run-clean.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/npm-run-clean.js -------------------------------------------------------------------------------- /nyc.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/nyc.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/package.json -------------------------------------------------------------------------------- /release-please-config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/release-please-config.json -------------------------------------------------------------------------------- /screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/screen.png -------------------------------------------------------------------------------- /screen2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/screen2.png -------------------------------------------------------------------------------- /self-coverage-helper.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/self-coverage-helper.js -------------------------------------------------------------------------------- /tap-snapshots/test/config-override.js.test.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/tap-snapshots/test/config-override.js.test.cjs -------------------------------------------------------------------------------- /tap-snapshots/test/eager.js.test.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/tap-snapshots/test/eager.js.test.cjs -------------------------------------------------------------------------------- /tap-snapshots/test/instrument.js.test.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/tap-snapshots/test/instrument.js.test.cjs -------------------------------------------------------------------------------- /tap-snapshots/test/nyc-integration.js.test.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/tap-snapshots/test/nyc-integration.js.test.cjs -------------------------------------------------------------------------------- /tap-snapshots/test/tsc.js.test.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/tap-snapshots/test/tsc.js.test.cjs -------------------------------------------------------------------------------- /test/add-all-files.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/add-all-files.js -------------------------------------------------------------------------------- /test/cache.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/cache.js -------------------------------------------------------------------------------- /test/config-override.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/config-override.js -------------------------------------------------------------------------------- /test/config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/config.js -------------------------------------------------------------------------------- /test/cwd.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/cwd.js -------------------------------------------------------------------------------- /test/eager.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/eager.js -------------------------------------------------------------------------------- /test/fixtures/all-type-module/extra.mjs: -------------------------------------------------------------------------------- 1 | export default function () { 2 | return 'es module'; 3 | } 4 | -------------------------------------------------------------------------------- /test/fixtures/all-type-module/index.js: -------------------------------------------------------------------------------- 1 | export default function () { 2 | return 'es module'; 3 | } 4 | -------------------------------------------------------------------------------- /test/fixtures/all-type-module/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/all-type-module/package.json -------------------------------------------------------------------------------- /test/fixtures/all-type-module/script.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/all-type-module/script.cjs -------------------------------------------------------------------------------- /test/fixtures/cache-collision-runner.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/cache-collision-runner.js -------------------------------------------------------------------------------- /test/fixtures/cache-collision-target.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/cache-collision-target.js -------------------------------------------------------------------------------- /test/fixtures/cache-collision-worker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/cache-collision-worker.js -------------------------------------------------------------------------------- /test/fixtures/check-instrumented.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/check-instrumented.js -------------------------------------------------------------------------------- /test/fixtures/child-1.js: -------------------------------------------------------------------------------- 1 | // invoked by spawn. 2 | -------------------------------------------------------------------------------- /test/fixtures/child-2.js: -------------------------------------------------------------------------------- 1 | // invoked by spawn. 2 | -------------------------------------------------------------------------------- /test/fixtures/cli/.instrument-nycrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/cli/.instrument-nycrc -------------------------------------------------------------------------------- /test/fixtures/cli/args.js: -------------------------------------------------------------------------------- 1 | console.log(JSON.stringify(process.argv)) 2 | -------------------------------------------------------------------------------- /test/fixtures/cli/by-arg2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/cli/by-arg2.js -------------------------------------------------------------------------------- /test/fixtures/cli/classes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/cli/classes.js -------------------------------------------------------------------------------- /test/fixtures/cli/conf-override-module.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/cli/conf-override-module.js -------------------------------------------------------------------------------- /test/fixtures/cli/conf-override-root.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/cli/conf-override-root.js -------------------------------------------------------------------------------- /test/fixtures/cli/empty.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/cli/env.js: -------------------------------------------------------------------------------- 1 | console.log(JSON.stringify(process.env)) 2 | -------------------------------------------------------------------------------- /test/fixtures/cli/es6.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/cli/es6.js -------------------------------------------------------------------------------- /test/fixtures/cli/external-instrumenter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/cli/external-instrumenter.js -------------------------------------------------------------------------------- /test/fixtures/cli/fakebin/.gitignore: -------------------------------------------------------------------------------- 1 | node 2 | npm 3 | -------------------------------------------------------------------------------- /test/fixtures/cli/fakebin/npm-template.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/cli/fakebin/npm-template.js -------------------------------------------------------------------------------- /test/fixtures/cli/gc.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | gc(); 3 | console.log('I’m still running'); 4 | -------------------------------------------------------------------------------- /test/fixtures/cli/half-covered-failing.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/cli/half-covered-failing.js -------------------------------------------------------------------------------- /test/fixtures/cli/half-covered.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/cli/half-covered.js -------------------------------------------------------------------------------- /test/fixtures/cli/instrument-inplace/file1.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/cli/instrument-inplace/file1.js -------------------------------------------------------------------------------- /test/fixtures/cli/instrument-inplace/file2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/cli/instrument-inplace/file2.js -------------------------------------------------------------------------------- /test/fixtures/cli/instrument-inplace/package.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /test/fixtures/cli/merge-input/a.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/cli/merge-input/a.json -------------------------------------------------------------------------------- /test/fixtures/cli/merge-input/b.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/cli/merge-input/b.json -------------------------------------------------------------------------------- /test/fixtures/cli/no-transform/half-covered.xjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/cli/no-transform/half-covered.xjs -------------------------------------------------------------------------------- /test/fixtures/cli/not-strict.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/cli/not-strict.js -------------------------------------------------------------------------------- /test/fixtures/cli/nyc-config-js/ignore.js: -------------------------------------------------------------------------------- 1 | var i = 2 2 | -------------------------------------------------------------------------------- /test/fixtures/cli/nyc-config-js/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/cli/nyc-config-js/index.js -------------------------------------------------------------------------------- /test/fixtures/cli/nyc-config-js/nyc.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/cli/nyc-config-js/nyc.config.js -------------------------------------------------------------------------------- /test/fixtures/cli/nyc-config-js/nycrc-config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/cli/nyc-config-js/nycrc-config.js -------------------------------------------------------------------------------- /test/fixtures/cli/nyc-config-js/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/cli/nyc-config-js/package.json -------------------------------------------------------------------------------- /test/fixtures/cli/nycrc/.nycrc: -------------------------------------------------------------------------------- 1 | { 2 | "exclude": ["ignore.js"] 3 | } 4 | -------------------------------------------------------------------------------- /test/fixtures/cli/nycrc/.nycrc-config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/cli/nycrc/.nycrc-config.json -------------------------------------------------------------------------------- /test/fixtures/cli/nycrc/.nycrc.yaml: -------------------------------------------------------------------------------- 1 | exclude: 2 | - ignore.js 3 | -------------------------------------------------------------------------------- /test/fixtures/cli/nycrc/.nycrc.yml: -------------------------------------------------------------------------------- 1 | exclude: 2 | - ignore.js 3 | -------------------------------------------------------------------------------- /test/fixtures/cli/nycrc/ignore.js: -------------------------------------------------------------------------------- 1 | var i = 2 2 | -------------------------------------------------------------------------------- /test/fixtures/cli/nycrc/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/cli/nycrc/index.js -------------------------------------------------------------------------------- /test/fixtures/cli/nycrc/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/cli/nycrc/package.json -------------------------------------------------------------------------------- /test/fixtures/cli/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/cli/package.json -------------------------------------------------------------------------------- /test/fixtures/cli/run-npm-test-recursive/half-covered.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/cli/run-npm-test-recursive/half-covered.js -------------------------------------------------------------------------------- /test/fixtures/cli/run-npm-test-recursive/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/cli/run-npm-test-recursive/package.json -------------------------------------------------------------------------------- /test/fixtures/cli/run-npm-test/half-covered.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/cli/run-npm-test/half-covered.js -------------------------------------------------------------------------------- /test/fixtures/cli/run-npm-test/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/cli/run-npm-test/package.json -------------------------------------------------------------------------------- /test/fixtures/cli/selfspawn-fibonacci.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/cli/selfspawn-fibonacci.js -------------------------------------------------------------------------------- /test/fixtures/cli/skip-full.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/cli/skip-full.js -------------------------------------------------------------------------------- /test/fixtures/cli/subdir/.gitignore: -------------------------------------------------------------------------------- 1 | output-dir 2 | !node_modules 3 | -------------------------------------------------------------------------------- /test/fixtures/cli/subdir/input-dir/bad.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/cli/subdir/input-dir/bad.js -------------------------------------------------------------------------------- /test/fixtures/cli/subdir/input-dir/exclude-me/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | console.log('Hello, World!') 3 | -------------------------------------------------------------------------------- /test/fixtures/cli/subdir/input-dir/include-me/exclude-me.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | console.log('Hello, World!') 3 | -------------------------------------------------------------------------------- /test/fixtures/cli/subdir/input-dir/include-me/include-me.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | console.log('Hello, World!') 3 | -------------------------------------------------------------------------------- /test/fixtures/cli/subdir/input-dir/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | console.log('Hello, World!') 3 | -------------------------------------------------------------------------------- /test/fixtures/cli/subdir/input-dir/node_modules/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | console.log('Hello, World!') 3 | -------------------------------------------------------------------------------- /test/fixtures/cli/test.js: -------------------------------------------------------------------------------- 1 | // should be excluded by default. 2 | -------------------------------------------------------------------------------- /test/fixtures/conf-empty/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/conf-empty/package.json -------------------------------------------------------------------------------- /test/fixtures/conf-multiple-extensions/check-instrumented.es6: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/conf-multiple-extensions/check-instrumented.es6 -------------------------------------------------------------------------------- /test/fixtures/conf-multiple-extensions/check-instrumented.foo.bar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/conf-multiple-extensions/check-instrumented.foo.bar -------------------------------------------------------------------------------- /test/fixtures/conf-multiple-extensions/check-instrumented.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/conf-multiple-extensions/check-instrumented.js -------------------------------------------------------------------------------- /test/fixtures/conf-multiple-extensions/not-loaded.es6: -------------------------------------------------------------------------------- 1 | var i = 3 + 5 2 | i++ 3 | -------------------------------------------------------------------------------- /test/fixtures/conf-multiple-extensions/not-loaded.js: -------------------------------------------------------------------------------- 1 | var i = 3 + 5 2 | i++ 3 | -------------------------------------------------------------------------------- /test/fixtures/conf-multiple-extensions/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/conf-multiple-extensions/package.json -------------------------------------------------------------------------------- /test/fixtures/conf-multiple-extensions/run.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 'use strict'; 3 | 4 | console.log('run'); 5 | -------------------------------------------------------------------------------- /test/fixtures/eager.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/eager.js -------------------------------------------------------------------------------- /test/fixtures/exclude-node-modules/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/exclude-node-modules/.gitignore -------------------------------------------------------------------------------- /test/fixtures/exclude-node-modules/bin/do-nothing.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/exclude-node-modules/node_modules/@istanbuljs/fake-module-1/index.js: -------------------------------------------------------------------------------- 1 | console.log('hello world'); 2 | -------------------------------------------------------------------------------- /test/fixtures/exclude-node-modules/node_modules/@istanbuljs/fake-module-2/index.js: -------------------------------------------------------------------------------- 1 | console.log('hello world'); 2 | -------------------------------------------------------------------------------- /test/fixtures/exclude-node-modules/package.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /test/fixtures/hooks/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/hooks/index.js -------------------------------------------------------------------------------- /test/fixtures/hooks/lib/ipsum.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/hooks/lib/ipsum.js -------------------------------------------------------------------------------- /test/fixtures/hooks/lib/lorem.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/hooks/lib/lorem.js -------------------------------------------------------------------------------- /test/fixtures/hooks/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/hooks/package.json -------------------------------------------------------------------------------- /test/fixtures/hooks/run-in-context.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/hooks/run-in-context.js -------------------------------------------------------------------------------- /test/fixtures/identical-file-runner.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/identical-file-runner.js -------------------------------------------------------------------------------- /test/fixtures/identical-file1.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/identical-file1.js -------------------------------------------------------------------------------- /test/fixtures/identical-file2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/identical-file2.js -------------------------------------------------------------------------------- /test/fixtures/not-loaded.js: -------------------------------------------------------------------------------- 1 | var i = 3 + 5 2 | i++ 3 | -------------------------------------------------------------------------------- /test/fixtures/nyc.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/nyc.config.js -------------------------------------------------------------------------------- /test/fixtures/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/package.json -------------------------------------------------------------------------------- /test/fixtures/parser-plugins/no-plugins.json: -------------------------------------------------------------------------------- 1 | { 2 | "parser-plugins": [] 3 | } 4 | -------------------------------------------------------------------------------- /test/fixtures/parser-plugins/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/parser-plugins/package.json -------------------------------------------------------------------------------- /test/fixtures/parser-plugins/v8.js: -------------------------------------------------------------------------------- 1 | function fn() {} 2 | %GetOptimizationStatus(fn) 3 | -------------------------------------------------------------------------------- /test/fixtures/recursive-run/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "nyc": { 3 | "reporter": [] 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /test/fixtures/sigint.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/sigint.js -------------------------------------------------------------------------------- /test/fixtures/sigterm.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/sigterm.js -------------------------------------------------------------------------------- /test/fixtures/source-maps/instrumented/s1.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/source-maps/instrumented/s1.min.js -------------------------------------------------------------------------------- /test/fixtures/source-maps/instrumented/s1.min.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/source-maps/instrumented/s1.min.js.map -------------------------------------------------------------------------------- /test/fixtures/source-maps/instrumented/s2.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/source-maps/instrumented/s2.min.js -------------------------------------------------------------------------------- /test/fixtures/source-maps/original/s1.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/source-maps/original/s1.js -------------------------------------------------------------------------------- /test/fixtures/source-maps/original/s2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/source-maps/original/s2.js -------------------------------------------------------------------------------- /test/fixtures/source-maps/package.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /test/fixtures/spawn.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/spawn.js -------------------------------------------------------------------------------- /test/fixtures/stack-trace.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/stack-trace.js -------------------------------------------------------------------------------- /test/fixtures/transpile-hook.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/transpile-hook.js -------------------------------------------------------------------------------- /test/fixtures/tsc/.npmrc: -------------------------------------------------------------------------------- 1 | package-lock=false 2 | -------------------------------------------------------------------------------- /test/fixtures/tsc/mapping.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/tsc/mapping.js -------------------------------------------------------------------------------- /test/fixtures/tsc/mapping.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/tsc/mapping.js.map -------------------------------------------------------------------------------- /test/fixtures/tsc/mapping.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/tsc/mapping.ts -------------------------------------------------------------------------------- /test/fixtures/tsc/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/tsc/package.json -------------------------------------------------------------------------------- /test/fixtures/tsc/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/fixtures/tsc/tsconfig.json -------------------------------------------------------------------------------- /test/helpers/env-check-config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/helpers/env-check-config.js -------------------------------------------------------------------------------- /test/helpers/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/helpers/index.js -------------------------------------------------------------------------------- /test/helpers/parse-argv.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/helpers/parse-argv.js -------------------------------------------------------------------------------- /test/helpers/paths.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/helpers/paths.js -------------------------------------------------------------------------------- /test/helpers/reset-state.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/helpers/reset-state.js -------------------------------------------------------------------------------- /test/helpers/run-nyc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/helpers/run-nyc.js -------------------------------------------------------------------------------- /test/helpers/source-map-support.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/helpers/source-map-support.js -------------------------------------------------------------------------------- /test/helpers/spawn.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/helpers/spawn.js -------------------------------------------------------------------------------- /test/helpers/temp-dir-setup.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/helpers/temp-dir-setup.js -------------------------------------------------------------------------------- /test/helpers/test-failure.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/helpers/test-failure.js -------------------------------------------------------------------------------- /test/helpers/test-success.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/helpers/test-success.js -------------------------------------------------------------------------------- /test/instrument.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/instrument.js -------------------------------------------------------------------------------- /test/issue-190.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/issue-190.js -------------------------------------------------------------------------------- /test/nyc-integration.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/nyc-integration.js -------------------------------------------------------------------------------- /test/parser-plugins.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/parser-plugins.js -------------------------------------------------------------------------------- /test/process-args.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/process-args.js -------------------------------------------------------------------------------- /test/processinfo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/processinfo.js -------------------------------------------------------------------------------- /test/report.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/report.js -------------------------------------------------------------------------------- /test/should-instrument.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/should-instrument.js -------------------------------------------------------------------------------- /test/source-map-support.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/source-map-support.js -------------------------------------------------------------------------------- /test/temp-dir.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/temp-dir.js -------------------------------------------------------------------------------- /test/tsc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/tsc.js -------------------------------------------------------------------------------- /test/wrap.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/istanbuljs/nyc/HEAD/test/wrap.js --------------------------------------------------------------------------------