DocSpace-client/packages/asc-web-components/code-input/code-input.test.js

12 lines
280 B
JavaScript
Raw Normal View History

2022-02-02 22:48:33 +00:00
import React from "react";
import { mount } from "enzyme";
import CodeInput from ".";
describe("<CodeInput />", () => {
it("renders without error", () => {
const wrapper = mount(<CodeInput onSubmit={() => console.log("code")} />);
expect(wrapper).toExist();
});
});