mirror of
https://gitlab.nic.cz/turris/reforis/foris-js.git
synced 2025-06-16 13:46:16 +02:00
Fix lint.
This commit is contained in:
@ -9,7 +9,7 @@ import React from 'react';
|
||||
|
||||
import {render} from 'customTestRender';
|
||||
|
||||
import {Button} from '../Button'
|
||||
import Button from '../Button'
|
||||
|
||||
describe('<Button />', () => {
|
||||
it('Render button correctly', () => {
|
||||
|
@ -9,7 +9,7 @@ import React from 'react';
|
||||
|
||||
import {render} from 'customTestRender';
|
||||
|
||||
import {CheckBox} from '../Checkbox'
|
||||
import CheckBox from '../Checkbox'
|
||||
|
||||
describe('<Checkbox/>', () => {
|
||||
it('Render checkbox', () => {
|
||||
|
@ -9,7 +9,7 @@ import React from 'react';
|
||||
|
||||
import {render} from 'customTestRender';
|
||||
|
||||
import {NumberInput} from '../NumberInput';
|
||||
import NumberInput from '../NumberInput';
|
||||
|
||||
|
||||
describe('<NumberInput/>', () => {
|
||||
|
@ -9,7 +9,7 @@ import React from 'react';
|
||||
|
||||
import {render} from 'customTestRender';
|
||||
|
||||
import {PasswordInput} from '../PasswordInput';
|
||||
import PasswordInput from '../PasswordInput';
|
||||
|
||||
describe('<PasswordInput/>', () => {
|
||||
it('Render password input', () => {
|
||||
|
@ -9,7 +9,7 @@ import React from 'react';
|
||||
|
||||
import {render} from 'customTestRender';
|
||||
|
||||
import {RadioSet} from '../RadioSet';
|
||||
import RadioSet from '../RadioSet';
|
||||
|
||||
const TEST_CHOICES = [
|
||||
{label: 'label', value: 'value'},
|
||||
|
@ -9,7 +9,7 @@ import React from 'react';
|
||||
|
||||
import {fireEvent, getByDisplayValue, getByText, render} from 'customTestRender';
|
||||
|
||||
import {Select} from '../Select';
|
||||
import Select from '../Select';
|
||||
|
||||
const TEST_CHOICES = {
|
||||
'1': 'one',
|
||||
|
@ -9,7 +9,7 @@ import React from 'react';
|
||||
|
||||
import {render} from 'customTestRender';
|
||||
|
||||
import {TextInput} from '../TextInput';
|
||||
import TextInput from '../TextInput';
|
||||
|
||||
describe('<TextInput/>', () => {
|
||||
it('Render text input', () => {
|
||||
|
@ -3,6 +3,7 @@
|
||||
exports[`<Button /> Render button correctly 1`] = `
|
||||
<button
|
||||
class="btn btn-primary "
|
||||
type="button"
|
||||
>
|
||||
|
||||
|
||||
@ -13,6 +14,7 @@ exports[`<Button /> Render button correctly 1`] = `
|
||||
exports[`<Button /> Render button with custom classes 1`] = `
|
||||
<button
|
||||
class="btn one two three"
|
||||
type="button"
|
||||
>
|
||||
|
||||
|
||||
@ -23,6 +25,7 @@ exports[`<Button /> Render button with custom classes 1`] = `
|
||||
exports[`<Button /> Render button with spinner 1`] = `
|
||||
<button
|
||||
class="btn btn-primary "
|
||||
type="button"
|
||||
>
|
||||
<span
|
||||
aria-hidden="true"
|
||||
|
Reference in New Issue
Block a user