Add html tests

This commit is contained in:
Alex Dima 2016-09-16 22:29:37 +02:00
parent a7917b195e
commit e1a09ac16d
9 changed files with 654 additions and 21 deletions

View file

@ -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);
});
});