1
0
Fork 0

Fixed Layouter tests

This commit is contained in:
Michael Hackstein 2013-11-19 15:22:31 +01:00
parent f710fba30a
commit 06b605e059
1 changed files with 1 additions and 7 deletions

View File

@ -408,15 +408,9 @@
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.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(fd({