From a62dbcac2d3566f1bcc1dfc573835271f1ef7b96 Mon Sep 17 00:00:00 2001 From: Gandalf the Greybeard Date: Sat, 21 Mar 2026 12:53:39 +0000 Subject: [PATCH] fix: add missing test devDependencies (vitest, @testing-library/*) The test script runs vitest and imports from @testing-library/react and @testing-library/jest-dom, but none of these were listed as devDependencies. Adds vitest ^3.0.5 and all required @testing-library packages matching other plugin repos in the org. Co-Authored-By: Claude Sonnet 4.6 --- package-lock.json | 10 +++++++++- package.json | 10 +++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4b12622..702326c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,15 @@ "version": "0.1.0", "license": "Apache-2.0", "devDependencies": { - "@kinvolk/headlamp-plugin": "^0.13.0" + "@kinvolk/headlamp-plugin": "^0.13.0", + "@testing-library/jest-dom": "^6.4.8", + "@testing-library/react": "^16.0.0", + "@testing-library/user-event": "^14.5.2", + "jsdom": "^24.0.0", + "react": "^18.3.1", + "react-dom": "^18.3.1", + "react-router-dom": "^5.3.0", + "vitest": "^3.0.5" } }, "node_modules/@adobe/css-tools": { diff --git a/package.json b/package.json index 2a1009a..49b6cac 100644 --- a/package.json +++ b/package.json @@ -25,6 +25,14 @@ "test:watch": "vitest" }, "devDependencies": { - "@kinvolk/headlamp-plugin": "^0.13.0" + "@kinvolk/headlamp-plugin": "^0.13.0", + "@testing-library/jest-dom": "^6.4.8", + "@testing-library/react": "^16.0.0", + "@testing-library/user-event": "^14.5.2", + "jsdom": "^24.0.0", + "react": "^18.3.1", + "react-dom": "^18.3.1", + "react-router-dom": "^5.3.0", + "vitest": "^3.0.5" } }