@@ -10,7 +10,7 @@ For example, titles like `'Should throw when invalid.'`, `'Should fail when call
10
10
## Fail
11
11
12
12
``` js
13
- /* eslint ava/test-title: ["error", {format: "^Should"}] */
13
+ /* eslint ava/test-title-format : ["error", {format: "^Should"}] */
14
14
import test from ' ava' ;
15
15
16
16
test (' Not starting with `Should`' , t => {
@@ -19,7 +19,7 @@ test('Not starting with `Should`', t => {
19
19
```
20
20
21
21
``` js
22
- /* eslint ava/test-title: ["error", {format: "\\.$"}] */
22
+ /* eslint ava/test-title-format : ["error", {format: "\\.$"}] */
23
23
import test from ' ava' ;
24
24
25
25
test (' Doesn\' t end with a dot' , t => {
@@ -31,7 +31,7 @@ test('Doesn\'t end with a dot', t => {
31
31
## Pass
32
32
33
33
``` js
34
- /* eslint ava/test-title: ["error", {format: "^Should"}] */
34
+ /* eslint ava/test-title-format : ["error", {format: "^Should"}] */
35
35
import test from ' ava' ;
36
36
37
37
test (' Should pass tests' , t => {
@@ -44,7 +44,7 @@ test('Should behave as expected', t => {
44
44
```
45
45
46
46
``` js
47
- /* eslint ava/test-title: ["error", {format: "\\.$"}] */
47
+ /* eslint ava/test-title-format : ["error", {format: "\\.$"}] */
48
48
import test from ' ava' ;
49
49
50
50
test (' End with a dot.' , t => {
0 commit comments