From 3b016e79011b11674550e3adba9ac77910d6e333 Mon Sep 17 00:00:00 2001 From: Haoqun Jiang Date: Fri, 4 Oct 2019 23:28:27 +0800 Subject: [PATCH 1/2] feat: add webdriver log files to gitignore (#4644) --- packages/@vue/cli-service/generator/template/_gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/@vue/cli-service/generator/template/_gitignore b/packages/@vue/cli-service/generator/template/_gitignore index 0623b09237..e5f2aec6c1 100644 --- a/packages/@vue/cli-service/generator/template/_gitignore +++ b/packages/@vue/cli-service/generator/template/_gitignore @@ -5,6 +5,8 @@ node_modules /tests/e2e/reports/ selenium-debug.log +chromedriver.log +geckodriver.log <%_ } _%> <%_ if (rootOptions.plugins && rootOptions.plugins['@vue/cli-plugin-e2e-cypress']) { _%> From 9ace6bc851eb8727e233db85c5059e06f7eb3d27 Mon Sep 17 00:00:00 2001 From: James F McMahon Date: Sat, 5 Oct 2019 17:39:45 -0500 Subject: [PATCH 2/2] Reference mochapack in README As of https://github.com/vuejs/vue-cli/commit/e08603bb1e8194de25a16124ee98bd041381d02b, this plugin uses mochapack instead of mocha-webpack. Updated the README to reflect this. --- packages/@vue/cli-plugin-unit-mocha/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/@vue/cli-plugin-unit-mocha/README.md b/packages/@vue/cli-plugin-unit-mocha/README.md index 3f824b344e..a450c683e1 100644 --- a/packages/@vue/cli-plugin-unit-mocha/README.md +++ b/packages/@vue/cli-plugin-unit-mocha/README.md @@ -6,7 +6,7 @@ - **`vue-cli-service test:unit`** - Run unit tests with [mocha-webpack](https://github.com/zinserjan/mocha-webpack) + [chai](http://chaijs.com/). + Run unit tests with [mochapack](https://github.com/sysgears/mochapack) + [chai](http://chaijs.com/). **Note the tests are run inside Node.js with browser environment simulated with JSDOM.** @@ -27,7 +27,7 @@ Default files matches are: any files in `tests/unit` that end in `.spec.(ts|js)`. - All [mocha-webpack command line options](http://zinserjan.github.io/mocha-webpack/docs/installation/cli-usage.html) are also supported. + All [mochapack command line options](https://sysgears.github.io/mochapack/docs/installation/cli-usage.html) are also supported. ## Installing in an Already Created Project