mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2026-02-01 07:10:55 +03:00
Rename highlight category to poi_highlight
This commit is contained in:
@@ -536,7 +536,7 @@ describe("postSkipSegments", () => {
|
||||
|
||||
it("Should be accepted if highlight segment starts and ends at the same time", (done: Done) => {
|
||||
fetch(`${getbaseURL()
|
||||
}/api/skipSegments?videoID=qqwerty&startTime=30&endTime=30&userID=testtesttesttesttesttesttesttesttesting&category=highlight`, {
|
||||
}/api/skipSegments?videoID=qqwerty&startTime=30&endTime=30&userID=testtesttesttesttesttesttesttesttesting&category=poi_highlight`, {
|
||||
method: "POST",
|
||||
})
|
||||
.then(res => {
|
||||
@@ -548,7 +548,7 @@ describe("postSkipSegments", () => {
|
||||
|
||||
it("Should be rejected if highlight segment doesn't start and end at the same time", (done: Done) => {
|
||||
fetch(`${getbaseURL()
|
||||
}/api/skipSegments?videoID=qqwerty&startTime=30&endTime=30.5&userID=testtesttesttesttesttesttesttesttesting&category=highlight`, {
|
||||
}/api/skipSegments?videoID=qqwerty&startTime=30&endTime=30.5&userID=testtesttesttesttesttesttesttesttesting&category=poi_highlight`, {
|
||||
method: "POST",
|
||||
})
|
||||
.then(res => {
|
||||
|
||||
Reference in New Issue
Block a user