mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-11-09 13:44:29 +08:00
added testing function
This commit is contained in:
parent
a38e148a97
commit
fae222f782
1 changed files with 18 additions and 1 deletions
|
|
@ -13,4 +13,21 @@ global.link = AccountController.linkWithGoogle;
|
|||
|
||||
global.filters = ResultFilters.getFilters();
|
||||
|
||||
global.glarsesMode = toggleGlarses;
|
||||
global.glarsesMode = toggleGlarses;
|
||||
|
||||
global.crownTest = async () => {
|
||||
console.log('local pb', await DB.getLocalPB(
|
||||
"time",
|
||||
60,
|
||||
false,
|
||||
"english",
|
||||
"normal"
|
||||
))
|
||||
console.log('local highest wpm', await DB.getUserHighestWpm(
|
||||
"time",
|
||||
60,
|
||||
false,
|
||||
"english",
|
||||
"normal"
|
||||
))
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue