From 0d7e02afdd4b87aeb7b74a1be6c343fbed928cfa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Jaenisch?= Date: Sat, 15 Jun 2024 19:08:37 +0200 Subject: [PATCH] test: write tests for Project molecule MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit During testing I realised that the buttons are not accessible. While I was adding text I also ensured that it can be translated. Signed-off-by: André Jaenisch --- src/lib/components/molecules/Project.svelte | 23 +++- src/lib/components/templates/Profile.svelte | 8 +- src/lib/i18n/locales/bg.json | 5 + src/lib/i18n/locales/de.json | 5 + src/lib/i18n/locales/en.json | 5 + src/lib/i18n/locales/he.json | 5 + src/lib/i18n/locales/pl.json | 5 + tests/components/molecules/Project.test.ts | 141 ++++++++++++++++++++ 8 files changed, 192 insertions(+), 5 deletions(-) create mode 100644 tests/components/molecules/Project.test.ts diff --git a/src/lib/components/molecules/Project.svelte b/src/lib/components/molecules/Project.svelte index 379b928..af68bb5 100644 --- a/src/lib/components/molecules/Project.svelte +++ b/src/lib/components/molecules/Project.svelte @@ -12,6 +12,7 @@ You should have received a copy of the GNU Affero General Public License along w -->