add some eslint rules for testing-library use in tests
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
@@ -40,7 +40,7 @@ describe('Select', () => {
|
||||
expect(rendered.getAllByText(testLabel)).toHaveLength(2);
|
||||
});
|
||||
|
||||
describe('when the user hasn`t clicked on it', () => {
|
||||
describe("when the user hasn't clicked on it", () => {
|
||||
it('should only render the current select item', async () => {
|
||||
const rendered = await renderInTestApp(
|
||||
<SelectComponent
|
||||
|
||||
Reference in New Issue
Block a user