object-curly-spacing

This commit is contained in:
Michael C
2021-09-22 18:52:35 -04:00
parent 5dcc90b31a
commit a028eaa41a
85 changed files with 406 additions and 405 deletions

View File

@@ -1,6 +1,6 @@
import {db} from "../../src/databases/databases";
import {getHash} from "../../src/utils/getHash";
import {deepStrictEqual} from "assert";
import { db } from "../../src/databases/databases";
import { getHash } from "../../src/utils/getHash";
import { deepStrictEqual } from "assert";
import { client } from "../utils/httpClient";
const endpoint = "/api/getSavedTimeForUser";
@@ -14,7 +14,7 @@ describe("getSavedTimeForUser", () => {
});
it("Should be able to get a 200", (done) => {
client.get(endpoint, { params: { userID: user1 }})
client.get(endpoint, { params: { userID: user1 } })
.then(res => {
// (end-start)*minute * views
const savedMinutes = ((11-1)/60) * 50;