From fe55b0be9de82cc7e3d7b8f2bfeb16655ea47564 Mon Sep 17 00:00:00 2001 From: Pig Fang Date: Fri, 12 Jul 2019 22:41:44 +0800 Subject: [PATCH] Fix linting errors --- .eslintignore | 1 + resources/assets/tests/views/auth/Login.test.ts | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.eslintignore b/.eslintignore index 81a2e8cc..e14c8cb9 100644 --- a/.eslintignore +++ b/.eslintignore @@ -2,3 +2,4 @@ public/ vendor/ coverage/ plugins/ +laradock/ diff --git a/resources/assets/tests/views/auth/Login.test.ts b/resources/assets/tests/views/auth/Login.test.ts index c1e75af8..763641a9 100644 --- a/resources/assets/tests/views/auth/Login.test.ts +++ b/resources/assets/tests/views/auth/Login.test.ts @@ -25,7 +25,9 @@ test('login', async () => { .mockResolvedValueOnce({ code: 1, data: { login_fails: 4 } }) .mockResolvedValueOnce({ code: 1, data: { login_fails: 4 } }) .mockResolvedValueOnce({ code: 1, data: { login_fails: 4 } }) - .mockResolvedValueOnce({ code: 0, message: 'ok', data: { redirectTo: '' } }) + .mockResolvedValueOnce({ + code: 0, message: 'ok', data: { redirectTo: '' }, + }) const wrapper = mount(Login, { stubs: { Captcha } }) const form = wrapper.find('form') const warning = wrapper.find('.callout-warning')