mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
fix(NA): wrongly added include key on tsconfig.json for @kbn/monaco (#118210)
* fix(NA): wrongly added include key on tsconfig.json for @kbn/monaco * fix(NA): @kbn/monaco structure to allow bazel build on windows
This commit is contained in:
parent
6d951fee69
commit
264bb7acdd
5 changed files with 5 additions and 5 deletions
|
@ -11,6 +11,7 @@ SOURCE_FILES = glob(
|
|||
"src/**/*",
|
||||
],
|
||||
exclude = [
|
||||
"**/__jest__",
|
||||
"**/*.test.*",
|
||||
"**/README.md",
|
||||
],
|
||||
|
|
|
@ -33,8 +33,8 @@ const createMockModel = (ID: string) => {
|
|||
return model;
|
||||
};
|
||||
|
||||
jest.mock('../src/monaco_imports', () => {
|
||||
const original = jest.requireActual('../src/monaco_imports');
|
||||
jest.mock('../monaco_imports', () => {
|
||||
const original = jest.requireActual('../monaco_imports');
|
||||
const originalMonaco = original.monaco;
|
||||
const originalEditor = original.monaco.editor;
|
||||
|
|
@ -5,11 +5,11 @@
|
|||
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
||||
* Side Public License, v 1.
|
||||
*/
|
||||
import '../../__jest__/jest.mocks'; // Make sure this is the first import
|
||||
import '../__jest__/jest.mocks'; // Make sure this is the first import
|
||||
|
||||
import { Subscription } from 'rxjs';
|
||||
|
||||
import { MockIModel } from '../../__jest__/types';
|
||||
import { MockIModel } from '../__jest__/types';
|
||||
import { LangValidation } from '../types';
|
||||
import { monaco } from '../monaco_imports';
|
||||
import { ID } from './constants';
|
||||
|
|
|
@ -14,6 +14,5 @@
|
|||
},
|
||||
"include": [
|
||||
"src/**/*",
|
||||
"__jest__/**/*",
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue