Skip to content
Snippets Groups Projects
App.test.js 276 B
Newer Older
  • Learn to ignore specific revisions
  • meskio's avatar
    meskio committed
    import React from "react";
    import { render } from "@testing-library/react";
    import App from "./App";
    
    meskio's avatar
    meskio committed
    test("renders sign in", () => {
    
      const { getByText } = render(<App />);
    
    meskio's avatar
    meskio committed
      const linkElement = getByText(/Nombre de acceso/i);
    
      expect(linkElement).toBeInTheDocument();
    });