Skip to content

Commit

Permalink
fix(lint): Add correct imports and remove unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
drikusroor committed Jan 24, 2024
1 parent a271a7b commit 6a882af
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions frontend/src/components/Final/Final.test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React from 'react';
import { vi } from 'vitest';
import { render, screen, fireEvent, waitFor } from '@testing-library/react';
import { BrowserRouter, Router } from 'react-router-dom';
import { createMemoryHistory } from 'history'
Expand Down
3 changes: 2 additions & 1 deletion frontend/src/components/PlayButton/PlayCard.test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import React from "react";
import { vi } from "vitest";
import { render, fireEvent, screen } from "@testing-library/react";
import PlayCard from "./PlayCard"; // Adjust the path as necessary
import PlayCard from "./PlayCard";

describe("PlayCard Component Tests", () => {
const mockOnClick = vi.fn();
Expand Down
3 changes: 2 additions & 1 deletion frontend/src/components/Playback/Playback.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React from 'react';
import { render, wait } from '@testing-library/react';
import { vi } from 'vitest';
import { render } from '@testing-library/react';

import Playback from './Playback';

Expand Down
1 change: 1 addition & 0 deletions frontend/src/components/UserFeedback/UserFeedback.test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React from 'react';
import { vi } from 'vitest';
import { render, fireEvent, waitFor } from '@testing-library/react';
import UserFeedback from './UserFeedback';
import { postFeedback } from '../../API';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React from 'react';
import { vi } from 'vitest';
import { render, fireEvent, waitFor } from '@testing-library/react';
import VisualMatchingPairs from './VisualMatchingPairs'; // Adjust the import path as necessary

Expand Down

0 comments on commit 6a882af

Please sign in to comment.