mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-10 13:37:01 +03:00
testing CI
This commit is contained in:
@@ -106,10 +106,10 @@ describe("getSkipSegmentsByHash", () => {
|
||||
.catch(err => done(err));
|
||||
});
|
||||
|
||||
it("Should return 404 for no hash", (done: Done) => {
|
||||
it("Should return 400 for no hash", (done: Done) => {
|
||||
fetch(`${getbaseURL()}/api/skipSegments/?categories=["shilling"]`)
|
||||
.then(res => {
|
||||
assert.strictEqual(res.status, 404);
|
||||
assert.strictEqual(res.status, 400);
|
||||
done();
|
||||
})
|
||||
.catch(err => done(err));
|
||||
|
||||
Reference in New Issue
Block a user