Apply prettier formatting
This commit is contained in:
@@ -21,11 +21,15 @@ describe("Validation", () => {
|
||||
const handler = withValidation({
|
||||
rules: [],
|
||||
});
|
||||
return expect(handler({
|
||||
value: "value",
|
||||
focused: true,
|
||||
})).resolves.toEqual(expect.objectContaining({
|
||||
valid: true,
|
||||
}));
|
||||
return expect(
|
||||
handler({
|
||||
value: "value",
|
||||
focused: true,
|
||||
}),
|
||||
).resolves.toEqual(
|
||||
expect.objectContaining({
|
||||
valid: true,
|
||||
}),
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user