Skip to content

Commit

Permalink
Merge branch 'main' into vscode-webview-proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
fonsp committed Oct 21, 2021
2 parents 5bedf40 + 3eae481 commit a717e7d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/components/RunArea.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const prettytime = (time_ns) => {
i += 1
result /= 1000
}
const roundedtime = result.toFixed(time_ns < 10 || result >= 100.0 ? 0 : 1)
const roundedtime = result.toFixed(time_ns < 100 || result >= 100.0 ? 0 : 1)

return roundedtime + "\xa0" + prefices[i] + "s"
}
Expand Down
3 changes: 3 additions & 0 deletions test/React.jl
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ import Distributed
# and also that Pluto can figure out the execution order on its own
@test all(noerror, notebook.cells)

WorkspaceManager.unmake_workspace((🍭, notebook))
🍭.options.evaluation.workspace_use_distributed = false
end

Expand Down Expand Up @@ -355,6 +356,7 @@ import Distributed
@test notebook.cells[4] |> noerror
@test notebook.cells[1].output.body == "\"double_december = 24\""

WorkspaceManager.unmake_workspace((🍭, notebook))
🍭.options.evaluation.workspace_use_distributed = false
end

Expand All @@ -376,6 +378,7 @@ import Distributed
@test :conj ∈ notebook.topology.nodes[notebook.cells[1]].references
@test notebook.cells[1].output.body == "200"

WorkspaceManager.unmake_workspace((🍭, notebook))
🍭.options.evaluation.workspace_use_distributed = false
end

Expand Down

0 comments on commit a717e7d

Please sign in to comment.