-
Notifications
You must be signed in to change notification settings - Fork 259
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add unit tests for m2m applciation feature #6452
base: master
Are you sure you want to change the base?
Conversation
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. |
|
||
it("<MinimalAppCreateWizard /> renders without exploding", () => { | ||
render(<MinimalAppCreateWizard | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
import { ApplicationManagementConstants } from "../../../constants/application-management"; | ||
import { MinimalAppCreateWizard } from "../minimal-application-create-wizard"; | ||
|
||
describe("Test if the Branding page is working as expected", () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
describe("Test if the Branding page is working as expected", () => { | |
describe("Test if the application create wizard is working as expected", () => { |
title = "m2m_application" | ||
closeWizard = { jest.fn() } | ||
addProtocol = { false } | ||
templateLoadingStrategy = { ApplicationManagementConstants.DEFAULT_APP_TEMPLATE_LOADING_STRATEGY } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
title = "m2m_application" | |
closeWizard = { jest.fn() } | |
addProtocol = { false } | |
templateLoadingStrategy = { ApplicationManagementConstants.DEFAULT_APP_TEMPLATE_LOADING_STRATEGY } | |
title="M2M Application" | |
closeWizard={ jest.fn() } | |
addProtocol={ false } | |
templateLoadingStrategy={ ApplicationManagementConstants.DEFAULT_APP_TEMPLATE_LOADING_STRATEGY } |
Let's also add another unit test to validate that
|
Purpose
Related Issues
Related PRs
Checklist
Security checks