Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into chapters

This commit is contained in:
Ajay Ramachandran
2021-11-08 19:26:39 -05:00

View File

@@ -210,14 +210,14 @@ describe("postSkipSegments", () => {
.catch(err => done(err)); .catch(err => done(err));
}); });
it("Should not be able to submit an intro with mute action type (JSON method)", (done) => { it("Should not be able to submit an music_offtopic with mute action type (JSON method)", (done) => {
const videoID = "postSkip4"; const videoID = "postSkip4";
postSkipSegmentJSON({ postSkipSegmentJSON({
userID: submitUserOne, userID: submitUserOne,
videoID, videoID,
segments: [{ segments: [{
segment: [0, 10], segment: [0, 10],
category: "intro", category: "music_offtopic",
actionType: "mute" actionType: "mute"
}], }],
}) })