From b208d143ad852dc95aa8b44eed94ac1f404a25f4 Mon Sep 17 00:00:00 2001 From: Forresst Date: Thu, 2 Jun 2022 14:08:58 +0200 Subject: [PATCH] Link to correct branch in ava-docs repository --- .github/CODE_OF_CONDUCT.md | 2 +- .github/CONTRIBUTING.md | 2 +- docs/01-writing-tests.md | 2 +- docs/02-execution-context.md | 2 +- docs/03-assertions.md | 2 +- docs/04-snapshot-testing.md | 2 +- docs/05-command-line.md | 2 +- docs/06-configuration.md | 2 +- docs/07-test-timeouts.md | 2 +- docs/08-common-pitfalls.md | 2 +- docs/recipes/babel.md | 2 +- docs/recipes/browser-testing.md | 2 +- docs/recipes/code-coverage.md | 2 +- docs/recipes/debugging-with-chrome-devtools.md | 2 +- docs/recipes/debugging-with-vscode.md | 2 +- docs/recipes/debugging-with-webstorm.md | 2 +- docs/recipes/endpoint-testing-with-mongoose.md | 2 +- docs/recipes/endpoint-testing.md | 2 +- docs/recipes/isolated-mongodb-integration-tests.md | 2 +- docs/recipes/passing-arguments-to-your-test-files.md | 2 +- docs/recipes/puppeteer.md | 2 +- docs/recipes/react.md | 2 +- docs/recipes/test-setup.md | 2 +- docs/recipes/typescript.md | 2 +- docs/recipes/vue.md | 2 +- docs/recipes/watch-mode.md | 2 +- docs/recipes/when-to-use-plan.md | 2 +- docs/support-statement.md | 2 +- readme.md | 2 +- 29 files changed, 29 insertions(+), 29 deletions(-) diff --git a/.github/CODE_OF_CONDUCT.md b/.github/CODE_OF_CONDUCT.md index 2c877ff29..4ef298afb 100644 --- a/.github/CODE_OF_CONDUCT.md +++ b/.github/CODE_OF_CONDUCT.md @@ -1,6 +1,6 @@ # Contributor Covenant Code of Conduct -Translations: [Español](https://github.com/avajs/ava-docs/blob/master/es_ES/code-of-conduct.md), [Français](https://github.com/avajs/ava-docs/blob/master/fr_FR/code-of-conduct.md), [Italiano](https://github.com/avajs/ava-docs/blob/master/it_IT/code-of-conduct.md), [日本語](https://github.com/avajs/ava-docs/blob/master/ja_JP/code-of-conduct.md), [Português](https://github.com/avajs/ava-docs/blob/master/pt_BR/code-of-conduct.md), [Русский](https://github.com/avajs/ava-docs/blob/master/ru_RU/code-of-conduct.md), [简体中文](https://github.com/avajs/ava-docs/blob/master/zh_CN/code-of-conduct.md) +Translations: [Español](https://github.com/avajs/ava-docs/blob/main/es_ES/code-of-conduct.md), [Français](https://github.com/avajs/ava-docs/blob/main/fr_FR/code-of-conduct.md), [Italiano](https://github.com/avajs/ava-docs/blob/main/it_IT/code-of-conduct.md), [日本語](https://github.com/avajs/ava-docs/blob/main/ja_JP/code-of-conduct.md), [Português](https://github.com/avajs/ava-docs/blob/main/pt_BR/code-of-conduct.md), [Русский](https://github.com/avajs/ava-docs/blob/main/ru_RU/code-of-conduct.md), [简体中文](https://github.com/avajs/ava-docs/blob/main/zh_CN/code-of-conduct.md) ## Our Pledge diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 4b96ec216..f356242c8 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -4,7 +4,7 @@ Please note that this project is released with a [Contributor Code of Conduct](CODE_OF_CONDUCT.md). By participating in this project you agree to abide by its terms. -Translations: [Español](https://github.com/avajs/ava-docs/blob/master/es_ES/contributing.md), [Français](https://github.com/avajs/ava-docs/blob/master/fr_FR/contributing.md), [Italiano](https://github.com/avajs/ava-docs/blob/master/it_IT/contributing.md), [日本語](https://github.com/avajs/ava-docs/blob/master/ja_JP/contributing.md), [Português](https://github.com/avajs/ava-docs/blob/master/pt_BR/contributing.md), [Русский](https://github.com/avajs/ava-docs/blob/master/ru_RU/contributing.md), [简体中文](https://github.com/avajs/ava-docs/blob/master/zh_CN/contributing.md) +Translations: [Español](https://github.com/avajs/ava-docs/blob/main/es_ES/contributing.md), [Français](https://github.com/avajs/ava-docs/blob/main/fr_FR/contributing.md), [Italiano](https://github.com/avajs/ava-docs/blob/main/it_IT/contributing.md), [日本語](https://github.com/avajs/ava-docs/blob/main/ja_JP/contributing.md), [Português](https://github.com/avajs/ava-docs/blob/main/pt_BR/contributing.md), [Русский](https://github.com/avajs/ava-docs/blob/main/ru_RU/contributing.md), [简体中文](https://github.com/avajs/ava-docs/blob/main/zh_CN/contributing.md) ## How can I contribute? diff --git a/docs/01-writing-tests.md b/docs/01-writing-tests.md index d9b4c0a13..9a3d37011 100644 --- a/docs/01-writing-tests.md +++ b/docs/01-writing-tests.md @@ -1,6 +1,6 @@ # Writing tests -Translations: [Français](https://github.com/avajs/ava-docs/blob/master/fr_FR/docs/01-writing-tests.md) +Translations: [Français](https://github.com/avajs/ava-docs/blob/main/fr_FR/docs/01-writing-tests.md) Tests are run concurrently. You can specify synchronous and asynchronous tests. Tests are considered synchronous unless you return a promise, an [observable](https://github.com/zenparsing/zen-observable), or declare it as a callback test. diff --git a/docs/02-execution-context.md b/docs/02-execution-context.md index 70893d987..dc8e312be 100644 --- a/docs/02-execution-context.md +++ b/docs/02-execution-context.md @@ -1,6 +1,6 @@ # Execution Context (`t` argument) -Translations: [Français](https://github.com/avajs/ava-docs/blob/master/fr_FR/docs/02-execution-context.md) +Translations: [Français](https://github.com/avajs/ava-docs/blob/main/fr_FR/docs/02-execution-context.md) Each test or hook is called with an execution context. By convention it's named `t`. diff --git a/docs/03-assertions.md b/docs/03-assertions.md index 9ba9c9cd8..933e9d2c9 100644 --- a/docs/03-assertions.md +++ b/docs/03-assertions.md @@ -1,6 +1,6 @@ # Assertions -Translations: [Français](https://github.com/avajs/ava-docs/blob/master/fr_FR/docs/03-assertions.md) +Translations: [Français](https://github.com/avajs/ava-docs/blob/main/fr_FR/docs/03-assertions.md) Assertions are mixed into the [execution object](./02-execution-context.md) provided to each test implementation: diff --git a/docs/04-snapshot-testing.md b/docs/04-snapshot-testing.md index 3ddd42db9..e122efbd8 100644 --- a/docs/04-snapshot-testing.md +++ b/docs/04-snapshot-testing.md @@ -1,6 +1,6 @@ # Snapshot testing -Translations: [Français](https://github.com/avajs/ava-docs/blob/master/fr_FR/docs/04-snapshot-testing.md) +Translations: [Français](https://github.com/avajs/ava-docs/blob/main/fr_FR/docs/04-snapshot-testing.md) AVA supports snapshot testing, [as introduced by Jest](https://facebook.github.io/jest/docs/snapshot-testing.html), through its [Assertions](./03-assertions.md) interface. You can snapshot any value. diff --git a/docs/05-command-line.md b/docs/05-command-line.md index ea1f25dae..3154b52a1 100644 --- a/docs/05-command-line.md +++ b/docs/05-command-line.md @@ -1,6 +1,6 @@ # CLI -Translations: [Français](https://github.com/avajs/ava-docs/blob/master/fr_FR/docs/05-command-line.md) +Translations: [Français](https://github.com/avajs/ava-docs/blob/main/fr_FR/docs/05-command-line.md) ```console ava [...] diff --git a/docs/06-configuration.md b/docs/06-configuration.md index 3bb063b0b..fae579aed 100644 --- a/docs/06-configuration.md +++ b/docs/06-configuration.md @@ -1,6 +1,6 @@ # Configuration -Translations: [Français](https://github.com/avajs/ava-docs/blob/master/fr_FR/docs/06-configuration.md) +Translations: [Français](https://github.com/avajs/ava-docs/blob/main/fr_FR/docs/06-configuration.md) All of the [CLI options][CLI] can be configured in the `ava` section of either your `package.json` file, or an `ava.config.*` file. This allows you to modify the default behavior of the `ava` command, so you don't have to repeatedly type the same options on the command prompt. diff --git a/docs/07-test-timeouts.md b/docs/07-test-timeouts.md index 4ca9b8f5c..aabb63c32 100644 --- a/docs/07-test-timeouts.md +++ b/docs/07-test-timeouts.md @@ -1,6 +1,6 @@ # Test timeouts -Translations: [Français](https://github.com/avajs/ava-docs/blob/master/fr_FR/docs/07-test-timeouts.md) +Translations: [Français](https://github.com/avajs/ava-docs/blob/main/fr_FR/docs/07-test-timeouts.md) [![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/avajs/ava/tree/main/examples/timeouts?file=test.js&terminal=test&view=editor) diff --git a/docs/08-common-pitfalls.md b/docs/08-common-pitfalls.md index 8f9a1801b..a326a3961 100644 --- a/docs/08-common-pitfalls.md +++ b/docs/08-common-pitfalls.md @@ -1,6 +1,6 @@ # Common Pitfalls -Translations: [Français](https://github.com/avajs/ava-docs/blob/master/fr_FR/docs/08-common-pitfalls.md) +Translations: [Français](https://github.com/avajs/ava-docs/blob/main/fr_FR/docs/08-common-pitfalls.md) If you use [ESLint](https://eslint.org), you can install [eslint-plugin-ava](https://github.com/avajs/eslint-plugin-ava). It will help you use AVA correctly and avoid some common pitfalls. diff --git a/docs/recipes/babel.md b/docs/recipes/babel.md index d903619e2..5e41bb7d0 100644 --- a/docs/recipes/babel.md +++ b/docs/recipes/babel.md @@ -1,6 +1,6 @@ # Configuring Babel with AVA -Translations: [Français](https://github.com/avajs/ava-docs/blob/master/fr_FR/docs/recipes/babel.md) +Translations: [Français](https://github.com/avajs/ava-docs/blob/main/fr_FR/docs/recipes/babel.md) You can enable Babel support by installing [`@babel/register`](https://babeljs.io/docs/en/babel-register) and `@babel/core`, and then in AVA's configuration requiring `@babel/register`: diff --git a/docs/recipes/browser-testing.md b/docs/recipes/browser-testing.md index 60e061623..9993b8df7 100644 --- a/docs/recipes/browser-testing.md +++ b/docs/recipes/browser-testing.md @@ -1,6 +1,6 @@ # Setting up AVA for browser testing -Translations: [Español](https://github.com/avajs/ava-docs/blob/master/es_ES/docs/recipes/browser-testing.md), [Français](https://github.com/avajs/ava-docs/blob/master/fr_FR/docs/recipes/browser-testing.md), [Italiano](https://github.com/avajs/ava-docs/blob/master/it_IT/docs/recipes/browser-testing.md), [Русский](https://github.com/avajs/ava-docs/blob/master/ru_RU/docs/recipes/browser-testing.md), [简体中文](https://github.com/avajs/ava-docs/blob/master/zh_CN/docs/recipes/browser-testing.md) +Translations: [Español](https://github.com/avajs/ava-docs/blob/main/es_ES/docs/recipes/browser-testing.md), [Français](https://github.com/avajs/ava-docs/blob/main/fr_FR/docs/recipes/browser-testing.md), [Italiano](https://github.com/avajs/ava-docs/blob/main/it_IT/docs/recipes/browser-testing.md), [Русский](https://github.com/avajs/ava-docs/blob/main/ru_RU/docs/recipes/browser-testing.md), [简体中文](https://github.com/avajs/ava-docs/blob/main/zh_CN/docs/recipes/browser-testing.md) AVA does not support running tests in browsers [yet](https://github.com/avajs/ava/issues/24). However JavaScript libraries that require browser specific globals (`window`, `document`, `navigator`, etc) can still be tested with AVA by mocking these globals. diff --git a/docs/recipes/code-coverage.md b/docs/recipes/code-coverage.md index 8997f5a53..a4162276d 100644 --- a/docs/recipes/code-coverage.md +++ b/docs/recipes/code-coverage.md @@ -1,6 +1,6 @@ # Code coverage -Translations: [Español](https://github.com/avajs/ava-docs/blob/master/es_ES/docs/recipes/code-coverage.md), [Français](https://github.com/avajs/ava-docs/blob/master/fr_FR/docs/recipes/code-coverage.md), [Italiano](https://github.com/avajs/ava-docs/blob/master/it_IT/docs/recipes/code-coverage.md), [日本語](https://github.com/avajs/ava-docs/blob/master/ja_JP/docs/recipes/code-coverage.md), [Português](https://github.com/avajs/ava-docs/blob/master/pt_BR/docs/recipes/code-coverage.md), [Русский](https://github.com/avajs/ava-docs/blob/master/ru_RU/docs/recipes/code-coverage.md), [简体中文](https://github.com/avajs/ava-docs/blob/master/zh_CN/docs/recipes/code-coverage.md) +Translations: [Español](https://github.com/avajs/ava-docs/blob/main/es_ES/docs/recipes/code-coverage.md), [Français](https://github.com/avajs/ava-docs/blob/main/fr_FR/docs/recipes/code-coverage.md), [Italiano](https://github.com/avajs/ava-docs/blob/main/it_IT/docs/recipes/code-coverage.md), [日本語](https://github.com/avajs/ava-docs/blob/main/ja_JP/docs/recipes/code-coverage.md), [Português](https://github.com/avajs/ava-docs/blob/main/pt_BR/docs/recipes/code-coverage.md), [Русский](https://github.com/avajs/ava-docs/blob/main/ru_RU/docs/recipes/code-coverage.md), [简体中文](https://github.com/avajs/ava-docs/blob/main/zh_CN/docs/recipes/code-coverage.md) Use [`c8`] to compute the code coverage of your tests. diff --git a/docs/recipes/debugging-with-chrome-devtools.md b/docs/recipes/debugging-with-chrome-devtools.md index 1a7f9ecd8..19ea72dd8 100644 --- a/docs/recipes/debugging-with-chrome-devtools.md +++ b/docs/recipes/debugging-with-chrome-devtools.md @@ -1,6 +1,6 @@ # Debugging tests with Chrome DevTools -Translations: [Français](https://github.com/avajs/ava-docs/blob/master/fr_FR/docs/recipes/debugging-with-chrome-devtools.md) +Translations: [Français](https://github.com/avajs/ava-docs/blob/main/fr_FR/docs/recipes/debugging-with-chrome-devtools.md) You can debug your tests using [Chrome DevTools](https://developers.google.com/web/tools/chrome-devtools). diff --git a/docs/recipes/debugging-with-vscode.md b/docs/recipes/debugging-with-vscode.md index a416b5e67..7f3e75bfb 100644 --- a/docs/recipes/debugging-with-vscode.md +++ b/docs/recipes/debugging-with-vscode.md @@ -1,6 +1,6 @@ # Debugging tests with Visual Studio Code -Translations: [Français](https://github.com/avajs/ava-docs/blob/master/fr_FR/docs/recipes/debugging-with-vscode.md) +Translations: [Français](https://github.com/avajs/ava-docs/blob/main/fr_FR/docs/recipes/debugging-with-vscode.md) You can debug your tests using [Visual Studio Code](https://code.visualstudio.com/). diff --git a/docs/recipes/debugging-with-webstorm.md b/docs/recipes/debugging-with-webstorm.md index bd3b0e743..888f5d74b 100644 --- a/docs/recipes/debugging-with-webstorm.md +++ b/docs/recipes/debugging-with-webstorm.md @@ -1,6 +1,6 @@ # Debugging tests with WebStorm -Translations: [Français](https://github.com/avajs/ava-docs/blob/master/fr_FR/docs/recipes/debugging-with-webstorm.md) +Translations: [Français](https://github.com/avajs/ava-docs/blob/main/fr_FR/docs/recipes/debugging-with-webstorm.md) **This recipe is outdated.** diff --git a/docs/recipes/endpoint-testing-with-mongoose.md b/docs/recipes/endpoint-testing-with-mongoose.md index 9ecbf6c09..a22766d97 100644 --- a/docs/recipes/endpoint-testing-with-mongoose.md +++ b/docs/recipes/endpoint-testing-with-mongoose.md @@ -1,6 +1,6 @@ # Endpoint testing with Mongoose -Translations: [Français](https://github.com/avajs/ava-docs/blob/master/fr_FR/docs/recipes/endpoint-testing-with-mongoose.md) +Translations: [Français](https://github.com/avajs/ava-docs/blob/main/fr_FR/docs/recipes/endpoint-testing-with-mongoose.md) This recipe shows you how to test your endpoints with AVA and Mongoose, assuming you use Express as your framework. diff --git a/docs/recipes/endpoint-testing.md b/docs/recipes/endpoint-testing.md index c5adae44d..b54ef7d9b 100644 --- a/docs/recipes/endpoint-testing.md +++ b/docs/recipes/endpoint-testing.md @@ -1,6 +1,6 @@ # Endpoint testing -Translations: [Español](https://github.com/avajs/ava-docs/blob/master/es_ES/docs/recipes/endpoint-testing.md), [Français](https://github.com/avajs/ava-docs/blob/master/fr_FR/docs/recipes/endpoint-testing.md), [Italiano](https://github.com/avajs/ava-docs/blob/master/it_IT/docs/recipes/endpoint-testing.md), [日本語](https://github.com/avajs/ava-docs/blob/master/ja_JP/docs/recipes/endpoint-testing.md), [Português](https://github.com/avajs/ava-docs/blob/master/pt_BR/docs/recipes/endpoint-testing.md), [Русский](https://github.com/avajs/ava-docs/blob/master/ru_RU/docs/recipes/endpoint-testing.md), [简体中文](https://github.com/avajs/ava-docs/blob/master/zh_CN/docs/recipes/endpoint-testing.md) +Translations: [Español](https://github.com/avajs/ava-docs/blob/main/es_ES/docs/recipes/endpoint-testing.md), [Français](https://github.com/avajs/ava-docs/blob/main/fr_FR/docs/recipes/endpoint-testing.md), [Italiano](https://github.com/avajs/ava-docs/blob/main/it_IT/docs/recipes/endpoint-testing.md), [日本語](https://github.com/avajs/ava-docs/blob/main/ja_JP/docs/recipes/endpoint-testing.md), [Português](https://github.com/avajs/ava-docs/blob/main/pt_BR/docs/recipes/endpoint-testing.md), [Русский](https://github.com/avajs/ava-docs/blob/main/ru_RU/docs/recipes/endpoint-testing.md), [简体中文](https://github.com/avajs/ava-docs/blob/main/zh_CN/docs/recipes/endpoint-testing.md) [![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/avajs/ava/tree/main/examples/endpoint-testing?file=test.js&terminal=test&view=editor) diff --git a/docs/recipes/isolated-mongodb-integration-tests.md b/docs/recipes/isolated-mongodb-integration-tests.md index dc597b4e5..93ea2b972 100644 --- a/docs/recipes/isolated-mongodb-integration-tests.md +++ b/docs/recipes/isolated-mongodb-integration-tests.md @@ -1,6 +1,6 @@ # Isolated MongoDB integration tests -Translations: [Français](https://github.com/avajs/ava-docs/blob/master/fr_FR/docs/recipes/isolated-mongodb-integration-tests.md) +Translations: [Français](https://github.com/avajs/ava-docs/blob/main/fr_FR/docs/recipes/isolated-mongodb-integration-tests.md) > How to run disposable MongoDB databases in your AVA tests with per-test isolation. diff --git a/docs/recipes/passing-arguments-to-your-test-files.md b/docs/recipes/passing-arguments-to-your-test-files.md index 5d67483df..62bc4cf56 100644 --- a/docs/recipes/passing-arguments-to-your-test-files.md +++ b/docs/recipes/passing-arguments-to-your-test-files.md @@ -1,6 +1,6 @@ # Passing arguments to your test files -Translations: [Français](https://github.com/avajs/ava-docs/blob/master/fr_FR/docs/recipes/passing-arguments-to-your-test-files.md) +Translations: [Français](https://github.com/avajs/ava-docs/blob/main/fr_FR/docs/recipes/passing-arguments-to-your-test-files.md) You can pass command line arguments to your test files. Use the `--` argument terminator to separate AVA's arguments from your own: diff --git a/docs/recipes/puppeteer.md b/docs/recipes/puppeteer.md index 4946f2402..9565f3ce1 100644 --- a/docs/recipes/puppeteer.md +++ b/docs/recipes/puppeteer.md @@ -1,6 +1,6 @@ # Testing web apps using Puppeteer -Translations: [Français](https://github.com/avajs/ava-docs/blob/master/fr_FR/docs/recipes/puppeteer.md) +Translations: [Français](https://github.com/avajs/ava-docs/blob/main/fr_FR/docs/recipes/puppeteer.md) ## Dependencies diff --git a/docs/recipes/react.md b/docs/recipes/react.md index 92f32c6ef..edb792fce 100644 --- a/docs/recipes/react.md +++ b/docs/recipes/react.md @@ -1,6 +1,6 @@ # Testing React components with AVA 3 -Translations: [Español](https://github.com/avajs/ava-docs/blob/master/es_ES/docs/recipes/react.md), [Français](https://github.com/avajs/ava-docs/blob/master/fr_FR/docs/recipes/react.md) +Translations: [Español](https://github.com/avajs/ava-docs/blob/main/es_ES/docs/recipes/react.md), [Français](https://github.com/avajs/ava-docs/blob/main/fr_FR/docs/recipes/react.md) **AVA 4 no longer has built-in Babel support, and `t.snapshot()` and `t.deepEqual()` no longer recognize React elements either. Therefore this recipe is mostly relevant for AVA 3 users.** diff --git a/docs/recipes/test-setup.md b/docs/recipes/test-setup.md index 3f4175c1d..4cafa5cee 100644 --- a/docs/recipes/test-setup.md +++ b/docs/recipes/test-setup.md @@ -1,6 +1,6 @@ # Test setup -Translations: [Français](https://github.com/avajs/ava-docs/blob/master/fr_FR/docs/recipes/test-setup.md) +Translations: [Français](https://github.com/avajs/ava-docs/blob/main/fr_FR/docs/recipes/test-setup.md) Tests can be set up using the `beforeEach()` hook. Often though you could use a plain setup function instead. This recipe helps you decide what's best for your use case. diff --git a/docs/recipes/typescript.md b/docs/recipes/typescript.md index 6127efc7f..3831d529b 100644 --- a/docs/recipes/typescript.md +++ b/docs/recipes/typescript.md @@ -1,6 +1,6 @@ # TypeScript -Translations: [Español](https://github.com/avajs/ava-docs/blob/master/es_ES/docs/recipes/typescript.md), [Français](https://github.com/avajs/ava-docs/blob/master/fr_FR/docs/recipes/typescript.md), [Italiano](https://github.com/avajs/ava-docs/blob/master/it_IT/docs/recipes/typescript.md), [Русский](https://github.com/avajs/ava-docs/blob/master/ru_RU/docs/recipes/typescript.md), [简体中文](https://github.com/avajs/ava-docs/blob/master/zh_CN/docs/recipes/typescript.md) +Translations: [Español](https://github.com/avajs/ava-docs/blob/main/es_ES/docs/recipes/typescript.md), [Français](https://github.com/avajs/ava-docs/blob/main/fr_FR/docs/recipes/typescript.md), [Italiano](https://github.com/avajs/ava-docs/blob/main/it_IT/docs/recipes/typescript.md), [Русский](https://github.com/avajs/ava-docs/blob/main/ru_RU/docs/recipes/typescript.md), [简体中文](https://github.com/avajs/ava-docs/blob/main/zh_CN/docs/recipes/typescript.md) AVA comes bundled with a TypeScript definition file. This allows developers to leverage TypeScript for writing tests. diff --git a/docs/recipes/vue.md b/docs/recipes/vue.md index edb59c51c..922bf06a5 100644 --- a/docs/recipes/vue.md +++ b/docs/recipes/vue.md @@ -1,6 +1,6 @@ # Testing Vue.js components -Translations: [Français](https://github.com/avajs/ava-docs/blob/master/fr_FR/docs/recipes/vue.md) +Translations: [Français](https://github.com/avajs/ava-docs/blob/main/fr_FR/docs/recipes/vue.md) ## Dependencies diff --git a/docs/recipes/watch-mode.md b/docs/recipes/watch-mode.md index b9403a5b3..4dc55ea08 100644 --- a/docs/recipes/watch-mode.md +++ b/docs/recipes/watch-mode.md @@ -1,6 +1,6 @@ # Watch mode -Translations: [Français](https://github.com/avajs/ava-docs/blob/master/fr_FR/docs/recipes/watch-mode.md), [Italiano](https://github.com/avajs/ava-docs/blob/master/it_IT/docs/recipes/watch-mode.md), [Русский](https://github.com/avajs/ava-docs/blob/master/ru_RU/docs/recipes/watch-mode.md), [简体中文](https://github.com/avajs/ava-docs/blob/master/zh_CN/docs/recipes/watch-mode.md) +Translations: [Français](https://github.com/avajs/ava-docs/blob/main/fr_FR/docs/recipes/watch-mode.md), [Italiano](https://github.com/avajs/ava-docs/blob/main/it_IT/docs/recipes/watch-mode.md), [Русский](https://github.com/avajs/ava-docs/blob/main/ru_RU/docs/recipes/watch-mode.md), [简体中文](https://github.com/avajs/ava-docs/blob/main/zh_CN/docs/recipes/watch-mode.md) AVA comes with an intelligent watch mode. It watches for files to change and runs just those tests that are affected. diff --git a/docs/recipes/when-to-use-plan.md b/docs/recipes/when-to-use-plan.md index d3cd2159f..ac0f5b007 100644 --- a/docs/recipes/when-to-use-plan.md +++ b/docs/recipes/when-to-use-plan.md @@ -1,6 +1,6 @@ # When to use `t.plan()` -Translations: [Español](https://github.com/avajs/ava-docs/blob/master/es_ES/docs/recipes/when-to-use-plan.md), [Français](https://github.com/avajs/ava-docs/blob/master/fr_FR/docs/recipes/when-to-use-plan.md), [Italiano](https://github.com/avajs/ava-docs/blob/master/it_IT/docs/recipes/when-to-use-plan.md), [日本語](https://github.com/avajs/ava-docs/blob/master/ja_JP/docs/recipes/when-to-use-plan.md), [Português](https://github.com/avajs/ava-docs/blob/master/pt_BR/docs/recipes/when-to-use-plan.md), [Русский](https://github.com/avajs/ava-docs/blob/master/ru_RU/docs/recipes/when-to-use-plan.md), [简体中文](https://github.com/avajs/ava-docs/blob/master/zh_CN/docs/recipes/when-to-use-plan.md) +Translations: [Español](https://github.com/avajs/ava-docs/blob/main/es_ES/docs/recipes/when-to-use-plan.md), [Français](https://github.com/avajs/ava-docs/blob/main/fr_FR/docs/recipes/when-to-use-plan.md), [Italiano](https://github.com/avajs/ava-docs/blob/main/it_IT/docs/recipes/when-to-use-plan.md), [日本語](https://github.com/avajs/ava-docs/blob/main/ja_JP/docs/recipes/when-to-use-plan.md), [Português](https://github.com/avajs/ava-docs/blob/main/pt_BR/docs/recipes/when-to-use-plan.md), [Русский](https://github.com/avajs/ava-docs/blob/main/ru_RU/docs/recipes/when-to-use-plan.md), [简体中文](https://github.com/avajs/ava-docs/blob/main/zh_CN/docs/recipes/when-to-use-plan.md) One major difference between AVA and [`tap`](https://github.com/tapjs/node-tap)/[`tape`](https://github.com/substack/tape) is the behavior of `t.plan()`. In AVA, `t.plan()` is only used to assert that the expected number of assertions are called; it does not auto-end the test. diff --git a/docs/support-statement.md b/docs/support-statement.md index 64215e3b4..7bd19507d 100644 --- a/docs/support-statement.md +++ b/docs/support-statement.md @@ -1,6 +1,6 @@ # Supported Node.js versions -Translations: [Français](https://github.com/avajs/ava-docs/blob/master/fr_FR/docs/support-statement.md) +Translations: [Français](https://github.com/avajs/ava-docs/blob/main/fr_FR/docs/support-statement.md) AVA supports the latest release of any major version that [is supported by Node.js itself](https://github.com/nodejs/Release#release-schedule). diff --git a/readme.md b/readme.md index 860210b72..cdada8de4 100644 --- a/readme.md +++ b/readme.md @@ -11,7 +11,7 @@ Read our [contributing guide](.github/CONTRIBUTING.md) if you're looking to cont ![](media/verbose-reporter.png) -Translations: [Español](https://github.com/avajs/ava-docs/blob/master/es_ES/readme.md), [Français](https://github.com/avajs/ava-docs/blob/master/fr_FR/readme.md), [Italiano](https://github.com/avajs/ava-docs/blob/master/it_IT/readme.md), [日本語](https://github.com/avajs/ava-docs/blob/master/ja_JP/readme.md), [한국어](https://github.com/avajs/ava-docs/blob/master/ko_KR/readme.md), [Português](https://github.com/avajs/ava-docs/blob/master/pt_BR/readme.md), [Русский](https://github.com/avajs/ava-docs/blob/master/ru_RU/readme.md), [简体中文](https://github.com/avajs/ava-docs/blob/master/zh_CN/readme.md) +Translations: [Español](https://github.com/avajs/ava-docs/blob/main/es_ES/readme.md), [Français](https://github.com/avajs/ava-docs/blob/main/fr_FR/readme.md), [Italiano](https://github.com/avajs/ava-docs/blob/main/it_IT/readme.md), [日本語](https://github.com/avajs/ava-docs/blob/main/ja_JP/readme.md), [한국어](https://github.com/avajs/ava-docs/blob/main/ko_KR/readme.md), [Português](https://github.com/avajs/ava-docs/blob/main/pt_BR/readme.md), [Русский](https://github.com/avajs/ava-docs/blob/main/ru_RU/readme.md), [简体中文](https://github.com/avajs/ava-docs/blob/main/zh_CN/readme.md) ## Why AVA?