Chore: Remove console.log in fetch.test.ts (#45134)

This commit is contained in:
Hugo Häggmark 2022-02-09 14:11:30 +01:00 committed by GitHub
parent e4534deab3
commit c25031fa49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -9,6 +9,11 @@ import {
parseUrlFromOptions,
} from './fetch';
jest.mock('@grafana/data', () => ({
...(jest.requireActual('@grafana/data') as unknown as object),
deprecationWarning: () => {},
}));
describe('parseUrlFromOptions', () => {
it.each`
params | url | expected