Allow tests to pass in a mock Intl
Make Intl an optional argument in time.js so that tests can pass in a mock Intl (or null) instead of having to patch window.Intl.
Showing
Please register or sign in to comment
Make Intl an optional argument in time.js so that tests can pass in a mock Intl (or null) instead of having to patch window.Intl.