mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
16 lines
411 B
TypeScript
16 lines
411 B
TypeScript
import dataProvider from "../../src/index";
|
|
import "./index.mock";
|
|
|
|
describe("deleteMany", () => {
|
|
it("correct response", async () => {
|
|
const response = await dataProvider(
|
|
"keywoytODSr6xAqfg",
|
|
"appKYl1H4k9g73sBT",
|
|
).deleteMany!({ resource: "posts", ids: ["recdgFXue7JnGD90w"] });
|
|
|
|
const { data } = response;
|
|
|
|
expect(data).not.toBeNull();
|
|
});
|
|
});
|