Bryan Housel
f247bd1e66
Move icon code into uiFlash, default flash icon to icon-no
...
Previously it was up to the caller to draw whatever they want into the
footer flash. With this change, uiFlash creates an icon and a text, so
the caller doesn't need to do as much work.
2017-12-05 23:41:34 -05:00
Bryan Housel
b7958415b3
Don't remove all the divs under body when testing
2017-08-09 22:02:58 -04:00
Bryan Housel
3b54743f86
Add more d3.timerFlush to avoid false test failures (hopefully)
2017-04-24 16:15:41 -04:00
Bryan Housel
3908da03cf
Fix styling of flash and footer and use absolutely positioned divs
...
Also fix flash tests
2017-02-17 00:23:24 -05:00
Bryan Housel
c18cc7577d
Add flash test, avoid using sinon.useFakeTimers in tests.
...
sinon.useFakeTimers mocks setInterval, setTimeout, etc,
but not requestAnimationFrame, which d3 transitions rely on.
2017-02-11 00:19:49 -05:00
Bryan Housel
87950fd472
Fix lib export, flatten names in tests and docs
2016-10-04 21:56:09 -04:00
Kushan Joshi
4b2431a4e3
Remove linting error spec/ui
2016-06-15 18:26:11 +05:30
Tom MacWright
d159b37ab6
Fix tests
2013-02-05 12:10:05 -05:00
Tom MacWright
671e138fcd
Fix flash test
2013-01-23 15:32:25 -05:00
John Firebaugh
348634a5b8
This is verified as part of other test
2013-01-18 15:03:34 -08:00
John Firebaugh
2b45a5b452
Use sinon's fake timers
2013-01-18 15:00:50 -08:00
Tom MacWright
4808a8ec9d
Improve test coverage of ui elements
2013-01-16 12:29:59 -05:00