Skip to content

Commit

Permalink
yarn fix
Browse files Browse the repository at this point in the history
  • Loading branch information
PawelSuwinski committed May 29, 2024
1 parent 6c647f8 commit 3e5d533
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/InputGuesser.test.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import React from 'react';
import type { SortPayload } from 'react-admin';
import {
AdminContext,
Edit,
ResourceContextProvider,
SimpleForm,
SortPayload,
} from 'react-admin';
import { Resource } from '@api-platform/api-doc-parser';
import { fireEvent, render, screen, waitFor } from '@testing-library/react';
Expand Down Expand Up @@ -251,7 +251,10 @@ describe('<InputGuesser />', () => {
<ResourceContextProvider value="users">
<Edit id="/users/123" mutationMode="pessimistic">
<SimpleForm>
<InputGuesser source="owner" sort={{field: "id", order: "DESC" } as SortPayload} />
<InputGuesser
source="owner"
sort={{ field: 'id', order: 'DESC' } as SortPayload}
/>
</SimpleForm>
</Edit>
</ResourceContextProvider>
Expand Down

0 comments on commit 3e5d533

Please sign in to comment.