Alerting: re-enable recording rule editor test (#60639)

This commit is contained in:
Gilles De Mey 2022-12-21 17:12:44 +01:00 committed by GitHub
parent f3f043e097
commit cb1ca92419
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,6 +38,8 @@ jest.mock('app/features/query/components/QueryEditorRow', () => ({
jest.spyOn(config, 'getAllDataSources'); jest.spyOn(config, 'getAllDataSources');
jest.setTimeout(60 * 1000);
const mocks = { const mocks = {
getAllDataSources: jest.mocked(config.getAllDataSources), getAllDataSources: jest.mocked(config.getAllDataSources),
searchFolders: jest.mocked(searchFolders), searchFolders: jest.mocked(searchFolders),
@ -61,7 +63,7 @@ describe('RuleEditor recording rules', () => {
}); });
disableRBAC(); disableRBAC();
it.skip('can create a new cloud recording rule', async () => { it('can create a new cloud recording rule', async () => {
const dataSources = { const dataSources = {
default: mockDataSource( default: mockDataSource(
{ {