Fix prettier in react plugin template

Signed-off-by: Philipp Hugenroth <philipph@spotify.com>
This commit is contained in:
Philipp Hugenroth
2024-02-21 15:33:54 +01:00
parent e57f7d77cb
commit 058d06ee33
3 changed files with 7 additions and 7 deletions
@@ -5,14 +5,14 @@ import { ExampleComponent } from './ExampleComponent';
describe('ExampleComponent', () => {
it('should render', async () => {
await renderInTestApp(<ExampleComponent />)
await renderInTestApp(<ExampleComponent />);
expect(screen.getByText('Hello World')).toBeInTheDocument();
});
it('should display a custom message', async () => {
await renderInTestApp(<ExampleComponent message={'Hello Example'} />)
await renderInTestApp(<ExampleComponent message="Hello Example" />);
expect(screen.getByText('Hello Example')).toBeInTheDocument();
})
})
});
});
@@ -11,5 +11,5 @@ export function useExample() {
useEffect(() => {
alertApi.post({ message: 'Hello World!' });
}, [alertApi])
}, [alertApi]);
}
@@ -8,5 +8,5 @@
// In this package you might for example export components or hooks
// that are useful to other plugins or modules.
export * from './components'
export * from './hooks'
export * from './components';
export * from './hooks';