From 1fd2328f4073e2508851df5e1a31929ed260542b Mon Sep 17 00:00:00 2001 From: Liam Stevens <8955671+liamstevens111@users.noreply.github.com> Date: Wed, 15 Mar 2023 11:25:10 +0700 Subject: [PATCH] [#26] Add transformIgnorePatterns to package.json test due to swiper export issue --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 0439c52..3c6c9f7 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "scripts": { "start": "react-scripts -r @cypress/instrument-cra start", "build": "react-scripts build", - "test": "react-scripts test", + "test": "react-scripts test --transformIgnorePatterns \"node_modules/(?!swiper)/\"", "eject": "react-scripts eject", "test:coverage": "rimraf coverage && react-scripts test --coverage --watchAll=false && npm run cypress:run && node ./scripts/coverage-merge.js && nyc report", "test:merge-coverage": "node ./scripts/coverage-merge.js",