mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-15 16:07:03 +03:00
print error in tests
This commit is contained in:
@@ -168,7 +168,7 @@ describe("setUsername", () => {
|
|||||||
assert.strictEqual(usernameInfo.locked, 1, "username should be locked");
|
assert.strictEqual(usernameInfo.locked, 1, "username should be locked");
|
||||||
done();
|
done();
|
||||||
})
|
})
|
||||||
.catch(() => done(`couldn't call endpoint`));
|
.catch((err) => done(`couldn't call endpoint: ${err}`));
|
||||||
});
|
});
|
||||||
|
|
||||||
it("Should filter out unicode control characters", (done: Done) => {
|
it("Should filter out unicode control characters", (done: Done) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user