mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-22 12:51:09 +02:00
GUI -- Fixed broken table-spec unit tests.
Change-Id: I3b4d777a3f514759a2b19e442ad320280f46e5b4
This commit is contained in:
parent
54442fac5f
commit
c4ae83038d
@ -72,8 +72,14 @@ describe('factory: fw/widget/table.js', function() {
|
||||
beforeEach(inject(function (TableService, _$log_) {
|
||||
ts = TableService;
|
||||
$log = _$log_;
|
||||
d3Elem = d3.select('body').append('div').attr('id', 'myDiv');
|
||||
}));
|
||||
|
||||
afterEach(function () {
|
||||
d3.select('#myDiv').remove();
|
||||
});
|
||||
|
||||
|
||||
it('should define TableService', function () {
|
||||
expect(ts).toBeDefined();
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user