Skip to content

Commit

Permalink
updated test to include delete request
Browse files Browse the repository at this point in the history
sinamics committed Mar 11, 2024
1 parent 2be28ef commit f898d2a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -160,8 +160,8 @@ describe("Update Network Members", () => {
);
});

it("should allow only POST method", async () => {
const methods = ["GET", "PUT", "DELETE", "PATCH", "OPTIONS", "HEAD"];
it("should allow only POST and DELETE method", async () => {
const methods = ["GET", "PUT", "PATCH", "OPTIONS", "HEAD"];
const req = {} as NextApiRequest;
const res = createMockRes();

0 comments on commit f898d2a

Please sign in to comment.