Skip to content

Commit 10fdb85

Browse files
committed
Tests all pass
1 parent be4f535 commit 10fdb85

26 files changed

+65
-74
lines changed

.eslintrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"es2020": true
1818
},
1919
"rules": {
20-
"react/react-in-jsx-scope": "off"
20+
"react/react-in-jsx-scope": "off",
21+
"react/prop-types": "off"
2122
}
2223
}

__tests__/auth.test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { describe, expect, test, vi } from "vitest";
2-
import { render, screen, getByRole, fireEvent, waitFor } from "@testing-library/react";
1+
import { describe, test } from "vitest";
2+
//import { render, screen, getByRole, fireEvent, waitFor } from "@testing-library/react";
33

4-
import { checkAuth } from "../src/auth";
4+
//import { checkAuth } from "../src/auth";
55

66
describe("checkAuth", () => {
77
test("placeholder", () => {});

__tests__/components/CodePanel.test.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { describe, expect, test, vi } from "vitest";
2-
import { render, screen, getByRole, fireEvent, waitFor } from "@testing-library/react";
1+
import { describe, test } from "vitest";
2+
import { render } from "@testing-library/react";
33

44
import CodePanel from "../../src/components/CodePanel";
55

__tests__/components/CodeWidget.test.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { describe, expect, test, vi } from "vitest";
2-
import { render, screen, getByRole, fireEvent, waitFor } from "@testing-library/react";
1+
import { describe, test } from "vitest";
2+
import { render } from "@testing-library/react";
33

44
import CodeWidget from "../../src/components/CodeWidget";
55

__tests__/components/CommentsPanel.test.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { describe, expect, test, vi } from "vitest";
2-
import { render, screen, getByRole, fireEvent, waitFor } from "@testing-library/react";
1+
import { describe, test } from "vitest";
2+
import { render } from "@testing-library/react";
33
import { createMemoryRouter, RouterProvider } from "react-router-dom";
44

55
import CommentsPanel from "../../src/components/CommentsPanel";

__tests__/components/CreateJobDialog.test.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { describe, expect, test, vi } from "vitest";
2-
import { render, screen, getByRole, fireEvent, waitFor } from "@testing-library/react";
1+
import { describe, test } from "vitest";
2+
//import { render, screen, getByRole, fireEvent, waitFor } from "@testing-library/react";
33

4-
import CreateJobForm from "../../src/components/CreateJobForm";
4+
//import CreateJobForm from "../../src/components/CreateJobForm";
55

66
describe("CreateJobForm", () => {
77
test("placeholder", () => {});

__tests__/components/FilesPanel.test.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { describe, expect, test, vi } from "vitest";
2-
import { render, screen, getByRole, fireEvent, waitFor } from "@testing-library/react";
1+
import { describe, test } from "vitest";
2+
import { render } from "@testing-library/react";
33
import { createMemoryRouter, RouterProvider } from "react-router-dom";
44

55
import FilesPanel from "../../src/components/FilesPanel";

__tests__/components/JobDetail.test.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { describe, expect, test, vi } from "vitest";
2-
import { render, screen, getByRole, fireEvent, waitFor } from "@testing-library/react";
1+
import { describe, test } from "vitest";
2+
import { render } from "@testing-library/react";
33
import { createMemoryRouter, RouterProvider } from "react-router-dom";
44

55
import JobDetailRoute from "../../src/routes/job-detail";

__tests__/components/JobList.test.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { describe, expect, test, vi } from "vitest";
2-
import { render, screen, getByRole, fireEvent, waitFor } from "@testing-library/react";
1+
import { describe, test } from "vitest";
2+
import { render } from "@testing-library/react";
33
import { createMemoryRouter, RouterProvider } from "react-router-dom";
44

55
import JobListRoute from "../../src/routes/jobs";

__tests__/components/KeyValueTable.test.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { describe, expect, test, vi } from "vitest";
2-
import { render, screen, getByRole, fireEvent, waitFor } from "@testing-library/react";
1+
import { describe, test } from "vitest";
2+
import { render } from "@testing-library/react";
33

44
import KeyValueTable from "../../src/components/KeyValueTable";
55

0 commit comments

Comments
 (0)