mirror of
https://github.com/prymitive/karma
synced 2026-05-09 03:36:44 +00:00
13 lines
300 B
TypeScript
13 lines
300 B
TypeScript
import { shallow } from "enzyme";
|
|
|
|
import toDiffableHtml from "diffable-html";
|
|
|
|
import { Help } from "./Help";
|
|
|
|
describe("<Help />", () => {
|
|
it("matches snapshot", () => {
|
|
const tree = shallow(<Help defaultIsOpen={true} />);
|
|
expect(toDiffableHtml(tree.html())).toMatchSnapshot();
|
|
});
|
|
});
|