mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
## Summary `@cypress/grep` is just reading the file as text, so it's not capable of evaluating the variables, because of that, today we are running all the spec files, and that means that we are setting up a new stack just to stop it a few seconds later after grep skips the spec file https://github.com/cypress-io/cypress/blob/develop/npm/grep/src/plugin.js#L117 With variable: <img width="1219" alt="Zrzut ekranu 2023-08-23 o 23 06 30" src="97b6fdaa
-a03a-4a4f-bbdc-97da8e1788ce"> With string: <img width="2074" alt="Zrzut ekranu 2023-08-23 o 23 06 04" src="1f48d20a
-3a1a-4ded-aa47-493781a4758b"> --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
25 lines
1 KiB
TypeScript
25 lines
1 KiB
TypeScript
/*
|
|
* 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 and the Server Side Public License, v 1; you may not use this file except
|
|
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
|
* Side Public License, v 1.
|
|
*/
|
|
|
|
declare module 'axios/lib/adapters/xhr';
|
|
|
|
// Storybook references this module. It's @ts-ignored in the codebase but when
|
|
// built into its dist it strips that out. Add it here to avoid a type checking
|
|
// error.
|
|
//
|
|
// See https://github.com/storybookjs/storybook/issues/11684
|
|
declare module 'react-syntax-highlighter/dist/cjs/create-element';
|
|
declare module 'react-syntax-highlighter/dist/cjs/prism-light';
|
|
|
|
// Monaco languages support
|
|
declare module 'monaco-editor/esm/vs/basic-languages/markdown/markdown';
|
|
declare module 'monaco-editor/esm/vs/basic-languages/css/css';
|
|
declare module 'monaco-editor/esm/vs/basic-languages/yaml/yaml';
|
|
|
|
declare module 'find-cypress-specs';
|
|
declare module '@cypress/grep/src/plugin';
|