test: 改进cookie.ts 和 增加cookie单元测试

This commit is contained in:
qier222 2022-04-14 22:57:36 +08:00
parent 0c89b4aa53
commit 13281d3f08
No known key found for this signature in database
GPG key ID: 9C85007ED905F14D
4 changed files with 280 additions and 19 deletions

View file

@ -101,8 +101,6 @@ export function formatDuration(
}`
: `${mins} ${units[locale].mins}`
}
return String(milliseconds)
}
export function scrollToTop(smooth = false) {