Skip to content

docs: fix broken links in guides/choosing-a-test-runner (fix #805) #804

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 24, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ Vue Test Utils is the official unit testing utility library for Vue.js.
* [Common Tips](guides/common-tips.md)
* [Mouse, Key and other DOM Events](guides/dom-events.md)
* [Choosing a test runner](guides/choosing-a-test-runner.md)
* [Testing SFCs with Jest](guides/testing-SFCs-with-jest.md)
* [Testing SFCs with Mocha + webpack](guides/testing-SFCs-with-mocha-webpack.md)
* [Testing SFCs with Karma](guides/testing-SFCs-with-karma.md)
* [Testing SFCs with Jest](guides/testing-single-file-components-with-jest.md)
* [Testing SFCs with Mocha + webpack](guides/testing-single-file-components-with-mocha-webpack.md)
* [Testing SFCs with Karma](guides/testing-single-file-components-with-karma.md)
* [Testing Asynchronous Behavior](guides/testing-async-components.md)
* [Using with Vue Router](guides/using-with-vue-router.md)
* [Using with Vuex](guides/using-with-vuex.md)
Expand Down
6 changes: 3 additions & 3 deletions docs/guides/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
!!!include(docs/guides/common-tips.md)!!!
!!!include(docs/guides/dom-events.md)!!!
!!!include(docs/guides/choosing-a-test-runner.md)!!!
!!!include(docs/guides/testing-SFCs-with-jest.md)!!!
!!!include(docs/guides/testing-SFCs-with-mocha-webpack.md)!!!
!!!include(docs/guides/testing-SFCs-with-karma.md)!!!
!!!include(docs/guides/testing-single-file-components-with-jest.md)!!!
!!!include(docs/guides/testing-single-file-components-with-mocha-webpack.md)!!!
!!!include(docs/guides/testing-single-file-components-with-karma.md)!!!
!!!include(docs/guides/testing-async-components.md)!!!
!!!include(docs/guides/using-with-vue-router.md)!!!
!!!include(docs/guides/using-with-vuex.md)!!!
4 changes: 2 additions & 2 deletions docs/guides/choosing-a-test-runner.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ The `vue-jest` preprocessor supports basic SFC functionalities, but currently do

Read the following guides for different setups:

- [Testing SFCs with Jest](./testing-SFCs-with-jest.md)
- [Testing SFCs with Mocha + webpack](./testing-SFCs-with-mocha-webpack.md)
- [Testing SFCs with Jest](./testing-single-file-components-with-jest.md)
- [Testing SFCs with Mocha + webpack](./testing-single-file-components-with-mocha-webpack.md)

### Resources

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Next, create a `jest` block in `package.json`:
}
```

> **Note:** `vue-jest` currently does not support all the features of `vue-loader`, for example custom block support and style loading. In addition, some webpack-specific features such as code-splitting are not supported either. To use these unsupported features, you need to use Mocha instead of Jest to run your tests, and webpack to compile your components. To get started, read the guide on [testing SFCs with Mocha + webpack](./testing-SFCs-with-mocha-webpack.md).
> **Note:** `vue-jest` currently does not support all the features of `vue-loader`, for example custom block support and style loading. In addition, some webpack-specific features such as code-splitting are not supported either. To use these unsupported features, you need to use Mocha instead of Jest to run your tests, and webpack to compile your components. To get started, read the guide on [testing SFCs with Mocha + webpack](./testing-single-file-components-with-mocha-webpack.md).

### Handling webpack Aliases

Expand Down
6 changes: 3 additions & 3 deletions docs/ja/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
* [一般的なヒント](guides/common-tips.md)
* [キー、マウス、その他の DOM イベントのテスト](guides/dom-events.md)
* [テストランナを選ぶ](guides/choosing-a-test-runner.md)
* [Jest による単一ファイルコンポーネントのテスト](guides/testing-SFCs-with-jest.md)
* [Mocha + webpack による単一ファイルコンポーネントのテスト](guides/testing-SFCs-with-mocha-webpack.md)
* [Karma による単一ファイルコンポーネントのテスト](guides/testing-SFCs-with-karma.md)
* [Jest による単一ファイルコンポーネントのテスト](guides/testing-single-file-components-with-jest.md)
* [Mocha + webpack による単一ファイルコンポーネントのテスト](guides/testing-single-file-components-with-mocha-webpack.md)
* [Karma による単一ファイルコンポーネントのテスト](guides/testing-single-file-components-with-karma.md)
* [非同期動作のテスト](guides/testing-async-components.md)
* [Vue Router と一緒に使う](guides/using-with-vue-router.md)
* [Vuex と一緒に使う](guides/using-with-vuex.md)
Expand Down
6 changes: 3 additions & 3 deletions docs/ja/guides/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
!!!include(docs/ja/guides/common-tips.md)!!!
!!!include(docs/ja/guides/dom-events.md)!!!
!!!include(docs/ja/guides/choosing-a-test-runner.md)!!!
!!!include(docs/ja/guides/testing-SFCs-with-jest.md)!!!
!!!include(docs/ja/guides/testing-SFCs-with-mocha-webpack.md)!!!
!!!include(docs/ja/guides/testing-SFCs-with-karma.md)!!!
!!!include(docs/ja/guides/testing-single-file-components-with-jest.md)!!!
!!!include(docs/ja/guides/testing-single-file-components-with-mocha-webpack.md)!!!
!!!include(docs/ja/guides/testing-single-file-components-with-karma.md)!!!
!!!include(docs/ja/guides/testing-async-components.md)!!!
!!!include(docs/ja/guides/using-with-vue-router.md)!!!
!!!include(docs/ja/guides/using-with-vuex.md)!!!
4 changes: 2 additions & 2 deletions docs/ja/guides/choosing-a-test-runner.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ require('jsdom-global')()
`vue-jest` プリプロセッサは基本的な SFC 機能をサポートしていますが、現在 `vue-loader` でのみサポートされているスタイルブロックやカスタムブロックは扱いません。これらの機能やその他の Webpack 固有の設定に依存する場合は、webpack + `vue-loader` ベースの設定を使用する必要があります。

さまざまな設定については、次のガイドをお読みください:
- [Jest による単一ファイルコンポーネントのテスト](./testing-SFCs-with-jest.md)
- [Mocha + webpack による単一ファイルコンポーネントのテスト](./testing-SFCs-with-mocha-webpack.md)
- [Jest による単一ファイルコンポーネントのテスト](./testing-single-file-components-with-jest.md)
- [Mocha + webpack による単一ファイルコンポーネントのテスト](./testing-single-file-components-with-mocha-webpack.md)

### リソース

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ npm install --save-dev vue-jest
}
```

> **注意:** `vue-jest` は現在、カスタムブロックのサポートやスタイルのロードなど、`vue-loader` のすべての機能をサポートしていません。さらに、コード分割などのWebpack固有の機能はサポートされていません。サポートされていない機能を使用するには、 Jest の代わりに Mocha をテストランナーとして使用します。そして、 Webpack をコンポーネントをコンパイルするために使用します。やり方は [Mocha + webpackによる単一ファイルコンポーネントのテスト](./testing-SFCs-with-mocha-webpack.md)のガイドをお読みください。
> **注意:** `vue-jest` は現在、カスタムブロックのサポートやスタイルのロードなど、`vue-loader` のすべての機能をサポートしていません。さらに、コード分割などのWebpack固有の機能はサポートされていません。サポートされていない機能を使用するには、 Jest の代わりに Mocha をテストランナーとして使用します。そして、 Webpack をコンポーネントをコンパイルするために使用します。やり方は [Mocha + webpackによる単一ファイルコンポーネントのテスト](./testing-single-file-components-with-mocha-webpack.md)のガイドをお読みください。

### Webpack エイリアスの処理

Expand Down
6 changes: 3 additions & 3 deletions docs/ru/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ Vue Test Utils — официальная библиотека модульно
* [Общие советы](guides/common-tips.md)
* [Мышь, клавиши и другие события DOM](guides/dom-events.md)
* [Чем запускать тесты](guides/choosing-a-test-runner.md)
* [Тестирование однофайловых компонентов с Jest](guides/testing-SFCs-with-jest.md)
* [Тестирование однофайловых компонентов с Mocha + webpack](guides/testing-SFCs-with-mocha-webpack.md)
* [Testing однофайловых компонентов с Karma](guides/testing-SFCs-with-karma.md)
* [Тестирование однофайловых компонентов с Jest](guides/testing-single-file-components-with-jest.md)
* [Тестирование однофайловых компонентов с Mocha + webpack](guides/testing-single-file-components-with-mocha-webpack.md)
* [Testing однофайловых компонентов с Karma](guides/testing-single-file-components-with-karma.md)
* [Тестирование асинхронной логики](guides/testing-async-components.md)
* [Использование с Vue Router](guides/using-with-vue-router.md)
* [Использование с Vuex](guides/using-with-vuex.md)
Expand Down
6 changes: 3 additions & 3 deletions docs/ru/guides/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
!!!include(docs/ru/guides/common-tips.md)!!!
!!!include(docs/ru/guides/dom-events.md)!!!
!!!include(docs/ru/guides/choosing-a-test-runner.md)!!!
!!!include(docs/ru/guides/testing-SFCs-with-jest.md)!!!
!!!include(docs/ru/guides/testing-SFCs-with-mocha-webpack.md)!!!
!!!include(docs/ru/guides/testing-SFCs-with-karma.md)!!!
!!!include(docs/ru/guides/testing-single-file-components-with-jest.md)!!!
!!!include(docs/ru/guides/testing-single-file-components-with-mocha-webpack.md)!!!
!!!include(docs/ru/guides/testing-single-file-components-with-karma.md)!!!
!!!include(docs/ru/guides/testing-async-components.md)!!!
!!!include(docs/ru/guides/using-with-vue-router.md)!!!
!!!include(docs/ru/guides/using-with-vuex.md)!!!
4 changes: 2 additions & 2 deletions docs/ru/guides/choosing-a-test-runner.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ require('jsdom-global')()

Изучите следующие руководства по вариантам настройки:

- [Тестирование однофайловых компонентов с Jest](./testing-SFCs-with-jest.md)
- [Тестирование однофайловых компонентов с Mocha + webpack](./testing-SFCs-with-mocha-webpack.md)
- [Тестирование однофайловых компонентов с Jest](./testing-single-file-components-with-jest.md)
- [Тестирование однофайловых компонентов с Mocha + webpack](./testing-single-file-components-with-mocha-webpack.md)

### Дополнительные ресурсы

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ npm install --save-dev vue-jest
}
```

> **Примечание:** `vue-jest` в настоящее время не поддерживает все возможности `vue-loader`, например пользовательские блоки и загрузку стилей. Кроме того, некоторые функции, специфичные для webpack, такие как code-splitting, также не поддерживаются. Чтобы использовать их прочитайте руководство по [тестированию однофайловых компонентов с Mocha + webpack](./testing-SFCs-with-mocha-webpack.md).
> **Примечание:** `vue-jest` в настоящее время не поддерживает все возможности `vue-loader`, например пользовательские блоки и загрузку стилей. Кроме того, некоторые функции, специфичные для webpack, такие как code-splitting, также не поддерживаются. Чтобы использовать их прочитайте руководство по [тестированию однофайловых компонентов с Mocha + webpack](./testing-single-file-components-with-mocha-webpack.md).

### Обработка псевдонимов webpack

Expand Down
6 changes: 3 additions & 3 deletions docs/zh/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ Vue Test Utils 是 Vue.js 官方的单元测试实用工具库。
* [常用技巧](guides/common-tips.md)
* [鼠标、键盘以及其它 DOM 事件](guides/dom-events.md)
* [选择一个测试运行器](guides/choosing-a-test-runner.md)
* [用 Jest 测试单文件组件](guides/testing-SFCs-with-jest.md)
* [用 Mocha 和 webpack 测试单文件组件](guides/testing-SFCs-with-mocha-webpack.md)
* [用 Karma 测试单文件组件](guides/testing-SFCs-with-karma.md)
* [用 Jest 测试单文件组件](guides/testing-single-file-components-with-jest.md)
* [用 Mocha 和 webpack 测试单文件组件](guides/testing-single-file-components-with-mocha-webpack.md)
* [用 Karma 测试单文件组件](guides/testing-single-file-components-with-karma.md)
* [测试异步行为](guides/testing-async-components.md)
* [配合 Vue Router 使用](guides/using-with-vue-router.md)
* [配合 Vuex 实用](guides/using-with-vuex.md)
Expand Down
6 changes: 3 additions & 3 deletions docs/zh/guides/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
!!!include(docs/zh/guides/common-tips.md)!!!
!!!include(docs/zh/guides/dom-events.md)!!!
!!!include(docs/zh/guides/choosing-a-test-runner.md)!!!
!!!include(docs/zh/guides/testing-SFCs-with-jest.md)!!!
!!!include(docs/zh/guides/testing-SFCs-with-mocha-webpack.md)!!!
!!!include(docs/zh/guides/testing-SFCs-with-karma.md)!!!
!!!include(docs/zh/guides/testing-single-file-components-with-jest.md)!!!
!!!include(docs/zh/guides/testing-single-file-components-with-mocha-webpack.md)!!!
!!!include(docs/zh/guides/testing-single-file-components-with-karma.md)!!!
!!!include(docs/zh/guides/testing-async-components.md)!!!
!!!include(docs/zh/guides/using-with-vue-router.md)!!!
!!!include(docs/zh/guides/using-with-vuex.md)!!!
4 changes: 2 additions & 2 deletions docs/zh/guides/choosing-a-test-runner.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ Vue 的单文件组件在它们运行于 Node 或浏览器之前是需要预编

对于不同的设置方式请移步下面的教程:

- [用 Jest 测试单文件组件](./testing-SFCs-with-jest.md)
- [用 Mocha 和 webpack 测试单文件组件](./testing-SFCs-with-mocha-webpack.md)
- [用 Jest 测试单文件组件](./testing-single-file-components-with-jest.md)
- [用 Mocha 和 webpack 测试单文件组件](./testing-single-file-components-with-mocha-webpack.md)

### 相关资料

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ npm install --save-dev vue-jest
}
```

> **注意:**`vue-jest` 目前并不支持 `vue-loader` 所有的功能,比如自定义块和样式加载。额外的,诸如代码分隔等 webpack 特有的功能也是不支持的。如果要使用这些不支持的特性,你需要用 Mocha 取代 Jest 来运行你的测试,同时用 webpack 来编译你的组件。想知道如何起步,请阅读教程里的[用 Mocha + webpack 测试单文件组件](./testing-SFCs-with-mocha-webpack.md)。
> **注意:**`vue-jest` 目前并不支持 `vue-loader` 所有的功能,比如自定义块和样式加载。额外的,诸如代码分隔等 webpack 特有的功能也是不支持的。如果要使用这些不支持的特性,你需要用 Mocha 取代 Jest 来运行你的测试,同时用 webpack 来编译你的组件。想知道如何起步,请阅读教程里的[用 Mocha + webpack 测试单文件组件](./testing-single-file-components-with-mocha-webpack.md)。

### 处理 webpack 别名

Expand Down