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

@@ -62,8 +62,8 @@ describe('shortUrlDetailReducer', () => {
});
it.each([
[ undefined ],
[ Mock.all<ShortUrlsList>() ],
[undefined],
[Mock.all<ShortUrlsList>()],
[
Mock.of<ShortUrlsList>({
shortUrls: { data: [] },
@@ -72,7 +72,7 @@ describe('shortUrlDetailReducer', () => {
[
Mock.of<ShortUrlsList>({
shortUrls: {
data: [ Mock.of<ShortUrl>({ shortCode: 'this_will_not_match' }) ],
data: [Mock.of<ShortUrl>({ shortCode: 'this_will_not_match' })],
},
}),
],
@@ -96,7 +96,7 @@ describe('shortUrlDetailReducer', () => {
dispatchMock,
buildGetState(Mock.of<ShortUrlsList>({
shortUrls: {
data: [ foundShortUrl ],
data: [foundShortUrl],
},
})),
);