Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip Tests #125

Merged
merged 16 commits into from
Jul 18, 2024
6 changes: 3 additions & 3 deletions project/__tests__/end_to_end_unit.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import ProjectFactory from "../../classes/Project/ProjectFactory.mjs"
const routeTester = new express()
let token = process.env.TEST_TOKEN
routeTester.use("/project", projectRouter)
describe("Project endpoint end to end unit test (spinning up the endpoint and using it). #end2end_unit", () => {
describe.skip("Project endpoint end to end unit test (spinning up the endpoint and using it). #end2end_unit", () => {
it("Call to /project with a non-hexadecimal project ID. The status should be 400 with a message.", async () => {
const res = await request(routeTester)
.get("/project/zzz")
Expand All @@ -34,7 +34,7 @@ describe("Project endpoint end to end unit test (spinning up the endpoint and us
})
})

describe("Project endpoint end to end unit test to /project/create #end2end_unit", () => {
describe.skip("Project endpoint end to end unit test to /project/create #end2end_unit", () => {
it("GET instead of POST. The status should be 404 with a message.", async () => {
const res = await request(routeTester)
.get("/project/create")
Expand Down Expand Up @@ -83,7 +83,7 @@ describe("Project endpoint end to end unit test to /project/create #end2end_unit
})
})

describe("POST /project/import?createFrom=URL #importTests", () => {
describe.skip("POST /project/import?createFrom=URL #importTests", () => {
afterEach(() => {
jest.restoreAllMocks()
})
Expand Down
Loading