grafana/public/test
Jack Westbrook 0dcdfc261b
Monaco Editor: Load via ESM (#78261)
* chore(monaco): bump monaco-editor to latest version

* feat(codeeditor): use esm to load monaco editor

* revert(monaco): put back previous version

* feat(monaco): setup MonacoEnvironment when bootstrapping app

* feat(monaco): load monaco languages from registry as workers

* feat(webpack): clean up warnings, remove need to copy monaco into lib

* fix(plugins): wip - remove amd loader workaround in systemjs hooks

* chore(azure): clean up so QueryField passes typecheck

* test(jest): update config to fix failing tests due to missing monaco-editor

* test(jest): update config to work with monaco-editor and kusto

* test(jest): prevent message eventlistener in nodeGraph/layout.worker tripping up monaco tests

* test(plugins): wip - remove amd related tests from systemjs hooks

* test(alerting): prefer clearAllMocks to prevent monaco editor failing due to missing matchMedia

* test(parca): fix failing test due to undefined backendSrv

* chore: move monacoEnv to app/core

* test: increase testing-lib timeout to 2secs, fix parca test to assert dom element

* feat(plugins): share kusto via systemjs

* test(e2e): increase timeout for checking monaco editor in exemplars spec

* test(e2e): assert monaco has loaded by checking the spinner is gone and window.monaco exists

* test(e2e): check for monaco editor textarea

* test(e2e): check monaco editor is loaded before assertions

* test(e2e): add waitForMonacoToLoad util to reduce duplication

* test(e2e): fix failing mysql spec

* chore(jest): add comment to setupTests explaining need to incresae default timeout

* chore(nodegraph): improve comment in layout.worker.utils to better explain the need for file
2024-02-22 12:31:40 +01:00
..
core Chore: Update to typescript 5 (#76511) 2023-11-07 13:20:20 +00:00
fixtures Dashlist: Use new nested folder picker (#74011) 2023-09-07 13:57:31 +03:00
helpers Dashboards: Remove advancedDataSourcePicker feature toggle (#81790) 2024-02-06 09:20:07 +00:00
lib chore: replace Sinon usage with Jest (#75940) 2023-10-04 11:12:30 +01:00
matchers Chore: improve types (#78126) 2023-11-16 12:39:12 +00:00
mocks Monaco Editor: Load via ESM (#78261) 2024-02-22 12:31:40 +01:00
specs Chore: some type fixes (#80094) 2024-01-09 10:00:00 +00:00
.jshintrc chore: replace Sinon usage with Jest (#75940) 2023-10-04 11:12:30 +01:00
global-jquery-shim.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
jest-resolver.js Chore: upgrade to msw v2 (#82270) 2024-02-14 13:16:44 +00:00
jest-setup.ts Grafana UI: Make it possible to bundle package with plugins (#76191) 2023-10-13 14:11:41 +02:00
log-reporter.js test: Fix Jest reporter (#60810) 2022-12-29 03:14:09 -05:00
redux-rtl.tsx Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
setupTests.ts Monaco Editor: Load via ESM (#78261) 2024-02-22 12:31:40 +01:00