-
Notifications
You must be signed in to change notification settings - Fork 208
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(test) Enhancements to tests in the login app (#342)
* (test) Enhancements to tests in the login app * Review feedback
- Loading branch information
1 parent
1fc4a42
commit f3f444e
Showing
11 changed files
with
193 additions
and
242 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
export const mockConfig = { | ||
provider: { | ||
type: "basic", | ||
loginUrl: "", | ||
logoutUrl: "", | ||
}, | ||
chooseLocation: { | ||
enabled: true, | ||
numberToShow: 3, | ||
}, | ||
logo: { | ||
src: null, | ||
alt: "Logo", | ||
}, | ||
links: { | ||
loginSuccess: "${openmrsSpaBase}/home", | ||
}, | ||
}; |
3 changes: 0 additions & 3 deletions
3
packages/apps/esm-login-app/__mocks__/lodash.debounce.mock.ts
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
68 changes: 0 additions & 68 deletions
68
packages/apps/esm-login-app/__mocks__/openmrs-esm-framework.mock.tsx
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.