mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-03-17 04:53:49 +00:00
Updated to airbnb coding styles
This commit is contained in:
@@ -58,8 +58,8 @@ describe('serverReducer', () => {
|
||||
}));
|
||||
|
||||
it.each([
|
||||
[ true ],
|
||||
[ false ],
|
||||
[true],
|
||||
[false],
|
||||
])('returns state as it is when trying to set auto-connect on invalid server', (autoConnect) =>
|
||||
expect(reducer(list, {
|
||||
type: SET_AUTO_CONNECT,
|
||||
@@ -149,8 +149,8 @@ describe('serverReducer', () => {
|
||||
|
||||
describe('setAutoConnect', () => {
|
||||
it.each([
|
||||
[ true ],
|
||||
[ false ],
|
||||
[true],
|
||||
[false],
|
||||
])('returns expected action', (autoConnect) => {
|
||||
const serverToEdit = Mock.of<RegularServer>({ id: 'abc123' });
|
||||
const result = setAutoConnect(serverToEdit, autoConnect);
|
||||
|
||||
Reference in New Issue
Block a user