Chore: Update eslint configuration (#224)
- Update missing dev dependencies - Fix root .eslintrc.json and client and server versions - Add lint.yaml workflow - Remove babel settings - Clean up and fix eslint and ts errors
This commit is contained in:
@@ -3,10 +3,11 @@
|
||||
// This allows using stealth mode.
|
||||
|
||||
import fs from 'fs';
|
||||
const fsPromises = fs.promises;
|
||||
import os from 'os';
|
||||
import path from 'path';
|
||||
|
||||
const fsPromises = fs.promises;
|
||||
|
||||
const DIR = path.join(os.tmpdir(), 'jest_puppeteer_global_setup');
|
||||
export default async function globalTeardown() {
|
||||
// close the browser instance
|
||||
@@ -14,4 +15,4 @@ export default async function globalTeardown() {
|
||||
|
||||
// clean-up the wsEndpoint file
|
||||
await fsPromises.rmdir(DIR, { recursive: true, force: true });
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user