Skip to content

Commit 172310c

Browse files
moraveyoeddyerburgh
authored andcommitted
docs: fix broken links in guides/choosing-a-test-runner (fix #805) (#804)
1 parent 50c9598 commit 172310c

24 files changed

+36
-36
lines changed

docs/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ Vue Test Utils is the official unit testing utility library for Vue.js.
77
* [Common Tips](guides/common-tips.md)
88
* [Mouse, Key and other DOM Events](guides/dom-events.md)
99
* [Choosing a test runner](guides/choosing-a-test-runner.md)
10-
* [Testing SFCs with Jest](guides/testing-SFCs-with-jest.md)
11-
* [Testing SFCs with Mocha + webpack](guides/testing-SFCs-with-mocha-webpack.md)
12-
* [Testing SFCs with Karma](guides/testing-SFCs-with-karma.md)
10+
* [Testing SFCs with Jest](guides/testing-single-file-components-with-jest.md)
11+
* [Testing SFCs with Mocha + webpack](guides/testing-single-file-components-with-mocha-webpack.md)
12+
* [Testing SFCs with Karma](guides/testing-single-file-components-with-karma.md)
1313
* [Testing Asynchronous Behavior](guides/testing-async-components.md)
1414
* [Using with Vue Router](guides/using-with-vue-router.md)
1515
* [Using with Vuex](guides/using-with-vuex.md)

docs/guides/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
!!!include(docs/guides/common-tips.md)!!!
55
!!!include(docs/guides/dom-events.md)!!!
66
!!!include(docs/guides/choosing-a-test-runner.md)!!!
7-
!!!include(docs/guides/testing-SFCs-with-jest.md)!!!
8-
!!!include(docs/guides/testing-SFCs-with-mocha-webpack.md)!!!
9-
!!!include(docs/guides/testing-SFCs-with-karma.md)!!!
7+
!!!include(docs/guides/testing-single-file-components-with-jest.md)!!!
8+
!!!include(docs/guides/testing-single-file-components-with-mocha-webpack.md)!!!
9+
!!!include(docs/guides/testing-single-file-components-with-karma.md)!!!
1010
!!!include(docs/guides/testing-async-components.md)!!!
1111
!!!include(docs/guides/using-with-vue-router.md)!!!
1212
!!!include(docs/guides/using-with-vuex.md)!!!

docs/guides/choosing-a-test-runner.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ The `vue-jest` preprocessor supports basic SFC functionalities, but currently do
3333

3434
Read the following guides for different setups:
3535

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

3939
### Resources
4040

docs/guides/testing-SFCs-with-jest.md renamed to docs/guides/testing-single-file-components-with-jest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Next, create a `jest` block in `package.json`:
5353
}
5454
```
5555

56-
> **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).
56+
> **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).
5757
5858
### Handling webpack Aliases
5959

File renamed without changes.
File renamed without changes.

docs/ja/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
* [一般的なヒント](guides/common-tips.md)
88
* [キー、マウス、その他の DOM イベントのテスト](guides/dom-events.md)
99
* [テストランナを選ぶ](guides/choosing-a-test-runner.md)
10-
* [Jest による単一ファイルコンポーネントのテスト](guides/testing-SFCs-with-jest.md)
11-
* [Mocha + webpack による単一ファイルコンポーネントのテスト](guides/testing-SFCs-with-mocha-webpack.md)
12-
* [Karma による単一ファイルコンポーネントのテスト](guides/testing-SFCs-with-karma.md)
10+
* [Jest による単一ファイルコンポーネントのテスト](guides/testing-single-file-components-with-jest.md)
11+
* [Mocha + webpack による単一ファイルコンポーネントのテスト](guides/testing-single-file-components-with-mocha-webpack.md)
12+
* [Karma による単一ファイルコンポーネントのテスト](guides/testing-single-file-components-with-karma.md)
1313
* [非同期動作のテスト](guides/testing-async-components.md)
1414
* [Vue Router と一緒に使う](guides/using-with-vue-router.md)
1515
* [Vuex と一緒に使う](guides/using-with-vuex.md)

docs/ja/guides/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
!!!include(docs/ja/guides/common-tips.md)!!!
55
!!!include(docs/ja/guides/dom-events.md)!!!
66
!!!include(docs/ja/guides/choosing-a-test-runner.md)!!!
7-
!!!include(docs/ja/guides/testing-SFCs-with-jest.md)!!!
8-
!!!include(docs/ja/guides/testing-SFCs-with-mocha-webpack.md)!!!
9-
!!!include(docs/ja/guides/testing-SFCs-with-karma.md)!!!
7+
!!!include(docs/ja/guides/testing-single-file-components-with-jest.md)!!!
8+
!!!include(docs/ja/guides/testing-single-file-components-with-mocha-webpack.md)!!!
9+
!!!include(docs/ja/guides/testing-single-file-components-with-karma.md)!!!
1010
!!!include(docs/ja/guides/testing-async-components.md)!!!
1111
!!!include(docs/ja/guides/using-with-vue-router.md)!!!
1212
!!!include(docs/ja/guides/using-with-vuex.md)!!!

docs/ja/guides/choosing-a-test-runner.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ require('jsdom-global')()
3232
`vue-jest` プリプロセッサは基本的な SFC 機能をサポートしていますが、現在 `vue-loader` でのみサポートされているスタイルブロックやカスタムブロックは扱いません。これらの機能やその他の Webpack 固有の設定に依存する場合は、webpack + `vue-loader` ベースの設定を使用する必要があります。
3333

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

3838
### リソース
3939

docs/ja/guides/testing-SFCs-with-jest.md renamed to docs/ja/guides/testing-single-file-components-with-jest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ npm install --save-dev vue-jest
5353
}
5454
```
5555

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

0 commit comments

Comments
 (0)