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

@@ -16,7 +16,7 @@ describe('<Checkbox />', () => {
afterEach(() => wrapped?.unmount());
it('includes extra class names when provided', () => {
const classNames = [ 'foo', 'bar', 'baz' ];
const classNames = ['foo', 'bar', 'baz'];
expect.assertions(classNames.length);
classNames.forEach((className) => {
@@ -27,7 +27,7 @@ describe('<Checkbox />', () => {
});
it('marks input as checked if defined', () => {
const checkeds = [ true, false ];
const checkeds = [true, false];
expect.assertions(checkeds.length);
checkeds.forEach((checked) => {
@@ -39,7 +39,7 @@ describe('<Checkbox />', () => {
});
it('renders provided children inside the label', () => {
const labels = [ 'foo', 'bar', 'baz' ];
const labels = ['foo', 'bar', 'baz'];
expect.assertions(labels.length);
labels.forEach((children) => {