From 08aa02c115793177dbbc1f745355bba79e266efb Mon Sep 17 00:00:00 2001 From: sunnydanu Date: Mon, 28 Oct 2024 19:59:09 +0530 Subject: [PATCH] fix(lint): lint issue fixed --- .../argon2-hash-generator.e2e.spec.ts | 6 +- .../argon2-hash-generator.vue | 70 ++++++++++--------- src/tools/bcrypt/bcrypt.vue | 43 +++++++----- src/tools/index.ts | 7 +- 4 files changed, 68 insertions(+), 58 deletions(-) diff --git a/src/tools/argon2-hash-generator/argon2-hash-generator.e2e.spec.ts b/src/tools/argon2-hash-generator/argon2-hash-generator.e2e.spec.ts index 4492c1ea..fbabcc9b 100644 --- a/src/tools/argon2-hash-generator/argon2-hash-generator.e2e.spec.ts +++ b/src/tools/argon2-hash-generator/argon2-hash-generator.e2e.spec.ts @@ -1,4 +1,4 @@ -import { test, expect } from '@playwright/test'; +import { expect, test } from '@playwright/test'; test.describe('Tool - Argon2 hash generator', () => { test.beforeEach(async ({ page }) => { @@ -12,13 +12,13 @@ test.describe('Tool - Argon2 hash generator', () => { test('hash a string a verify that the result match', async ({ page }) => { await page.getByTestId('input').fill('azerty'); - await new Promise((resolve) => setTimeout(resolve, 500)); + await new Promise(resolve => setTimeout(resolve, 500)); const hash = await page.getByTestId('hash').inputValue(); await page.getByTestId('compare-string').fill('azerty'); await page.getByTestId('compare-hash').fill(hash); - await new Promise((resolve) => setTimeout(resolve, 500)); + await new Promise(resolve => setTimeout(resolve, 500)); const doTheyMatch = await page.getByTestId('do-they-match').innerText(); expect(doTheyMatch.trim()).toEqual('Yes'); diff --git a/src/tools/argon2-hash-generator/argon2-hash-generator.vue b/src/tools/argon2-hash-generator/argon2-hash-generator.vue index 3f210202..ea809d6e 100644 --- a/src/tools/argon2-hash-generator/argon2-hash-generator.vue +++ b/src/tools/argon2-hash-generator/argon2-hash-generator.vue @@ -1,3 +1,35 @@ + + - - diff --git a/src/tools/bcrypt/bcrypt.vue b/src/tools/bcrypt/bcrypt.vue index db1fc01f..6791ef0b 100644 --- a/src/tools/bcrypt/bcrypt.vue +++ b/src/tools/bcrypt/bcrypt.vue @@ -1,3 +1,17 @@ + + - - diff --git a/src/tools/index.ts b/src/tools/index.ts index 3677ad6d..1070da26 100644 --- a/src/tools/index.ts +++ b/src/tools/index.ts @@ -102,11 +102,14 @@ export const toolsByCategory: ToolCategory[] = [ bcrypt, argon2HashGenerator, uuidGenerator, - ulidGenerator, cypher, + ulidGenerator, + cypher, bip39, hmacGenerator, rsaKeyPairGenerator, - , passwordStrengthAnalyser, pdfSignatureChecker], + passwordStrengthAnalyser, + pdfSignatureChecker, + ], }, { name: 'Converter',