-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(#192) Expand results with single result should NOTredirect to defini…
…tion changed prop types to func in three different tests to remove console error added tests for expand, but it does not work added integration test fixed expand Home.jsx to display one result change the title to display singular for one term result
- Loading branch information
1 parent
10d2e01
commit d15ab54
Showing
8 changed files
with
86 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
support/mock-data/Terms/expand/Genetics/HealthProfessional/en/K.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"meta": { | ||
"totalResults": 1, | ||
"from": 0 | ||
}, | ||
"results": [ | ||
{ | ||
"termId": 460158, | ||
"language": "en", | ||
"dictionary": "Genetics", | ||
"audience": "HealthProfessional", | ||
"termName": "kindred", | ||
"firstLetter": "k", | ||
"prettyUrlName": "kindred", | ||
"pronunciation": { | ||
"key": "(KIN-dred)", | ||
"audio": "https://nci-media-dev.cancer.gov/pdq/media/audio/736952.mp3" | ||
}, | ||
"definition": { | ||
"html": "An extended family.", | ||
"text": "An extended family." | ||
}, | ||
"otherLanguages": [], | ||
"relatedResources": [], | ||
"media": [] | ||
} | ||
], | ||
"links": null | ||
} |