remove extra console.log lines

This commit is contained in:
Michael C
2021-10-20 00:59:08 -04:00
parent ac15686b47
commit 109578a3ed
3 changed files with 0 additions and 4 deletions

View File

@@ -79,7 +79,6 @@ describe("getStatus", () => {
it("Should be able to get loadavg only", (done) => { it("Should be able to get loadavg only", (done) => {
client.get(`${endpoint}/loadavg`) client.get(`${endpoint}/loadavg`)
.then(res => { .then(res => {
console.log(res.data);
assert.strictEqual(res.status, 200); assert.strictEqual(res.status, 200);
assert.ok(Number(res.data[0]) >= 0); assert.ok(Number(res.data[0]) >= 0);
assert.ok(Number(res.data[1]) >= 0); assert.ok(Number(res.data[1]) >= 0);

View File

@@ -92,7 +92,6 @@ describe("setUsername", () => {
it("Should be able to set username that has never been set", (done) => { it("Should be able to set username that has never been set", (done) => {
postSetUserName(user00PrivateUserID, username00) postSetUserName(user00PrivateUserID, username00)
.then(async res => { .then(async res => {
console.log(res.data);
const usernameInfo = await getUsernameInfo(getHash(user00PrivateUserID)); const usernameInfo = await getUsernameInfo(getHash(user00PrivateUserID));
assert.strictEqual(res.status, 200); assert.strictEqual(res.status, 200);
assert.strictEqual(usernameInfo.userName, username00); assert.strictEqual(usernameInfo.userName, username00);

View File

@@ -299,7 +299,6 @@ describe("voteOnSponsorTime", () => {
.then(async res => { .then(async res => {
assert.strictEqual(res.status, 200); assert.strictEqual(res.status, 200);
const row = await getSegmentCategory(UUID); const row = await getSegmentCategory(UUID);
console.log(row.category);
assert.strictEqual(row.category, category); assert.strictEqual(row.category, category);
done(); done();
}) })
@@ -314,7 +313,6 @@ describe("voteOnSponsorTime", () => {
.then(async res => { .then(async res => {
assert.strictEqual(res.status, 200); assert.strictEqual(res.status, 200);
const row = await getSegmentCategory(UUID); const row = await getSegmentCategory(UUID);
console.log(row.category);
assert.strictEqual(row.category, "intro"); assert.strictEqual(row.category, "intro");
done(); done();
}) })