-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Add support for non-JSON image mocks #913
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
Comments
Ping @plotly/plotly_js Might be a good time to tackle this. |
So, I propose:
then
Now, we would still need to keep the output of We would also need to find a way to keep
Thoughts? |
I'd vote for the second solution noting that few jasmine tests are dependent on the mocks; and one may want to run them in parallel. |
Hi - this issue has been sitting for a while, so as part of our effort to tidy up our public repositories I'm going to close it. If it's still a concern, we'd be grateful if you could open a new issue (with a short reproducible example if appropriate) so that we can add it to our stack. Cheers - @gvwilson |
PR #850 made us realised that not all plotly.js features are JSON serializable e.g.
Float32Array
.Possible solution: we could try to make the image tests routine and the test dashboard accept
js
files as mock. Thesejs
files would generate{ data: [], layout: {} }
object.For example,
The text was updated successfully, but these errors were encountered: