1
0
Fork 0
mirror of https://github.com/classchartsapi/classcharts-api-js.git synced 2026-05-14 19:59:37 +00:00

make it work

This commit is contained in:
James Cook 2022-09-23 18:38:03 +00:00 committed by GitHub
parent e584bebb5e
commit 0a9382ebd0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 3 deletions

View file

@ -22,7 +22,7 @@ test("client returns activity data", () => {
test("client returns full activity", () => {
return client
.getFullActivity({ from: "2000-01-01", to: "2022-01-01" })
.getFullActivity({ from: "2022-01-01", to: "2022-09-01" })
.then((data) => {
let valid = false;
if (data.length > 50) valid = true;