From 94bae64f75de445ff33143af6e7bc9bfde601307 Mon Sep 17 00:00:00 2001 From: Salvatore Criscione Date: Mon, 18 Dec 2023 10:21:51 +0200 Subject: [PATCH] fix: added more path on ignorePaths ( cspell ) (#22) * fix: added more path on ignorePaths * Prettified Code! --------- Co-authored-by: salvatorecriscioneweb --- cspell.json | 3 +++ docs/e2e/button.spec.ts | 10 +++++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/cspell.json b/cspell.json index 824133f5..63dab56b 100644 --- a/cspell.json +++ b/cspell.json @@ -13,5 +13,8 @@ "ignorePaths": [ "**/*.svg", ".git", + "pnpm-lock.yaml", + "node_modules", + "pnpm-workspace.yaml" ] } \ No newline at end of file diff --git a/docs/e2e/button.spec.ts b/docs/e2e/button.spec.ts index 8915d72f..be8fca5b 100644 --- a/docs/e2e/button.spec.ts +++ b/docs/e2e/button.spec.ts @@ -1,9 +1,9 @@ -import { test, expect } from '@playwright/test' +import { test, expect } from "@playwright/test"; -test('should navigate to the main page', async ({ page }) => { - await page.goto('/') +test("should navigate to the main page", async ({ page }) => { + await page.goto("/"); await expect(page).toHaveScreenshot("main.png", { - maxDiffPixelRatio: 0.01 + maxDiffPixelRatio: 0.01, }); -}) +});