Skip to content

Commit f4b2d19

Browse files
forresstsindresorhus
authored andcommitted
Fix links to French translation of docs (#2005)
1 parent 2e72fe7 commit f4b2d19

File tree

8 files changed

+15
-1
lines changed

8 files changed

+15
-1
lines changed

docs/01-writing-tests.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Writing tests
22

3+
Translations: [Français](https://github.com/avajs/ava-docs/blob/master/fr_FR/docs/01-writing-tests.md)
4+
35
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.
46

57
You must define all tests synchronously. They can't be defined inside `setTimeout`, `setImmediate`, etc.

docs/02-execution-context.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Execution Context (`t` argument)
22

3+
Translations: [Français](https://github.com/avajs/ava-docs/blob/master/fr_FR/docs/02-execution-context.md)
4+
35
Each test or hook is called with an execution context. By convention it's named `t`.
46

57
```js

docs/03-assertions.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Assertions
22

3+
Translations: [Français](https://github.com/avajs/ava-docs/blob/master/fr_FR/docs/03-assertions.md)
4+
35
Assertions are mixed into the [execution object](./02-execution-context.md) provided to each test implementation:
46

57
```js

docs/04-snapshot-testing.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Snapshot testing
22

3+
Translations: [Français](https://github.com/avajs/ava-docs/blob/master/fr_FR/docs/04-snapshot-testing.md)
4+
35
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 as well as React elements:
46

57
```js

docs/05-command-line.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# CLI
22

3+
Translations: [Français](https://github.com/avajs/ava-docs/blob/master/fr_FR/docs/05-command-line.md)
4+
35
```console
46
$ npx ava --help
57

docs/06-configuration.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Configuration
22

3+
Translations: [Français](https://github.com/avajs/ava-docs/blob/master/fr_FR/docs/06-configuration.md)
4+
35
All of the [CLI options](./05-command-line.md) can be configured in the `ava` section of either your `package.json` file, or an `ava.config.js` 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.
46

57
To ignore a file or directory, prefix the pattern with an `!` (exclamation mark).

docs/07-test-timeouts.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Test timeouts
22

3+
Translations: [Français](https://github.com/avajs/ava-docs/blob/master/fr_FR/docs/07-test-timeouts.md)
4+
35
Timeouts in AVA behave differently than in other test frameworks. AVA resets a timer after each test, forcing tests to quit if no new test results were received within the specified timeout. This can be used to handle stalled tests.
46

57
You can configure timeouts using the `--timeout` [command line option](./05-command-line.md), or in the [configuration](./06-configuration.md).

docs/08-common-pitfalls.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Common Pitfalls
22

3-
Translations: [Français](https://github.com/avajs/ava-docs/blob/master/fr_FR/docs/common-pitfalls.md)
3+
Translations: [Français](https://github.com/avajs/ava-docs/blob/master/fr_FR/docs/08-common-pitfalls.md)
44

55
## ESLint plugin
66

0 commit comments

Comments
 (0)