Skip to content

Commit

Permalink
Fix links to French translation of docs (#2005)
Browse files Browse the repository at this point in the history
  • Loading branch information
forresst authored and sindresorhus committed Dec 31, 2018
1 parent 2e72fe7 commit f4b2d19
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docs/01-writing-tests.md
@@ -1,5 +1,7 @@
# Writing tests

Translations: [Fran莽ais](https://github.com/avajs/ava-docs/blob/master/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.

You must define all tests synchronously. They can't be defined inside `setTimeout`, `setImmediate`, etc.
Expand Down
2 changes: 2 additions & 0 deletions docs/02-execution-context.md
@@ -1,5 +1,7 @@
# Execution Context (`t` argument)

Translations: [Fran莽ais](https://github.com/avajs/ava-docs/blob/master/fr_FR/docs/02-execution-context.md)

Each test or hook is called with an execution context. By convention it's named `t`.

```js
Expand Down
2 changes: 2 additions & 0 deletions docs/03-assertions.md
@@ -1,5 +1,7 @@
# Assertions

Translations: [Fran莽ais](https://github.com/avajs/ava-docs/blob/master/fr_FR/docs/03-assertions.md)

Assertions are mixed into the [execution object](./02-execution-context.md) provided to each test implementation:

```js
Expand Down
2 changes: 2 additions & 0 deletions docs/04-snapshot-testing.md
@@ -1,5 +1,7 @@
# Snapshot testing

Translations: [Fran莽ais](https://github.com/avajs/ava-docs/blob/master/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 as well as React elements:

```js
Expand Down
2 changes: 2 additions & 0 deletions docs/05-command-line.md
@@ -1,5 +1,7 @@
# CLI

Translations: [Fran莽ais](https://github.com/avajs/ava-docs/blob/master/fr_FR/docs/05-command-line.md)

```console
$ npx ava --help

Expand Down
2 changes: 2 additions & 0 deletions docs/06-configuration.md
@@ -1,5 +1,7 @@
# Configuration

Translations: [Fran莽ais](https://github.com/avajs/ava-docs/blob/master/fr_FR/docs/06-configuration.md)

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.

To ignore a file or directory, prefix the pattern with an `!` (exclamation mark).
Expand Down
2 changes: 2 additions & 0 deletions docs/07-test-timeouts.md
@@ -1,5 +1,7 @@
# Test timeouts

Translations: [Fran莽ais](https://github.com/avajs/ava-docs/blob/master/fr_FR/docs/07-test-timeouts.md)

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.

You can configure timeouts using the `--timeout` [command line option](./05-command-line.md), or in the [configuration](./06-configuration.md).
Expand Down
2 changes: 1 addition & 1 deletion 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/common-pitfalls.md)
Translations: [Fran莽ais](https://github.com/avajs/ava-docs/blob/master/fr_FR/docs/08-common-pitfalls.md)

## ESLint plugin

Expand Down

0 comments on commit f4b2d19

Please sign in to comment.