@@ -230,7 +230,7 @@ test("load input outside of workspace", async (t) => {
230
230
createFeatures ( [ ] ) ,
231
231
getRunnerLogger ( true )
232
232
) ;
233
- throw new UserError ( "initConfig did not throw error" ) ;
233
+ throw new Error ( "initConfig did not throw error" ) ;
234
234
} catch ( err ) {
235
235
t . deepEqual (
236
236
err ,
@@ -271,7 +271,7 @@ test("load non-local input with invalid repo syntax", async (t) => {
271
271
createFeatures ( [ ] ) ,
272
272
getRunnerLogger ( true )
273
273
) ;
274
- throw new UserError ( "initConfig did not throw error" ) ;
274
+ throw new Error ( "initConfig did not throw error" ) ;
275
275
} catch ( err ) {
276
276
t . deepEqual (
277
277
err ,
@@ -313,7 +313,7 @@ test("load non-existent input", async (t) => {
313
313
createFeatures ( [ ] ) ,
314
314
getRunnerLogger ( true )
315
315
) ;
316
- throw new UserError ( "initConfig did not throw error" ) ;
316
+ throw new Error ( "initConfig did not throw error" ) ;
317
317
} catch ( err ) {
318
318
t . deepEqual (
319
319
err ,
@@ -1251,7 +1251,7 @@ test("Remote config handles the case where a directory is provided", async (t) =
1251
1251
createFeatures ( [ ] ) ,
1252
1252
getRunnerLogger ( true )
1253
1253
) ;
1254
- throw new UserError ( "initConfig did not throw error" ) ;
1254
+ throw new Error ( "initConfig did not throw error" ) ;
1255
1255
} catch ( err ) {
1256
1256
t . deepEqual (
1257
1257
err ,
@@ -1293,7 +1293,7 @@ test("Invalid format of remote config handled correctly", async (t) => {
1293
1293
createFeatures ( [ ] ) ,
1294
1294
getRunnerLogger ( true )
1295
1295
) ;
1296
- throw new UserError ( "initConfig did not throw error" ) ;
1296
+ throw new Error ( "initConfig did not throw error" ) ;
1297
1297
} catch ( err ) {
1298
1298
t . deepEqual (
1299
1299
err ,
@@ -1339,7 +1339,7 @@ test("No detected languages", async (t) => {
1339
1339
createFeatures ( [ ] ) ,
1340
1340
getRunnerLogger ( true )
1341
1341
) ;
1342
- throw new UserError ( "initConfig did not throw error" ) ;
1342
+ throw new Error ( "initConfig did not throw error" ) ;
1343
1343
} catch ( err ) {
1344
1344
t . deepEqual ( err , new UserError ( configUtils . getNoLanguagesError ( ) ) ) ;
1345
1345
}
@@ -1372,7 +1372,7 @@ test("Unknown languages", async (t) => {
1372
1372
createFeatures ( [ ] ) ,
1373
1373
getRunnerLogger ( true )
1374
1374
) ;
1375
- throw new UserError ( "initConfig did not throw error" ) ;
1375
+ throw new Error ( "initConfig did not throw error" ) ;
1376
1376
} catch ( err ) {
1377
1377
t . deepEqual (
1378
1378
err ,
@@ -1567,7 +1567,7 @@ function doInvalidInputTest(
1567
1567
createFeatures ( [ ] ) ,
1568
1568
getRunnerLogger ( true )
1569
1569
) ;
1570
- throw new UserError ( "initConfig did not throw error" ) ;
1570
+ throw new Error ( "initConfig did not throw error" ) ;
1571
1571
} catch ( err ) {
1572
1572
t . deepEqual (
1573
1573
err ,
0 commit comments