Skip to content
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

MST error in the Classification model tests #6448

Open
eatyourgreens opened this issue Nov 7, 2024 · 0 comments
Open

MST error in the Classification model tests #6448

eatyourgreens opened this issue Nov 7, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@eatyourgreens
Copy link
Contributor

eatyourgreens commented Nov 7, 2024

Package

  • lib-classifier

Describe the bug

[mobx] Encountered an uncaught exception that was thrown by a reaction or observer component, in: 
'Reaction[_onLocaleChange]' Error: [mobx-state-tree] Error while converting `undefined` to `string`:

    value `undefined` is not assignable to type: `string` (Value is not a string).

To Reproduce

Run the Classification tests in the classifier. locale is undefined, which isn't an allowed value for metadata.userLanguage.

Expected behavior

The tests are passing, so this is minor, but mock data shouldn't throw errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant