fix tests (add kbn mock)

This commit is contained in:
Alexander Zobnin
2019-07-31 14:36:30 +03:00
parent 916205102a
commit ff5a7f0136

View File

@@ -42,6 +42,12 @@ jest.mock('grafana/app/core/utils/datemath', () => {
};
}, {virtual: true});
jest.mock('grafana/app/core/utils/kbn', () => {
return {
round_interval: n => n,
};
}, {virtual: true});
jest.mock('grafana/app/core/table_model', () => {
return class TableModel {
constructor() {