Skip to content

Commit

Permalink
Merge branch 'main' into workflow/optimize-biome-lint
Browse files Browse the repository at this point in the history
  • Loading branch information
zhoushaw authored Aug 4, 2024
2 parents 551b563 + e1ae31a commit d751c8e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/midscene/src/action/executor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ export class Executor {
const { executor, param } = task;
assert(executor, `executor is required for task type: ${task.type}`);

// biome-ignore lint/suspicious/noImplicitAnyLet: <explanation>
let returnValue;
const executorContext: ExecutorContext = {
task,
Expand Down
2 changes: 2 additions & 0 deletions packages/visualizer-report/src/pages/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,10 @@ const TestResult = (props: {
const timeMinutes = Math.floor(testData.duration / 1000 / 60);
const timeSeconds = Math.floor((testData.duration / 1000) % 60);
return (
// biome-ignore lint/a11y/useKeyWithClickEvents: <explanation>
<div
className={styeld['test-details']}
// biome-ignore lint/suspicious/noArrayIndexKey: <explanation>
key={key}
onClick={() => {
navigator(`/report?dumpId=${testData.dumpPath.split('/').pop()}`);
Expand Down

0 comments on commit d751c8e

Please sign in to comment.