mirror of
https://github.com/prymitive/karma
synced 2026-05-09 03:36:44 +00:00
15 lines
328 B
JavaScript
15 lines
328 B
JavaScript
import React from "react";
|
|
|
|
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();
|
|
});
|
|
});
|