Skip to content

Commit 20217de

Browse files
ibolton336web-flow
authored andcommitted
👻 Add unit tests and hook for useAssessmentStatus (#1758)
Inspired by latest QE issues surfacing around status regressions. Resolves https://issues.redhat.com/browse/MTA-2410 Resolves https://issues.redhat.com/browse/MTA-2409 Resolves #1646 ** Integrates MSW with unit test RTL framework to handle mock data without needing to add any extra stubs. --------- Signed-off-by: Ian Bolton <[email protected]> Signed-off-by: Cherry Picker <[email protected]>
1 parent 6da40f3 commit 20217de

File tree

10 files changed

+597
-562
lines changed

10 files changed

+597
-562
lines changed

client/config/jest.config.ts

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ const config: JestConfigWithTsJest = {
3030
"@app/(.*)": "<rootDir>/src/app/$1",
3131
"@assets/(.*)":
3232
"<rootDir>../node_modules/@patternfly/react-core/dist/styles/assets/$1",
33+
"^@mocks/(.*)$": "<rootDir>/src/mocks/$1",
3334
},
3435

3536
// A list of paths to directories that Jest should use to search for files

0 commit comments

Comments
 (0)