forked from apdavison/nmpi-job-manager-app
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
171 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { describe, test } from "vitest"; | ||
import { render } from "@testing-library/react"; | ||
|
||
import ConfirmationDialog from "../../../src/components/general/ConfirmationDialog"; | ||
|
||
describe("ConfirmationDialog", () => { | ||
test("placeholder", () => { | ||
render(<ConfirmationDialog />); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { describe, test } from "vitest"; | ||
import { render } from "@testing-library/react"; | ||
|
||
import ErrorInDataLoading from "../../../src/components/general/ErrorInDataLoading"; | ||
|
||
describe("ErrorInDataLoading", () => { | ||
test("placeholder", () => { | ||
render(<ErrorInDataLoading />); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import { describe, test } from "vitest"; | ||
import { render } from "@testing-library/react"; | ||
import { createMemoryRouter, RouterProvider } from "react-router-dom"; | ||
|
||
import ErrorPage from "../../../src/components/general/ErrorPage"; | ||
|
||
describe("ErrorPage", () => { | ||
test("placeholder", () => { | ||
const router = createMemoryRouter( | ||
[{ path: "/:collabId/jobs/", element: <ErrorPage />, loader: () => [] }], | ||
{ initialEntries: ["/foo/"] } | ||
); | ||
|
||
render(<RouterProvider router={router} />); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { describe, test } from "vitest"; | ||
import { render } from "@testing-library/react"; | ||
|
||
import TagDisplay from "../../../src/components/general/TagDisplay"; | ||
|
||
describe("TagDisplay", () => { | ||
test("placeholder", () => { | ||
render(<TagDisplay />); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { describe, test } from "vitest"; | ||
import { render } from "@testing-library/react"; | ||
|
||
import CollabList from "../../../src/components/home/CollabList"; | ||
|
||
describe("CollabList", () => { | ||
test("placeholder", () => { | ||
render(<CollabList collabs={[]} />); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { describe, test } from "vitest"; | ||
import { render } from "@testing-library/react"; | ||
|
||
import Introduction from "../../../src/components/home/Introduction"; | ||
|
||
describe("Introduction", () => { | ||
test("placeholder", () => { | ||
render(<Introduction />); | ||
}); | ||
}); |
10 changes: 10 additions & 0 deletions
10
__tests__/components/job-creation/BrainScaleSConfig.test.jsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { describe, test } from "vitest"; | ||
import { render } from "@testing-library/react"; | ||
|
||
import BrainScaleSConfig from "../../../src/components/job-creation/BrainScaleSConfig"; | ||
|
||
describe("BrainScaleSConfig", () => { | ||
test("placeholder", () => { | ||
render(<BrainScaleSConfig config={{}} />); | ||
}); | ||
}); |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import { describe, test } from "vitest"; | ||
import { render } from "@testing-library/react"; | ||
|
||
import DriveBrowser from "../../../src/components/job-creation/DriveBrowser"; | ||
import { AuthContext } from "../../../src/context"; | ||
|
||
describe("DriveBrowser", () => { | ||
test("placeholder", () => { | ||
render( | ||
<AuthContext.Provider value={{ token: "foo" }}> | ||
<DriveBrowser /> | ||
</AuthContext.Provider> | ||
); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { describe, test } from "vitest"; | ||
import { render } from "@testing-library/react"; | ||
|
||
import FileBrowser from "../../../src/components/job-creation/FileBrowser"; | ||
|
||
describe("FileBrowser", () => { | ||
test("placeholder", () => { | ||
render(<FileBrowser contents={[]} path="/path/to/directory" />); | ||
}); | ||
}); |
10 changes: 10 additions & 0 deletions
10
__tests__/components/job-creation/SpiNNakerConfig.test.jsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { describe, test } from "vitest"; | ||
import { render } from "@testing-library/react"; | ||
|
||
import SpiNNakerConfig from "../../../src/components/job-creation/SpiNNakerConfig"; | ||
|
||
describe("SpiNNakerConfig", () => { | ||
test("placeholder", () => { | ||
render(<SpiNNakerConfig config={{}} />); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { describe, test } from "vitest"; | ||
import { render } from "@testing-library/react"; | ||
|
||
import Comment from "../../../src/components/job-detail/Comment"; | ||
|
||
describe("Comment", () => { | ||
test("placeholder", () => { | ||
render(<Comment />); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { describe, test } from "vitest"; | ||
import { render } from "@testing-library/react"; | ||
|
||
import CommentForm from "../../../src/components/job-detail/CommentForm"; | ||
|
||
describe("CommentForm", () => { | ||
test("placeholder", () => { | ||
render(<CommentForm />); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { describe, test } from "vitest"; | ||
import { render } from "@testing-library/react"; | ||
|
||
import Preview from "../../../src/components/job-detail/Preview"; | ||
|
||
describe("Preview", () => { | ||
test("placeholder", () => { | ||
render(<Preview />); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { describe, test } from "vitest"; | ||
import { render } from "@testing-library/react"; | ||
|
||
import EditProjectDialog from "../../../src/components/projects/EditProjectDialog"; | ||
|
||
describe("EditProjectDialog", () => { | ||
test("placeholder", () => { | ||
render(<EditProjectDialog />); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { describe, test } from "vitest"; | ||
import { render } from "@testing-library/react"; | ||
|
||
import ProjectCard from "../../../src/components/projects/ProjectCard"; | ||
|
||
describe("ProjectCard", () => { | ||
test("placeholder", () => { | ||
render(<ProjectCard project={{ quotas: [] }} />); | ||
}); | ||
}); |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { describe, test } from "vitest"; | ||
import { render } from "@testing-library/react"; | ||
|
||
import QuotaSelector from "../../../src/components/projects/QuotaSelector"; | ||
|
||
describe("QuotaSelector", () => { | ||
test("placeholder", () => { | ||
render(<QuotaSelector />); | ||
}); | ||
}); |