mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-23 13:21:21 +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_) {
|
beforeEach(inject(function (TableService, _$log_) {
|
||||||
ts = TableService;
|
ts = TableService;
|
||||||
$log = _$log_;
|
$log = _$log_;
|
||||||
|
d3Elem = d3.select('body').append('div').attr('id', 'myDiv');
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
afterEach(function () {
|
||||||
|
d3.select('#myDiv').remove();
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
it('should define TableService', function () {
|
it('should define TableService', function () {
|
||||||
expect(ts).toBeDefined();
|
expect(ts).toBeDefined();
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user