-
Notifications
You must be signed in to change notification settings - Fork 11
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
Is there any ideas how to make custom values working correctly? #311
Comments
I don't think you can do this out of box, looks like you'd like to resolve marble to key but currently always falls to value to draw marbles. Main design comes due to key for marble observable is arbitrary value, actual value we care about is value itself (if key === value that doesn't matter though). Not sure if I'll spend time to create additional path for this logic. |
Thats perfect. But at the moment if you put null/undefined to the observable , you will get some stuff like Okay, so now the library works perfectly only with numbers and values which are 1-literal strings. The test:
Output:
It is simple observable which emits
Values in the observables in test are not random. You write test, you pass test data, you know what values you will pass and what values are expected. That is how unit testing works. |
Hi!
Thank you for the tool. Thats really cool. I want to use it because of beautiful expected / actual output.
Is there any possibility to add support of custom values?
Example:
You will get this as a result:
Is there any possibility to make it:
?
Looks like API retrieves all information to make it possible. Looks like you don't even need to change / improve API to achieve this.
The text was updated successfully, but these errors were encountered: