Commit 215c8546 authored by Ryan Herbert's avatar Ryan Herbert Committed by Mathieu Giraud

scatterPlot_test.js call update() before tests.

Due to recent changes to the flow of the application and the number of
times update() is called during initialisation of the application, this
test was missing a call to updateClones() which we achieve here by
calling update()
parent 4817c43c
......@@ -71,6 +71,7 @@ QUnit.test("node sizes", function(assert) {
var sp = new ScatterPlot("visu", m);
sp.init();
sp.update();
assert.equal(sp.nodes[0].s, 0.05, "node 0, size")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment