We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 806a468 commit f6d3f1cCopy full SHA for f6d3f1c
1 file changed
__test__/field.test.ts
@@ -94,20 +94,6 @@ describe("Field", () => {
94
});
95
96
97
- it("setData resolves with warnings when bridge returns warnings", async () => {
98
- const warn = [
99
- {
100
- field: "title",
101
- fieldType: "text",
102
- reasons: [{ reason: "MIN_LENGTH", message: "too short" }],
103
- },
104
- ];
105
- jest.spyOn(connection, "sendToParent").mockResolvedValue({
106
- data: { warnings: warn },
107
- });
108
- const out: any = await field.setData("ab");
109
- expect(out.warnings).toEqual(warn);
110
111
112
113
describe("File", () => {
0 commit comments