mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
chore: fix ml tests with canvas code in x-pack
explicitely enable state management so the mlStateFactory tests pass
This commit is contained in:
parent
e9656b38c1
commit
5a69250f2a
1 changed files with 4 additions and 1 deletions
|
@ -15,7 +15,10 @@ describe('ML - mlStateFactory', () => {
|
|||
let stateFactory;
|
||||
let AppState;
|
||||
|
||||
beforeEach(ngMock.module('kibana'));
|
||||
beforeEach(ngMock.module('kibana', function (stateManagementConfigProvider) {
|
||||
stateManagementConfigProvider.enable();
|
||||
}));
|
||||
|
||||
beforeEach(ngMock.inject(($injector) => {
|
||||
AppState = $injector.get('AppState');
|
||||
const Private = $injector.get('Private');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue