`);
},
async function errorInTemplate() {
await runComponent(`
Hello World ! {{ msg }
`);
},
async function errorInStyle() {
await runComponent(`
Hello World !
`);
},
async function errorInScript() {
await runComponent(`
`);
},
async function allBlocks() {
await runComponent(`
Hello {{ msg }} !
`);
},
async function invalidRequire() {
await runComponent(`
`);
},
async function invalidImport() {
await runComponent(`
`);
},
async function CSS_variable_injection() {
await runComponent(`
Hello
`);
},
]
console.log('start');
for ( const test of tests ) {
try {
console.log('test:', test.name)
await test();
} catch(ex) {
//console.log(ex)
}
}
console.log('done');
})()
.catch(ex => console.error(ex))