mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 12:45:39 +01:00
Expose full ts object to global ts
This commit is contained in:
parent
6535feb2a5
commit
1b8bf663ae
4 changed files with 7 additions and 1 deletions
|
|
@ -172,6 +172,9 @@ describe(`Smoke Test '${TESTS_TYPE}'`, () => {
|
|||
|
||||
// check that the TypeScript worker exposes `ts` as a global
|
||||
assert.strictEqual(await tsWorker.evaluate(`typeof ts`), 'object');
|
||||
|
||||
// check that the TypeScript worker exposes the full `ts` as a global
|
||||
assert.strictEqual(await tsWorker.evaluate(`typeof ts.optionDeclarations`), 'object');
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue