From 2d1da925e2e566908f022c05e1e5c4e0f70758bc Mon Sep 17 00:00:00 2001 From: Rob Wierzbowski Date: Mon, 11 Sep 2017 21:25:32 -0400 Subject: [PATCH 01/29] Reduce comma use, make language more direct in Unit testing docs - Some of these commas aren't grammatically correct. Easy fix. - Over reliance on words that weaken (might, though, may) make a statement ambiguous. Remove some to make concepts more direct and understandable. --- src/v2/guide/unit-testing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/v2/guide/unit-testing.md b/src/v2/guide/unit-testing.md index 347b4224df..743a08d182 100644 --- a/src/v2/guide/unit-testing.md +++ b/src/v2/guide/unit-testing.md @@ -6,7 +6,7 @@ order: 403 ## Setup and Tooling -Anything compatible with a module-based build system will work, but if you're looking for a specific recommendation, try the [Karma](http://karma-runner.github.io) test runner. It has a lot of community plugins, including support for [Webpack](https://github.com/webpack/karma-webpack) and [Browserify](https://github.com/Nikku/karma-browserify). For detailed setup, please refer to each project's respective documentation, though these example Karma configurations for [Webpack](https://github.com/vuejs-templates/webpack/blob/master/template/test/unit/karma.conf.js) and [Browserify](https://github.com/vuejs-templates/browserify/blob/master/template/karma.conf.js) may help you get started. +Anything compatible with a module-based build system will work, but if you're looking for a specific recommendation try the [Karma](http://karma-runner.github.io) test runner. It has a lot of community plugins, including support for [Webpack](https://github.com/webpack/karma-webpack) and [Browserify](https://github.com/Nikku/karma-browserify). For detailed setup please refer to each project's respective documentation. These example Karma configurations for [Webpack](https://github.com/vuejs-templates/webpack/blob/master/template/test/unit/karma.conf.js) and [Browserify](https://github.com/vuejs-templates/browserify/blob/master/template/karma.conf.js) can help you get started. ## Simple Assertions From e2a8aca1bca6695a6387b49e79a9967b068d7b26 Mon Sep 17 00:00:00 2001 From: Rob Wierzbowski Date: Mon, 11 Sep 2017 21:19:19 -0400 Subject: [PATCH 02/29] Reduce just,simply,obviously,easy, in unit-testing.md - Remove 'just', 'all you have to', etc. - Use direct language, reduce word count --- src/v2/guide/unit-testing.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/v2/guide/unit-testing.md b/src/v2/guide/unit-testing.md index 743a08d182..4ab0ca2365 100644 --- a/src/v2/guide/unit-testing.md +++ b/src/v2/guide/unit-testing.md @@ -10,7 +10,7 @@ Anything compatible with a module-based build system will work, but if you're lo ## Simple Assertions -In terms of code structure for testing, you don't have to do anything special in your components to make them testable. Just export the raw options: +You don't have to do anything special in your components to make them testable. Export the raw options: ``` html