Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
camillobruni committed Oct 11, 2024
1 parent b8df80a commit bcee866
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions resources/developer-mode.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -223,12 +223,12 @@ function createUIForSuites() {

function createUIForRun() {
const stepTestButton = document.createElement("button");
stepTestButton.textContent = "Step Test ";
stepTestButton.textContent = "Step Test \u23EF";
stepTestButton.onclick = (event) => {
globalThis.benchmarkClient.step();
};
const startTestButton = document.createElement("button");
startTestButton.textContent = "Start Test ";
startTestButton.textContent = "Start Test \u23F5";
startTestButton.onclick = (event) => {
globalThis.benchmarkClient.start();
};
Expand Down
3 changes: 2 additions & 1 deletion resources/main.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,10 @@ class MainBenchmarkClient {
}

_clearStepping() {
this._steppingResolver();
const currentSteppingResolver = this._steppingResolver;
this._steppingPromise = null;
this._steppingResolver = null;
currentSteppingResolver();
}

async _awaitNextStep(suite, test) {
Expand Down

0 comments on commit bcee866

Please sign in to comment.