fix tests
This commit is contained in:
1
dist/datasource-zabbix/specs/test-main.js
vendored
1
dist/datasource-zabbix/specs/test-main.js
vendored
@@ -32,6 +32,7 @@ prunk.mock('app/plugins/sdk', {
|
|||||||
QueryCtrl: null
|
QueryCtrl: null
|
||||||
});
|
});
|
||||||
prunk.mock('app/core/utils/datemath', datemathMock);
|
prunk.mock('app/core/utils/datemath', datemathMock);
|
||||||
|
prunk.mock('app/core/table_model', {});
|
||||||
prunk.mock('angular', angularMocks);
|
prunk.mock('angular', angularMocks);
|
||||||
prunk.mock('jquery', 'module not found');
|
prunk.mock('jquery', 'module not found');
|
||||||
|
|
||||||
|
|||||||
@@ -49,6 +49,7 @@ _prunk2.default.mock('app/plugins/sdk', {
|
|||||||
QueryCtrl: null
|
QueryCtrl: null
|
||||||
});
|
});
|
||||||
_prunk2.default.mock('app/core/utils/datemath', datemathMock);
|
_prunk2.default.mock('app/core/utils/datemath', datemathMock);
|
||||||
|
_prunk2.default.mock('app/core/table_model', {});
|
||||||
_prunk2.default.mock('angular', angularMocks);
|
_prunk2.default.mock('angular', angularMocks);
|
||||||
_prunk2.default.mock('jquery', 'module not found');
|
_prunk2.default.mock('jquery', 'module not found');
|
||||||
|
|
||||||
|
|||||||
@@ -32,6 +32,7 @@ prunk.mock('app/plugins/sdk', {
|
|||||||
QueryCtrl: null
|
QueryCtrl: null
|
||||||
});
|
});
|
||||||
prunk.mock('app/core/utils/datemath', datemathMock);
|
prunk.mock('app/core/utils/datemath', datemathMock);
|
||||||
|
prunk.mock('app/core/table_model', {});
|
||||||
prunk.mock('angular', angularMocks);
|
prunk.mock('angular', angularMocks);
|
||||||
prunk.mock('jquery', 'module not found');
|
prunk.mock('jquery', 'module not found');
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user