vscode/test/monaco
Matt Bierner 84607a2fe2
Fix some always true/false errors in codebase (#223359)
* Fix some always true/false errors in codebase

Testing out latest TS nightly that can identify when an expression is always true/false. This caught a few likely coding mistakes in our codebase

Unsure about the intent in some of these cases but I've tried my best to understand them. Pinging relevant code owners for the confusing cases

* Bump TS version

* Fix unreachable in build scripts

* Bump versions

* restore intent

* Revert package.json change

* Fixing a few new layer checker errors

These are global in node now

* Skip lib check in integration project

* One more skiplibcheck

* More skip lib

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>
2024-07-30 15:37:27 -07:00
..
dist
esm-check Re-enable running our eslint rules using ts-node (#159495) 2022-08-30 08:40:04 +02:00
.gitignore Add check that the editor's ESM JS files can be loaded in a browser 2022-01-25 15:19:30 +01:00
.mocharc.json
core.js Fixes #141994: Address eslint problems 2022-02-02 13:18:12 +01:00
monaco.test.ts Always report monaco loading errors 2023-11-15 16:53:00 +01:00
package.json Add check that the editor's ESM JS files can be loaded in a browser 2022-01-25 15:19:30 +01:00
README.md Fix supported markdown-lint violations in markdown files (#190750) 2023-08-24 08:37:25 +00:00
runner.js Fixes #141994: Address eslint problems 2022-02-02 13:18:12 +01:00
tsconfig.json Fix some always true/false errors in codebase (#223359) 2024-07-30 15:37:27 -07:00
webpack.config.js Fixes "_b is not defined" error 2023-11-15 16:53:00 +01:00
yarn.lock Fail the build when webpack has bundling warnings (early prevention of issues like microsoft/monaco-editor#2691) 2021-10-11 18:14:10 +02:00

Monaco Editor Test

This directory contains scripts that are used to smoke test the Monaco Editor distribution.

Setup & Bundle

$test/monaco> yarn $test/monaco> yarn run bundle

Compile and run tests

$test/monaco> yarn run compile $test/monaco> yarn test