mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-03-10 17:43:51 +00:00
Updated to airbnb coding styles
This commit is contained in:
@@ -10,8 +10,8 @@ import reducer, {
|
||||
describe('sidebarReducer', () => {
|
||||
describe('reducer', () => {
|
||||
it.each([
|
||||
[ SIDEBAR_PRESENT, { sidebarPresent: true }],
|
||||
[ SIDEBAR_NOT_PRESENT, { sidebarPresent: false }],
|
||||
[SIDEBAR_PRESENT, { sidebarPresent: true }],
|
||||
[SIDEBAR_NOT_PRESENT, { sidebarPresent: false }],
|
||||
])('returns expected on %s', (type, expected) => {
|
||||
expect(reducer(Mock.all<Sidebar>(), { type })).toEqual(expected);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user