import { shallow } from "enzyme"; import React from "react"; import { SecurityWarningBar } from "./SecurityWarningBar"; describe("SecurityWarningBar", () => { it("renders if notebook is untrusted", () => { const wrapper = shallow( ); expect(wrapper).toMatchSnapshot(); }); it("renders if notebook is trusted", () => { const wrapper = shallow( ); expect(wrapper).toMatchSnapshot(); }); });