mirror of
https://github.com/coder/coder.git
synced 2025-07-12 00:14:10 +00:00
- Adds initial infra for running front-end tests (`jest`, `ts-jest`, `jest.config.js`, etc) - Adds codecov integration front-end code
16 lines
332 B
TypeScript
16 lines
332 B
TypeScript
import React from "react"
|
|
import { screen } from "@testing-library/react"
|
|
|
|
import { render } from "../../test_helpers"
|
|
import { Navbar } from "./index"
|
|
|
|
describe("Navbar", () => {
|
|
it("renders content", async () => {
|
|
// When
|
|
render(<Navbar />)
|
|
|
|
// Then
|
|
await screen.findAllByText("Coder", { exact: false })
|
|
})
|
|
})
|