mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-07 20:17:02 +03:00
Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into chapters
This commit is contained in:
@@ -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"
|
||||||
}],
|
}],
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user