diff --git a/CHANGELOG.md b/CHANGELOG.md index 2bd449275..a7a17da10 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -497,7 +497,7 @@ files. ### Bug Fixes -* introduced a bug that resulted in source-maps not being loaded approriately on second test run ([#566](https://github.com/istanbuljs/nyc/issues/566)) ([1bf74fd](https://github.com/istanbuljs/nyc/commit/1bf74fd)) +* introduced a bug that resulted in source-maps not being loaded appropriately on second test run ([#566](https://github.com/istanbuljs/nyc/issues/566)) ([1bf74fd](https://github.com/istanbuljs/nyc/commit/1bf74fd)) @@ -726,7 +726,7 @@ files. ### Features -* upgrade to new test-exclude; with suppport for node_modules, and empty exclude ([#348](https://github.com/bcoe/nyc/issues/348)) ([d616ffc](https://github.com/bcoe/nyc/commit/d616ffc)) +* upgrade to new test-exclude; with support for node_modules, and empty exclude ([#348](https://github.com/bcoe/nyc/issues/348)) ([d616ffc](https://github.com/bcoe/nyc/commit/d616ffc)) ### BREAKING CHANGES @@ -742,7 +742,7 @@ files. ### Bug Fixes * make --all flag work with files with extensions other than .js ([#326](https://github.com/bcoe/nyc/issues/326)) ([d0a8674](https://github.com/bcoe/nyc/commit/d0a8674)) -* work around for Windows path issue nodejs/node[#6624](https://github.com/bcoe/nyc/issues/6624) ([6b1fed0](https://github.com/bcoe/nyc/commit/6b1fed0)) +* workaround for Windows path issue nodejs/node[#6624](https://github.com/bcoe/nyc/issues/6624) ([6b1fed0](https://github.com/bcoe/nyc/commit/6b1fed0)) ### Features @@ -882,7 +882,7 @@ files. ### Features -* better docs for excluding, thanks @kentdodds \o/ ([22b06fe](https://github.com/bcoe/nyc/commit/22b06fe)) +* better docs for excluding, thanks @kentcdodds \o/ ([22b06fe](https://github.com/bcoe/nyc/commit/22b06fe)) * updating dependencies (spawn wrap with npm patches \o/) ([ac841b8](https://github.com/bcoe/nyc/commit/ac841b8)) @@ -920,7 +920,7 @@ files. ### v6.1.0 (2016/03/12 15:00 +7:00) -- [#191](https://github.com/bcoe/nyc/pull/191) upgrade to non-singleton verison of yargs (@bcoe) +- [#191](https://github.com/bcoe/nyc/pull/191) upgrade to non-singleton version of yargs (@bcoe) - [#185](https://github.com/bcoe/nyc/pull/185) default to long-form option names so that they can be overridden in package.json (@rapzo) - [#180](https://github.com/bcoe/nyc/pull/180) fix bug with findUp (@bcoe) - [#178](https://github.com/bcoe/nyc/pull/178) --all should handle extensions other than .js. (@lloydcotten) diff --git a/README.md b/README.md index 4cd99d13e..d86af49ce 100644 --- a/README.md +++ b/README.md @@ -258,7 +258,7 @@ nyc --require esm mocha ### Interaction with `--all` flag The `--require` flag also operates on the main nyc process for use by `--all`. -For example, in situations with `nyc --all --instrument false` and [`babel-plugin-istanbul`] setup the `--all` option only works if `--require @babel/register` is passed to nyc. +For example, in situations with `nyc --all --instrument false` and [`babel-plugin-istanbul`] set up the `--all` option only works if `--require @babel/register` is passed to nyc. Passing it to mocha would cause the tests to be instrumented but unloaded sources would not be seen. The [`@istanbuljs/nyc-config-babel`] package handles this for you! diff --git a/docs/profiling.md b/docs/profiling.md index 5dfbbad12..d4dc7d296 100644 --- a/docs/profiling.md +++ b/docs/profiling.md @@ -29,7 +29,7 @@ cd /user/dev/ava npm link nyc ``` -This will likely not work with `tap --coverage`, since tap will try to use it's own older copy of nyc instead of your globally linked one. Modify the test script in your test project so it uses the `nyc` binary directly, and disable `tap`s version with the `--no-cov` flag: +This will likely not work with `tap --coverage`, since tap will try to use its own older copy of nyc instead of your globally linked one. Modify the test script in your test project so it uses the `nyc` binary directly, and disable `tap`s version with the `--no-cov` flag: `package.json`: diff --git a/test/nyc-integration.js b/test/nyc-integration.js index ee31dcb33..ab494ddc5 100644 --- a/test/nyc-integration.js +++ b/test/nyc-integration.js @@ -359,7 +359,7 @@ t.test('extracts coverage headers from unexecuted files', async t => { t.ok(coverage.length !== 0) t.ok(coverage.every(data => typeof data === 'object')) - // we should not have executed file, so all counts sould be 0. + // we should not have executed file, so all counts should be 0. t.ok(coverage.every(data => Object.values(data.s).every(s => s === 0))) })