added testing function

This commit is contained in:
Miodec 2021-07-05 14:33:36 +01:00
parent a38e148a97
commit fae222f782

View file

@ -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"
))
}