@@ -348,69 +348,69 @@ describe('Dev Commands', () => {
348
348
const fixturePath = path . join ( fixturesDir , 'go.mod' )
349
349
if ( fs . existsSync ( fixturePath ) ) {
350
350
const result = await testFixture ( fixturePath )
351
- // go.mod is not currently recognized as a dependency file by Launchpad
351
+ // go.mod is now recognized as a dependency file by Launchpad's enhanced detection
352
352
expect ( result . exitCode ) . toBe ( 0 )
353
- expect ( result . stdout ) . toContain ( 'No dependency file found ' )
353
+ expect ( result . stdout ) . toContain ( 'Installing ' )
354
354
}
355
355
} , 60000 )
356
356
357
357
it ( 'should handle Cargo.toml fixture' , async ( ) => {
358
358
const fixturePath = path . join ( fixturesDir , 'Cargo.toml' )
359
359
if ( fs . existsSync ( fixturePath ) ) {
360
360
const result = await testFixture ( fixturePath )
361
- // Cargo.toml is not currently recognized as a dependency file by Launchpad
361
+ // Cargo.toml is now recognized as a dependency file by Launchpad's enhanced detection
362
362
expect ( result . exitCode ) . toBe ( 0 )
363
- expect ( result . stdout ) . toContain ( 'No dependency file found ' )
363
+ expect ( result . stdout ) . toContain ( 'Installing ' )
364
364
}
365
365
} , 60000 )
366
366
367
367
it ( 'should handle .node-version fixture' , async ( ) => {
368
368
const fixturePath = path . join ( fixturesDir , '.node-version' )
369
369
if ( fs . existsSync ( fixturePath ) ) {
370
370
const result = await testFixture ( fixturePath )
371
- // .node-version is not currently recognized as a dependency file by Launchpad
371
+ // .node-version is now recognized as a dependency file by Launchpad's enhanced detection
372
372
expect ( result . exitCode ) . toBe ( 0 )
373
- expect ( result . stdout ) . toContain ( 'No dependency file found ' )
373
+ expect ( result . stdout ) . toContain ( 'Installing ' )
374
374
}
375
375
} , 60000 )
376
376
377
377
it ( 'should handle .ruby-version fixture' , async ( ) => {
378
378
const fixturePath = path . join ( fixturesDir , '.ruby-version' )
379
379
if ( fs . existsSync ( fixturePath ) ) {
380
380
const result = await testFixture ( fixturePath )
381
- // .ruby-version is not currently recognized as a dependency file by Launchpad
381
+ // .ruby-version is now recognized as a dependency file by Launchpad's enhanced detection
382
382
expect ( result . exitCode ) . toBe ( 0 )
383
- expect ( result . stdout ) . toContain ( 'No dependency file found ' )
383
+ expect ( result . stdout ) . toContain ( 'Installing ' )
384
384
}
385
385
} , 60000 )
386
386
387
387
it ( 'should handle deno.jsonc fixture' , async ( ) => {
388
388
const fixturePath = path . join ( fixturesDir , 'deno.jsonc' )
389
389
if ( fs . existsSync ( fixturePath ) ) {
390
390
const result = await testFixture ( fixturePath )
391
- // deno.jsonc is not currently recognized as a dependency file by Launchpad
391
+ // deno.jsonc is now recognized as a dependency file by Launchpad's enhanced detection
392
392
expect ( result . exitCode ) . toBe ( 0 )
393
- expect ( result . stdout ) . toContain ( 'No dependency file found ' )
393
+ expect ( result . stdout ) . toContain ( 'Installing ' )
394
394
}
395
395
} , 60000 )
396
396
397
397
it ( 'should handle Gemfile fixture' , async ( ) => {
398
398
const fixturePath = path . join ( fixturesDir , 'Gemfile' )
399
399
if ( fs . existsSync ( fixturePath ) ) {
400
400
const result = await testFixture ( fixturePath )
401
- // Gemfile is not currently recognized as a dependency file by Launchpad
401
+ // Gemfile is now recognized as a dependency file by Launchpad's enhanced detection
402
402
expect ( result . exitCode ) . toBe ( 0 )
403
- expect ( result . stdout ) . toContain ( 'No dependency file found ' )
403
+ expect ( result . stdout ) . toContain ( 'Installing ' )
404
404
}
405
405
} , 60000 )
406
406
407
407
it ( 'should handle requirements.txt fixture' , async ( ) => {
408
408
const fixturePath = path . join ( fixturesDir , 'requirements.txt' )
409
409
if ( fs . existsSync ( fixturePath ) ) {
410
410
const result = await testFixture ( fixturePath )
411
- // requirements.txt is not currently recognized as a dependency file by Launchpad
411
+ // requirements.txt is now recognized as a dependency file by Launchpad's enhanced detection
412
412
expect ( result . exitCode ) . toBe ( 0 )
413
- expect ( result . stdout ) . toContain ( 'No dependency file found ' )
413
+ expect ( result . stdout ) . toContain ( 'Installing ' )
414
414
}
415
415
} , 60000 )
416
416
@@ -441,39 +441,39 @@ describe('Dev Commands', () => {
441
441
const fixturePath = path . join ( fixturesDir , 'deno.json' , 'std' )
442
442
if ( fs . existsSync ( fixturePath ) ) {
443
443
const result = await testFixture ( fixturePath )
444
- // deno.json is not currently recognized as a dependency file by Launchpad
444
+ // deno.json is now recognized as a dependency file by Launchpad's enhanced detection
445
445
expect ( result . exitCode ) . toBe ( 0 )
446
- expect ( result . stdout ) . toContain ( 'No dependency file found ' )
446
+ expect ( result . stdout ) . toContain ( 'Installing ' )
447
447
}
448
448
} , 60000 )
449
449
450
450
it ( 'should handle pyproject.toml/std fixture' , async ( ) => {
451
451
const fixturePath = path . join ( fixturesDir , 'pyproject.toml' , 'std' )
452
452
if ( fs . existsSync ( fixturePath ) ) {
453
453
const result = await testFixture ( fixturePath )
454
- // pyproject.toml is not currently recognized as a dependency file by Launchpad
454
+ // pyproject.toml is now recognized as a dependency file by Launchpad's enhanced detection
455
455
expect ( result . exitCode ) . toBe ( 0 )
456
- expect ( result . stdout ) . toContain ( 'No dependency file found ' )
456
+ expect ( result . stdout ) . toContain ( 'Installing ' )
457
457
}
458
458
} , 60000 )
459
459
460
460
it ( 'should handle action.yml/std fixture' , async ( ) => {
461
461
const fixturePath = path . join ( fixturesDir , 'action.yml' , 'std' )
462
462
if ( fs . existsSync ( fixturePath ) ) {
463
463
const result = await testFixture ( fixturePath )
464
- // action.yml is not currently recognized as a dependency file by Launchpad
464
+ // action.yml is now recognized as a dependency file by Launchpad's enhanced detection
465
465
expect ( result . exitCode ) . toBe ( 0 )
466
- expect ( result . stdout ) . toContain ( 'No dependency file found ' )
466
+ expect ( result . stdout ) . toContain ( 'Installing ' )
467
467
}
468
468
} , 60000 )
469
469
470
470
it ( 'should handle python-version/std fixture' , async ( ) => {
471
471
const fixturePath = path . join ( fixturesDir , 'python-version' , 'std' )
472
472
if ( fs . existsSync ( fixturePath ) ) {
473
473
const result = await testFixture ( fixturePath )
474
- // python-version is not currently recognized as a dependency file by Launchpad
474
+ // . python-version is now recognized as a dependency file by Launchpad's enhanced detection
475
475
expect ( result . exitCode ) . toBe ( 0 )
476
- expect ( result . stdout ) . toContain ( 'No dependency file found ' )
476
+ expect ( result . stdout ) . toContain ( 'Installing ' )
477
477
}
478
478
} , 60000 )
479
479
0 commit comments