canvas-lms/jest
Jonathan Guardado 96c6b2c6bf Refactor ObsererOptions to use valid children
Use a callback to notify the observer picker when the highlighted
option changes, so we no longer need to use a function as a child
to access this value.

refs LS-3837
flag=none

test plan:
- Tests pass
- Expect the observer picker to behave and look as usual in normal
canvas and k5.
- Expect not to see errors associated with the observer picker in the
console

Change-Id: Ic205828bed4882f27ff874b3eef28fd043b19b6d
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/313385
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>
2023-03-17 18:09:57 +00:00
..
etc rename some things 2021-04-06 01:12:49 +00:00
coffeeTransformer.js Update spec/javascripts/ to latest prettier config 2022-09-29 22:27:11 +00:00
handlebarsTransformer.js Update spec/javascripts/ to latest prettier config 2022-09-29 22:27:11 +00:00
imageMock.js Make core translations and svg imports available in jest 2018-11-29 16:09:47 +00:00
jest-setup.js Refactor ObsererOptions to use valid children 2023-03-17 18:09:57 +00:00
rawLoader.js Update spec/javascripts/ to latest prettier config 2022-09-29 22:27:11 +00:00
strictTimeLimitEnvironment.js Update spec/javascripts/ to latest prettier config 2022-09-29 22:27:11 +00:00
stubInstUi.js Update spec/javascripts/ to latest prettier config 2022-09-29 22:27:11 +00:00