-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #199 from SELab-2/info_page_testen
aboutpage layout + testen
- Loading branch information
Showing
4 changed files
with
65 additions
and
13 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
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
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
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 { mount } from "@vue/test-utils"; | ||
import {expect, describe, it} from "vitest"; | ||
import AboutView from "../../src/views/AboutView.vue" | ||
|
||
|
||
describe("About view", () => { | ||
const wrapper = mount(AboutView, {}); | ||
it("renders title", () => { | ||
expect(wrapper.text()).toContain("Over dit project") | ||
}); | ||
it("render developers", () => { | ||
const items = wrapper.findAllComponents(".developers") | ||
expect(items.length).toBe(7) | ||
}); | ||
}); |