From 98d2d8b852d2df53c7ebdf6339a88fdf570e451d Mon Sep 17 00:00:00 2001 From: a-jaxell Date: Sat, 26 Oct 2024 16:45:08 +0200 Subject: [PATCH] Fix linting --- webapp/TESTING.md | 6 +++--- webapp/jest.config.js | 2 +- webapp/playwright.config.ts | 4 +--- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/webapp/TESTING.md b/webapp/TESTING.md index 56ca8b9..cebf534 100644 --- a/webapp/TESTING.md +++ b/webapp/TESTING.md @@ -1,8 +1,8 @@ # Testing -This contains information on how to run different tests and add new tests for Lyra. +This contains information on how to run different tests and add new tests for Lyra. -We are using Playwright to test integration of features. +We are using Playwright to test integration of features. Read the documentation at [playwright.dev/docs](https://playwright.dev/docs) Jest is used to write both integration and unit tests. @@ -24,4 +24,4 @@ Unit tests are written in Jest and located paralell to the unit they are written To run unit tests: -`npm run test` \ No newline at end of file +`npm run test` diff --git a/webapp/jest.config.js b/webapp/jest.config.js index 6811ee1..db022c2 100644 --- a/webapp/jest.config.js +++ b/webapp/jest.config.js @@ -5,5 +5,5 @@ module.exports = { moduleNameMapper: { '@/(.*)': '/src/$1', }, - modulePathIgnorePatterns: ['/integrationTesting'] + modulePathIgnorePatterns: ['/integrationTesting'], }; diff --git a/webapp/playwright.config.ts b/webapp/playwright.config.ts index 9e2fb49..8a6d0b3 100644 --- a/webapp/playwright.config.ts +++ b/webapp/playwright.config.ts @@ -1,8 +1,6 @@ import { defineConfig } from '@playwright/test'; export default defineConfig({ - reporter: [ - ['html', {open: 'never'}] - ], + reporter: [['html', { open: 'never' }]], testDir: './integrationTesting/tests', });