|
@ -85,8 +85,8 @@ describe('CustomImageModal Component', () => { |
|
|
const { getByLabelText, changeSelect } = await renderComponent(newImage); |
|
|
const { getByLabelText, changeSelect } = await renderComponent(newImage); |
|
|
const impl = getByLabelText('Command') as HTMLTextAreaElement; |
|
|
const impl = getByLabelText('Command') as HTMLTextAreaElement; |
|
|
expect(impl.value).toContain('lnd'); |
|
|
expect(impl.value).toContain('lnd'); |
|
|
changeSelect('Implementation', 'c-lightning'); |
|
|
changeSelect('Implementation', 'Eclair'); |
|
|
expect(impl.value).toContain('lightningd'); |
|
|
expect(impl.value).toContain('polar-eclair'); |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
it('should display an error notification if fetching docker images fails', async () => { |
|
|
it('should display an error notification if fetching docker images fails', async () => { |
|
|