mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-14 23:47:00 +03:00
json as any
This commit is contained in:
@@ -255,7 +255,7 @@ describe("lockCategoriesRecords", () => {
|
||||
});
|
||||
|
||||
it("Should return 400 for no userID", (done) => {
|
||||
const json = {
|
||||
const json: any = {
|
||||
videoID: "test",
|
||||
userID: null,
|
||||
categories: ["sponsor"],
|
||||
@@ -270,7 +270,7 @@ describe("lockCategoriesRecords", () => {
|
||||
});
|
||||
|
||||
it("Should return 400 for no videoID", (done) => {
|
||||
const json = {
|
||||
const json: any = {
|
||||
videoID: null,
|
||||
userID: "test",
|
||||
categories: ["sponsor"],
|
||||
|
||||
Reference in New Issue
Block a user