From cdd272cd72d07e874e0e5fe978cdad938cae126e Mon Sep 17 00:00:00 2001 From: Zacharias Zacharodimos Date: Thu, 10 Oct 2024 16:15:57 +0200 Subject: [PATCH] tests: fix js tests --- .../assets/semantic-ui/js/invenio_rdm_records/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/invenio_rdm_records/assets/semantic-ui/js/invenio_rdm_records/package.json b/invenio_rdm_records/assets/semantic-ui/js/invenio_rdm_records/package.json index 899a63671..593cca25c 100644 --- a/invenio_rdm_records/assets/semantic-ui/js/invenio_rdm_records/package.json +++ b/invenio_rdm_records/assets/semantic-ui/js/invenio_rdm_records/package.json @@ -3,7 +3,7 @@ "This package.json is needed to run the JS tests, locally and CI." ], "scripts": { - "test": "react-scripts test" + "test": "react-scripts test --transformIgnorePatterns /\"node_modules/(?!axios)/\"" }, "devDependencies": { "@babel/cli": "^7.5.0", @@ -59,4 +59,4 @@ "typescript": "^4.9.5", "yup": "^0.32.11" } -} +} \ No newline at end of file