Closed
Description
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. These js
files would generate { data: [], layout: {} }
object.
For example,
// in test/image/mocks/float32array.js
module.exports = function() {
return {
data: [{
xy: new Float32Array([1,2,3,4])
}]
}
}
Metadata
Metadata
Assignees
Labels
No labels