fix: improve dashboard react doctor score (#215)
This commit is contained in:
@@ -80,9 +80,7 @@ async function measure(page: Page, sel: string) {
|
||||
}
|
||||
|
||||
async function evalExpr(page: Page, expr: string) {
|
||||
const result = await page.evaluate((e) => {
|
||||
return eval(e);
|
||||
}, expr);
|
||||
const result = await page.evaluate(expr);
|
||||
console.log(JSON.stringify(result, null, 2));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user