Skip to content

Commit

Permalink
test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
miboelae committed May 14, 2024
1 parent 7b6d2d3 commit ca0d2df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/tests/components/project/ProjectInfo.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const mockProject = {
}

const mockInstructors = [
{uid: "1", given_name: "instructor 1"}
{uid: "1", given_name: "instructor 1", surname: "Doe"}
]

const mockSubject = {
Expand Down Expand Up @@ -66,7 +66,7 @@ describe("ProjectInfo", async () => {
expect(text).toContain("projectname")
expect(text).toContain("subjectname")
expect(text).toContain("Capaciteit: 2")
expect(text).toContain("instructor 1")
expect(text).toContain("I. Doe")
expect(text).toContain("this is a testassignment")
})
});

0 comments on commit ca0d2df

Please sign in to comment.