mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2024-09-20 04:54:00 +02: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) => {
|
||||
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"],
|
||||
|
|
Loading…
Reference in a new issue