Update project with latest eslint rules

This commit is contained in:
Debajyoti Halder
2021-01-29 11:55:12 +05:30
parent da661f836e
commit 6106345e6d
49 changed files with 173 additions and 157 deletions
@@ -28,9 +28,9 @@ jest.mock('fs-extra', () => {
const fsOriginal = jest.requireActual('fs-extra');
return {
...fsOriginal,
access: jest.fn().mockImplementation((path, checkType, callback) => {
access: jest.fn().mockImplementation((paths, checkType, callback) => {
if (
path.includes('http://localhost:7000/static') &&
paths.includes('http://localhost:7000/static') &&
checkType === fs.constants.F_OK
) {
callback();