import React from "react"; import type { FunctionComponent } from "react"; import { fireEvent, render, screen } from "@testing-library/react"; import { setUpServer } from "./setUpServer"; import { useSolidAuth } from "../src/SolidAuthContext"; import { ROOT_CONTAINER } from "./solidServer.helper"; import { BrowserSolidLdoProvider } from "../src/BrowserSolidLdoProvider"; describe("Browser Authentication", () => { const s = setUpServer(); const AuthTest: FunctionComponent = () => { const { login, session, logout } = useSolidAuth(); return (