mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2024-11-10 09:07:47 +01:00
json as any
This commit is contained in:
parent
c779c2c19e
commit
9b6808273b
1 changed files with 2 additions and 2 deletions
|
@ -255,7 +255,7 @@ describe("lockCategoriesRecords", () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
it("Should return 400 for no userID", (done) => {
|
it("Should return 400 for no userID", (done) => {
|
||||||
const json = {
|
const json: any = {
|
||||||
videoID: "test",
|
videoID: "test",
|
||||||
userID: null,
|
userID: null,
|
||||||
categories: ["sponsor"],
|
categories: ["sponsor"],
|
||||||
|
@ -270,7 +270,7 @@ describe("lockCategoriesRecords", () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
it("Should return 400 for no videoID", (done) => {
|
it("Should return 400 for no videoID", (done) => {
|
||||||
const json = {
|
const json: any = {
|
||||||
videoID: null,
|
videoID: null,
|
||||||
userID: "test",
|
userID: "test",
|
||||||
categories: ["sponsor"],
|
categories: ["sponsor"],
|
||||||
|
|
Loading…
Reference in a new issue