mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-05-29 16:46:16 +00:00
Updated to airbnb coding styles
This commit is contained in:
@@ -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],
|
||||
},
|
||||
})),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user