Fix monaco checks

This commit is contained in:
Alexandru Dima 2021-01-28 14:48:41 +01:00
parent 9545d58236
commit 0a943766a5
No known key found for this signature in database
GPG key ID: 6E58D7B045760DA0
2 changed files with 5 additions and 4 deletions

View file

@ -1,2 +1,3 @@
dist/**/*.js
dist/**/*.ttf
/dist/**/*.js
/dist/**/*.ttf
/out/

View file

@ -75,8 +75,8 @@ describe('API Integration Tests', function (): void {
await page.goto(APP);
});
it('Default initialization should be error-less', async function (): Promise<any> {
assert.equal(await page.evaluate(`monaco.editor.DefaultEndOfLine[1]`), 'LF');
it('`monaco` is not exposed as global', async function (): Promise<any> {
assert.equal(await page.evaluate(`typeof monaco`), 'undefined');
});
it('Focus and Type', async function (): Promise<any> {