diff --git a/CommonUI/jest.config.json b/CommonUI/jest.config.json index 22237df8ba..c7449e66bb 100644 --- a/CommonUI/jest.config.json +++ b/CommonUI/jest.config.json @@ -14,7 +14,7 @@ "testEnvironment": "jsdom", "collectCoverage": true, "coverageReporters": ["text", "html"], - "testRegex": ".src/Tests/(.*).test.(tsx||ts)", + "testRegex": "./src/Tests/(.*).test.(tsx||ts)", "collectCoverageFrom": ["./**/*.(tsx||ts)"], "coverageThreshold": { "global": { diff --git a/CommonUI/src/Components/Alerts/Alert.tsx b/CommonUI/src/Components/Alerts/Alert.tsx index c68040481a..9c8b570b8c 100644 --- a/CommonUI/src/Components/Alerts/Alert.tsx +++ b/CommonUI/src/Components/Alerts/Alert.tsx @@ -59,6 +59,7 @@ const Alert: FunctionComponent = ( > {props.onClose && (