Provide closeTray to HelpTray
flag=none test plan: - Specs pass qa risk: low Change-Id: I3730655f884e4eab7c386ff6153aaa0674ae2e41 Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/274418 Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com> Reviewed-by: Davis Hyer <dhyer@instructure.com> QA-Review: Davis Hyer <dhyer@instructure.com> Product-Review: Davis Hyer <dhyer@instructure.com>
This commit is contained in:
parent
8fa6e87a44
commit
200aac7e53
|
@ -86,7 +86,6 @@ const ignoredErrors = [
|
|||
/The prop `canAddObservee` is marked as required in `(K5Dashboard|ObserverOptions|ResponsiveK5Dashboard)`/,
|
||||
/The prop `canReadAnnouncements` is marked as required in `(K5Announcement|K5Course)`/,
|
||||
/The prop `children` is marked as required in `TruncateText`/,
|
||||
/The prop `closeTray` is marked as required in `HelpTray`/,
|
||||
/The prop `color` is marked as required in `StatusColorListItem`/,
|
||||
/The prop `colors.late` is marked as required in `StatusColorPanel`/,
|
||||
/The prop `conferenceType.type` is marked as required in `Conference`/,
|
||||
|
|
|
@ -42,7 +42,8 @@ describe('HelpTray', () => {
|
|||
const props = {
|
||||
trayTitle,
|
||||
links,
|
||||
hasLoaded: true
|
||||
hasLoaded: true,
|
||||
closeTray: jest.fn()
|
||||
}
|
||||
|
||||
beforeEach(() => {
|
||||
|
|
Loading…
Reference in New Issue