mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-06 11:36:58 +03:00
Fix test on new warning reason format
This commit is contained in:
@@ -589,7 +589,7 @@ describe("postSkipSegments", () => {
|
||||
const expected = "Submission rejected due to a warning from a moderator. This means that we noticed you were making some common mistakes"
|
||||
+ " that are not malicious, and we just want to clarify the rules. "
|
||||
+ "Could you please send a message in discord.gg/SponsorBlock or matrix.to/#/+sponsor:ajay.app so we can further help you? "
|
||||
+ `Your userID is ${userID}.\n\nWarning reason: ${reason}`;
|
||||
+ `Your userID is ${userID}.\n\nWarning reason: '${reason}'`;
|
||||
|
||||
assert.strictEqual(errorMessage, expected);
|
||||
done();
|
||||
|
||||
Reference in New Issue
Block a user