Skip to content

Commit

Permalink
test: add welcome page test
Browse files Browse the repository at this point in the history
  • Loading branch information
mfelipegs committed Mar 14, 2024
1 parent a324f10 commit 81a8e3a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions __tests__/welcome.test.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import React from "react"
import { render } from "@testing-library/react-native"
import WelcomeScreen from "../app/index"

test("renders welcome page text", () => {
const { getByText } = render(<WelcomeScreen />)
const welcomeText = getByText("Seja bem-vindo(a) ao Osiris!")
expect(welcomeText).toBeTruthy()
})

0 comments on commit 81a8e3a

Please sign in to comment.