Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderzobnin committed Jan 28, 2021
1 parent 8779c07 commit 152821e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/test-setup/jest-setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,13 @@ jest.mock('grafana/app/core/config', () => {

jest.mock('jquery', () => 'module not found', {virtual: true});

jest.mock('grafana/app/core/utils/kbn', () => {
return {
round_interval: n => n,
secondsToHms: n => n + 'ms'
};
}, {virtual: true});

// jest.mock('@grafana/ui', () => {
// return {};
// }, {virtual: true});
Expand Down

0 comments on commit 152821e

Please sign in to comment.