@@ -160,7 +160,7 @@ describe("CascadingConfigArrayFactory", () => {
160160
161161 // no warning.
162162 describe ( "when it lints 'subdir/exist-with-root/test.js'" , ( ) => {
163- beforeEach ( async ( ) => {
163+ beforeEach ( async ( ) => {
164164 config = factory . getConfigArrayForFile ( "exist-with-root/test.js" ) ;
165165 await delay ( ) ;
166166 } ) ;
@@ -179,7 +179,7 @@ describe("CascadingConfigArrayFactory", () => {
179179
180180 // no warning.
181181 describe ( "when it lints 'subdir/exist/test.js'" , ( ) => {
182- beforeEach ( async ( ) => {
182+ beforeEach ( async ( ) => {
183183 config = factory . getConfigArrayForFile ( "exist/test.js" ) ;
184184 await delay ( ) ;
185185 } ) ;
@@ -198,7 +198,7 @@ describe("CascadingConfigArrayFactory", () => {
198198
199199 // no warning
200200 describe ( "when it lints 'subdir/not-exist/test.js'" , ( ) => {
201- beforeEach ( async ( ) => {
201+ beforeEach ( async ( ) => {
202202 config = factory . getConfigArrayForFile ( "not-exist/test.js" ) ;
203203 await delay ( ) ;
204204 } ) ;
@@ -240,7 +240,7 @@ describe("CascadingConfigArrayFactory", () => {
240240
241241 // Project's config file has `root:true`, then no warning.
242242 describe ( "when it lints 'subdir/exist-with-root/test.js'" , ( ) => {
243- beforeEach ( async ( ) => {
243+ beforeEach ( async ( ) => {
244244 config = factory . getConfigArrayForFile ( "exist-with-root/test.js" ) ;
245245 await delay ( ) ;
246246 } ) ;
@@ -259,7 +259,7 @@ describe("CascadingConfigArrayFactory", () => {
259259
260260 // Project's config file doesn't have `root:true` and home is ancestor, then ESLINT_PERSONAL_CONFIG_SUPPRESS.
261261 describe ( "when it lints 'subdir/exist/test.js'" , ( ) => {
262- beforeEach ( async ( ) => {
262+ beforeEach ( async ( ) => {
263263 config = factory . getConfigArrayForFile ( "exist/test.js" ) ;
264264 await delay ( ) ;
265265 } ) ;
@@ -286,7 +286,7 @@ describe("CascadingConfigArrayFactory", () => {
286286 * In this case, ESLint will continue to use `~/.eslintrc.json` even if personal config file feature is removed.
287287 */
288288 describe ( "when it lints 'subdir/not-exist/test.js'" , ( ) => {
289- beforeEach ( async ( ) => {
289+ beforeEach ( async ( ) => {
290290 config = factory . getConfigArrayForFile ( "not-exist/test.js" ) ;
291291 await delay ( ) ;
292292 } ) ;
@@ -328,7 +328,7 @@ describe("CascadingConfigArrayFactory", () => {
328328
329329 // Project's config file has `root:true`, then no warning.
330330 describe ( "when it lints 'exist-with-root/test.js'" , ( ) => {
331- beforeEach ( async ( ) => {
331+ beforeEach ( async ( ) => {
332332 config = factory . getConfigArrayForFile ( "exist-with-root/test.js" ) ;
333333 await delay ( ) ;
334334 } ) ;
@@ -347,7 +347,7 @@ describe("CascadingConfigArrayFactory", () => {
347347
348348 // Project's config file doesn't have `root:true` but home is not ancestor, then no warning.
349349 describe ( "when it lints 'exist/test.js'" , ( ) => {
350- beforeEach ( async ( ) => {
350+ beforeEach ( async ( ) => {
351351 config = factory . getConfigArrayForFile ( "exist/test.js" ) ;
352352 await delay ( ) ;
353353 } ) ;
@@ -366,7 +366,7 @@ describe("CascadingConfigArrayFactory", () => {
366366
367367 // Project's config file doesn't exist and home is not ancestor, then ESLINT_PERSONAL_CONFIG_LOAD.
368368 describe ( "when it lints 'not-exist/test.js'" , ( ) => {
369- beforeEach ( async ( ) => {
369+ beforeEach ( async ( ) => {
370370 config = factory . getConfigArrayForFile ( "not-exist/test.js" ) ;
371371 await delay ( ) ;
372372 } ) ;
@@ -407,7 +407,7 @@ describe("CascadingConfigArrayFactory", () => {
407407 } ) ;
408408
409409 describe ( "when it lints 'subdir/exist/test.js'" , ( ) => {
410- beforeEach ( async ( ) => {
410+ beforeEach ( async ( ) => {
411411 config = factory . getConfigArrayForFile ( "exist/test.js" ) ;
412412 await delay ( ) ;
413413 } ) ;
@@ -436,7 +436,7 @@ describe("CascadingConfigArrayFactory", () => {
436436 } ) ;
437437
438438 describe ( "when it lints 'not-exist/test.js'" , ( ) => {
439- beforeEach ( async ( ) => {
439+ beforeEach ( async ( ) => {
440440 config = factory . getConfigArrayForFile ( "not-exist/test.js" , { ignoreNotFoundError : true } ) ;
441441 await delay ( ) ;
442442 } ) ;
@@ -1514,7 +1514,7 @@ describe("CascadingConfigArrayFactory", () => {
15141514 process . removeListener ( "warning" , onWarning ) ;
15151515 } ) ;
15161516
1517- it ( "should emit a deprecation warning if 'ecmaFeatures' is given." , async ( ) => {
1517+ it ( "should emit a deprecation warning if 'ecmaFeatures' is given." , async ( ) => {
15181518 getConfig ( factory , "ecma-features/test.js" ) ;
15191519
15201520 // Wait for "warning" event.
0 commit comments