mirror of
https://gitlab.nic.cz/turris/reforis/foris-js.git
synced 2025-06-16 13:46:16 +02:00
Don't use default exports.
This commit is contained in:
@ -5,15 +5,15 @@
|
||||
* See /LICENSE for more information.
|
||||
*/
|
||||
|
||||
import React from 'react';
|
||||
import React from "react";
|
||||
|
||||
import {render} from 'customTestRender';
|
||||
import { render } from "customTestRender";
|
||||
|
||||
import PasswordInput from '../PasswordInput';
|
||||
import { PasswordInput } from "../PasswordInput";
|
||||
|
||||
describe('<PasswordInput/>', () => {
|
||||
it('Render password input', () => {
|
||||
const {container} = render(
|
||||
describe("<PasswordInput/>", () => {
|
||||
it("Render password input", () => {
|
||||
const { container } = render(
|
||||
<PasswordInput
|
||||
label="Test label"
|
||||
helpText="Some help text"
|
||||
@ -22,6 +22,7 @@ describe('<PasswordInput/>', () => {
|
||||
}}
|
||||
/>
|
||||
);
|
||||
expect(container.firstChild).toMatchSnapshot();
|
||||
expect(container.firstChild)
|
||||
.toMatchSnapshot();
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user