diff --git a/tests/Unit/Converters/ConverterRegistryTargetsTest.php b/tests/Unit/Converters/ConverterRegistryTargetsTest.php index 60f2e3f..c2bddc5 100644 --- a/tests/Unit/Converters/ConverterRegistryTargetsTest.php +++ b/tests/Unit/Converters/ConverterRegistryTargetsTest.php @@ -14,3 +14,16 @@ expect($targets)->toContain('pdf'); expect($targets)->not->toContain('mp3'); })->skip('CONV-056 wires the registry binding; this test will become live then.'); + +it('lists jpg target capabilities', function () { + $registry = app(ConverterRegistry::class); + + $targets = collect($registry->targetsFor('jpg')) + ->map(fn ($target) => $target->format) + ->all(); + + expect($targets)->toContain('png'); + expect($targets)->toContain('webp'); + expect($targets)->toContain('pdf'); + expect($targets)->not->toContain('mp3'); +})->skip('CONV-056 wires the registry binding; this test will become live then.');