Updated to airbnb coding styles

This commit is contained in:
Alejandro Celaya
2022-03-26 12:17:42 +01:00
parent 4e9b19afd1
commit a2df486280
239 changed files with 2210 additions and 3549 deletions

View File

@@ -15,8 +15,8 @@ describe('<ExportBtn />', () => {
afterEach(() => wrapper?.unmount());
it.each([
[ true, 'Exporting...' ],
[ false, 'Export (' ],
[true, 'Exporting...'],
[false, 'Export ('],
])('renders a button', (loading, text) => {
const wrapper = createWrapper(undefined, loading);
@@ -27,10 +27,10 @@ describe('<ExportBtn />', () => {
});
it.each([
[ undefined, '0' ],
[ 10, '10' ],
[ 10_000, '10,000' ],
[ 10_000_000, '10,000,000' ],
[undefined, '0'],
[10, '10'],
[10_000, '10,000'],
[10_000_000, '10,000,000'],
])('renders expected amount', (amount, expectedRenderedAmount) => {
const wrapper = createWrapper(amount);