Skip to content

Commit c5361d9

Browse files
committed
run eslint, cleanup
1 parent 9a86553 commit c5361d9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

webdriver-ts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"isKeyed": "cross-env LANG=\"en_US.UTF-8\" node dist/isKeyed.js",
1717
"test": "vitest --run",
1818
"test:watch": "vitest",
19-
"coverage": "vitest --run --coverage",
19+
"coverage": "vitest --run --coverage"
2020
},
2121
"author": "",
2222
"license": "Apache-2.0",

webdriver-ts/src/timeline.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export function extractRelevantEvents(entries: any[]) {
2929
click_start = +e.ts;
3030
click_end = +e.ts + e.dur;
3131
filteredEvents.push({ type: "click", ts: +e.ts, dur: +e.dur, end: +e.ts + e.dur, pid: e.pid, evt: JSON.stringify(e) });
32-
} else if (e.args.data.type === "mousedown") {
32+
} else if (e.args.data.type === "mousedown") {
3333
if (config.LOG_DETAILS) console.log("MOUSEDOWN ", +e.ts);
3434
filteredEvents.push({ type: "mousedown", ts: +e.ts, dur: +e.dur, end: +e.ts + e.dur, pid: e.pid, evt: JSON.stringify(e) });
3535
}

0 commit comments

Comments
 (0)