print error in tests

This commit is contained in:
Ajay Ramachandran 2021-08-10 10:52:02 -04:00
parent f24c962785
commit fa901add35

View file

@ -168,7 +168,7 @@ describe("setUsername", () => {
assert.strictEqual(usernameInfo.locked, 1, "username should be locked");
done();
})
.catch(() => done(`couldn't call endpoint`));
.catch((err) => done(`couldn't call endpoint: ${err}`));
});
it("Should filter out unicode control characters", (done: Done) => {