-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Security Solution][Alerts] Remove dead legacy signals code (#128328)
* Remove dead legacy signals code * Remove unused import * Remove extra param
- Loading branch information
1 parent
9f10418
commit ac4e96c
Showing
24 changed files
with
539 additions
and
1,779 deletions.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
x-pack/plugins/rule_registry/server/utils/create_persistence_rule_type_wrapper.mock.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/* | ||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
* or more contributor license agreements. Licensed under the Elastic License | ||
* 2.0; you may not use this file except in compliance with the Elastic License | ||
* 2.0. | ||
*/ | ||
|
||
import { alertsMock } from '../../../alerting/server/mocks'; | ||
import { PersistenceServices } from './persistence_types'; | ||
|
||
export const createPersistenceServicesMock = (): jest.Mocked<PersistenceServices> => { | ||
return { | ||
alertWithPersistence: jest.fn(), | ||
}; | ||
}; | ||
|
||
export const createPersistenceExecutorOptionsMock = () => { | ||
return { | ||
...alertsMock.createAlertServices(), | ||
...createPersistenceServicesMock(), | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.