mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 22:02:55 +01:00
Add html tests
This commit is contained in:
parent
a7917b195e
commit
e1a09ac16d
9 changed files with 654 additions and 21 deletions
|
|
@ -30,8 +30,11 @@ export function testTokenization(_language:string|string[], tests:ITestItem[][])
|
|||
suite(mainLanguage + ' tokenization', () => {
|
||||
test('', (done) => {
|
||||
_monaco.Promise.join(languages.map(l => loadLanguage(l))).then(() => {
|
||||
runTests(mainLanguage, tests);
|
||||
done();
|
||||
// clean stack
|
||||
setTimeout(() => {
|
||||
runTests(mainLanguage, tests);
|
||||
done();
|
||||
});
|
||||
}).then(null, done);
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue