Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fzaninotto committed Jul 9, 2024
1 parent c99a968 commit bcc26c8
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 138 deletions.
77 changes: 0 additions & 77 deletions src/__snapshots__/AdminGuesser.test.tsx.snap

This file was deleted.

61 changes: 0 additions & 61 deletions src/__snapshots__/ResourceGuesser.test.tsx.snap

This file was deleted.

1 change: 1 addition & 0 deletions src/create/CreateGuesser.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import React from 'react';
import { AdminContext, FormTab, TextInput } from 'react-admin';
import { Resource } from '@api-platform/api-doc-parser';
import { render, screen, waitFor } from '@testing-library/react';
import '@testing-library/jest-dom';
import userEvent from '@testing-library/user-event';

import CreateGuesser from './CreateGuesser.js';
Expand Down
1 change: 1 addition & 0 deletions src/edit/EditGuesser.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import React from 'react';
import { AdminContext, FormTab, TextInput } from 'react-admin';
import { Resource } from '@api-platform/api-doc-parser';
import { render, screen, waitFor } from '@testing-library/react';
import '@testing-library/jest-dom';
import userEvent from '@testing-library/user-event';

import EditGuesser from './EditGuesser.js';
Expand Down
1 change: 1 addition & 0 deletions src/input/InputGuesser.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import {
} from 'react-admin';
import { Resource } from '@api-platform/api-doc-parser';
import { fireEvent, render, screen, waitFor } from '@testing-library/react';
import '@testing-library/jest-dom';
import userEvent from '@testing-library/user-event';

import InputGuesser from './InputGuesser.js';
Expand Down

0 comments on commit bcc26c8

Please sign in to comment.