result is an array in new Browsertime
This commit is contained in:
parent
b62d93194a
commit
a1b60b8f1b
|
|
@ -13,7 +13,7 @@ async function testURLs(engine, urls) {
|
||||||
await engine.start();
|
await engine.start();
|
||||||
for (let url of urls) {
|
for (let url of urls) {
|
||||||
const result = await engine.run(url);
|
const result = await engine.run(url);
|
||||||
for (let errors of result.errors) {
|
for (let errors of result[0].errors) {
|
||||||
if (errors.length > 0) {
|
if (errors.length > 0) {
|
||||||
process.exitCode = 1;
|
process.exitCode = 1;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue