Fix tests and editorconfig

Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
Christian König
2023-11-18 09:23:24 +00:00
parent d0acd5f81b
commit dc2cfdba28
3 changed files with 16 additions and 16 deletions

View File

@@ -230,8 +230,8 @@ function formatReplyTime(replyTime, type) {
return replyTime < 1e-4
? (1e6 * replyTime).toFixed(1) + " µs"
: replyTime < 1
? (1e3 * replyTime).toFixed(1) + " ms"
: replyTime.toFixed(1) + " s";
? (1e3 * replyTime).toFixed(1) + " ms"
: replyTime.toFixed(1) + " s";
}
// else: return the number itself (for sorting and searching)