Skip to content

Commit

Permalink
fix lint isues
Browse files Browse the repository at this point in the history
  • Loading branch information
ykaiboussiSO committed Jan 15, 2025
1 parent 672ce45 commit 53cd3dd
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion cmd/e2e/prisma/cleanup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export class DbOPS {
qaEmail: string;

constructor(qaEmail: string) {
this.qaEmail = qaEmail;
this.qaEmail = qaEmail;
}
// Delete test data in dev environment only
async deleteUsers() {
Expand Down
8 changes: 4 additions & 4 deletions cmd/e2e/src/helpers/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,23 +16,23 @@

import * as fs from 'node:fs';

const createSupportFolders = function(path: string): void {
const createSupportFolders = function (path: string): void {
if (!fs.existsSync(path)) {
fs.mkdirSync(path, { recursive: true });
console.log(`${path} folder is created`);
} else {
console.log(`${path} folder exists`);
}
}
};

const createRerunFile = function(fileName: string): void {
const createRerunFile = function (fileName: string): void {
if (!fs.existsSync(fileName)) {
fs.writeFileSync(fileName, '');
console.log(`${fileName} is created`);
} else {
console.log(`${fileName} file exists`);
}
}
};

const reRunFile = '@rerun.txt';
createRerunFile(reRunFile);
Expand Down
2 changes: 1 addition & 1 deletion cmd/e2e/src/support/hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ After(async function eachScenario({ result, pickle }) {
db.deleteUsers();
});

AfterAll(async function testTeardown () {
AfterAll(async function testTeardown() {
await fx.closeBrowser();
});
18 changes: 9 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10456,15 +10456,6 @@ __metadata:
languageName: node
linkType: hard

"prettier@npm:3.4.2":
version: 3.4.2
resolution: "prettier@npm:3.4.2"
bin:
prettier: bin/prettier.cjs
checksum: 061c84513db62d3944c8dc8df36584dad82883ce4e49efcdbedd8703dce5b173c33fd9d2a4e1725d642a3b713c932b55418342eaa347479bc4a9cca114a04cd0
languageName: node
linkType: hard

"prettier-plugin-organize-imports@npm:^4.1.0":
version: 4.1.0
resolution: "prettier-plugin-organize-imports@npm:4.1.0"
Expand All @@ -10479,6 +10470,15 @@ __metadata:
languageName: node
linkType: hard

"prettier@npm:3.4.2":
version: 3.4.2
resolution: "prettier@npm:3.4.2"
bin:
prettier: bin/prettier.cjs
checksum: 061c84513db62d3944c8dc8df36584dad82883ce4e49efcdbedd8703dce5b173c33fd9d2a4e1725d642a3b713c932b55418342eaa347479bc4a9cca114a04cd0
languageName: node
linkType: hard

"prettier@npm:^2":
version: 2.8.8
resolution: "prettier@npm:2.8.8"
Expand Down

0 comments on commit 53cd3dd

Please sign in to comment.