mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-15 07:57:05 +03:00
Fix test
This commit is contained in:
@@ -254,7 +254,7 @@ describe("getSkipSegmentsByHash", () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it("Should only return one segment when fetching highlight segments", (done: Done) => {
|
it("Should only return one segment when fetching highlight segments", (done: Done) => {
|
||||||
fetch(`${getbaseURL()}/api/skipSegments/c962?category=highlight`)
|
fetch(`${getbaseURL()}/api/skipSegments/c962?category=poi_highlight`)
|
||||||
.then(async res => {
|
.then(async res => {
|
||||||
assert.strictEqual(res.status, 200);
|
assert.strictEqual(res.status, 200);
|
||||||
const data = await res.json();
|
const data = await res.json();
|
||||||
|
|||||||
Reference in New Issue
Block a user