fix: revert mediaSelected change
This commit is contained in:
parent
fc09c22dec
commit
24924d7931
|
|
@ -263,7 +263,7 @@ Then test the component via testing the story:
|
||||||
|
|
||||||
```js title="input-media.test.spec.tsx"
|
```js title="input-media.test.spec.tsx"
|
||||||
test('changes the image', async ({ mount }) => {
|
test('changes the image', async ({ mount }) => {
|
||||||
let mediaSelected: string;
|
let mediaSelected: string | null = null;
|
||||||
|
|
||||||
const component = await mount(
|
const component = await mount(
|
||||||
<InputMediaForTest
|
<InputMediaForTest
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue