@hackoregon/component-library
Version:
Official repo for Hack Oregon React component library
14 lines • 539 B
JavaScript
import React from "react";
import { shallow } from "enzyme";
import PackageSelectorBox from "./PackageSelectorBox";
describe("PackageSelctorBox", function () {
var testTitle = "Schools";
var testDescription = "A short description of the sorts of things you can explore with this package. Data Sources?";
var wrapper = shallow(React.createElement(PackageSelectorBox, {
title: testTitle,
description: testDescription
}));
it("should render a link", function () {
expect(wrapper.find("div")).to.have.length(1);
});
});