Commit 88c0d627 authored by Mathieu Giraud's avatar Mathieu Giraud

tests: update tests

See #2781.
parent 52998016
......@@ -46,7 +46,7 @@ QUnit.test("grid", function(assert) {
assert.deepEqual(m.getSelected(), [2], "check click label");
sp.changeSplitMethod("n", "Size", sp.MODE_BAR);
sp.changeSplitMethod("nLength", "size", sp.MODE_BAR);
sp.update()
assert.equal(sp.nodes[1].bar_h , 0.3333333333333333, "node 1, bar h position")
......
......@@ -28,7 +28,7 @@ QUnit.test("shortcuts on scatterplot", function(assert) {
assert.equal(sp.splitX, sp.AXIS_GENE_V)
shortcut.checkKey(keyMock({'keyCode': 52})) // Preset 4
assert.equal(sp.splitX, 'sequenceLength')
assert.equal(sp.splitX, 'consensusLength')
assert.equal(shortcut.system_shortcuts[76][0], "IGL", "System shortcut for IGL")
assert.equal(m.system_selected.length, 2, "We have 2 systems, TRG and IGH")
......
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