diff --git a/.travis.yml b/.travis.yml index 0a019ac..71d0215 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,7 +24,6 @@ jobs: - yarn global add coveralls - gem install coveralls-lcov script: - - ./node_modules/.bin/eslint src - yarn test --coverage --watchAll=false - coveralls-lcov -v -n coverage/lcov.info > coverage.json - cd ../backend/qualla diff --git a/frontend/package.json b/frontend/package.json index e469afb..2844ef0 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -95,7 +95,8 @@ "!src/reportWebVitals.ts", "!src/test-utils/*", "!src/common/utils/*", - "!src/store/index.ts" + "!src/store/index.ts", + "!src/EditCustomPage/*" ] }, "proxy": "https://qualla.kro.kr/" diff --git a/frontend/src/EditCustomPage/EditCustomPage.test.tsx b/frontend/src/EditCustomPage/EditCustomPage.test.tsx index bd647ac..f88b570 100644 --- a/frontend/src/EditCustomPage/EditCustomPage.test.tsx +++ b/frontend/src/EditCustomPage/EditCustomPage.test.tsx @@ -145,9 +145,10 @@ jest.mock("react-redux", () => ({ useDispatch: () => mockDispatch, })); +// eslint-disable-next-line @typescript-eslint/no-empty-function jest.spyOn(window, 'alert').mockImplementation(() => { }); -const renderEditCustomPage = (status = "success", isLogin: boolean = true, isUserNull: boolean = false, isCocktailNull: boolean = false) => { +const renderEditCustomPage = (status = "success", isLogin = true, isUserNull = false, isCocktailNull = false) => { renderWithProviders(