mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
17 lines
401 B
TypeScript
17 lines
401 B
TypeScript
import dataProvider from "../../src/index";
|
|
|
|
describe("custom", () => {
|
|
it("correct get response", async () => {
|
|
try {
|
|
await dataProvider("keywoytODSr6xAqfg", "appKYl1H4k9g73sBT").custom!({
|
|
url: "users",
|
|
method: "get",
|
|
});
|
|
} catch (error) {
|
|
expect(error).toEqual(
|
|
Error("Not implemented on refine-airtable data provider."),
|
|
);
|
|
}
|
|
});
|
|
});
|