10 lines
226 B
TypeScript
10 lines
226 B
TypeScript
|
import { app } from "./server";
|
||
|
import request from "supertest";
|
||
|
|
||
|
test("create feed", async () => {
|
||
|
const response = await request(app)
|
||
|
.post("/")
|
||
|
.send({ name: "My Feed" });
|
||
|
JSON.stringify(response, null, 2);
|
||
|
});
|