mirror of https://gitee.com/bigwinds/arangodb
Fixed Layouter tests
This commit is contained in:
parent
f710fba30a
commit
06b605e059
|
@ -408,15 +408,9 @@
|
||||||
|
|
||||||
tmp = new ForceLayouter(config);
|
tmp = new ForceLayouter(config);
|
||||||
|
|
||||||
/*
|
|
||||||
expect(mock.size).wasCalledWith([940, 640]);
|
|
||||||
expect(mock.linkDistance).wasCalledWith(240);
|
|
||||||
expect(mock.gravity).wasCalledWith(0.08);
|
|
||||||
expect(mock.charge).wasCalledWith(-240);
|
|
||||||
*/
|
|
||||||
expect(mock.size).wasCalledWith([880, 680]);
|
expect(mock.size).wasCalledWith([880, 680]);
|
||||||
expect(mock.linkDistance).wasCalledWith(jasmine.any(Function));
|
expect(mock.linkDistance).wasCalledWith(jasmine.any(Function));
|
||||||
expect(mock.gravity).wasCalledWith(0.08);
|
expect(mock.gravity).wasCalledWith(0.01);
|
||||||
expect(mock.charge).wasCalledWith(jasmine.any(Function));
|
expect(mock.charge).wasCalledWith(jasmine.any(Function));
|
||||||
|
|
||||||
expect(fd({
|
expect(fd({
|
||||||
|
|
Loading…
Reference in New Issue