Skip to content

Commit 3d493bb

Browse files
authored
test(no-expose-after-await): make tests more strict (#2892)
1 parent d8ce7a2 commit 3d493bb

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

tests/lib/rules/no-expose-after-await.js

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,9 @@ tester.run('no-expose-after-await', rule, {
147147
{
148148
message: '`expose` is forbidden after an `await` expression.',
149149
line: 6,
150-
column: 11
150+
column: 11,
151+
endLine: 6,
152+
endColumn: 32
151153
}
152154
]
153155
},
@@ -167,7 +169,9 @@ tester.run('no-expose-after-await', rule, {
167169
{
168170
message: '`expose` is forbidden after an `await` expression.',
169171
line: 6,
170-
column: 11
172+
column: 11,
173+
endLine: 6,
174+
endColumn: 36
171175
}
172176
]
173177
},
@@ -184,7 +188,9 @@ tester.run('no-expose-after-await', rule, {
184188
{
185189
message: '`defineExpose` is forbidden after an `await` expression.',
186190
line: 4,
187-
column: 7
191+
column: 7,
192+
endLine: 4,
193+
endColumn: 34
188194
}
189195
]
190196
}

0 commit comments

Comments
 (0)