Skip to content
Snippets Groups Projects
Commit 35036c25 authored by Tom Robinson's avatar Tom Robinson
Browse files

oops...

parent ceae35d9
Branches
Tags
No related merge requests found
......@@ -6,11 +6,11 @@ import { renderIntoDocument } from "react-addons-test-utils";
import LegendVertical from "metabase/visualizations/components/LegendVertical.jsx";
describe("LegendVertical", () => {
fit ("should render string titles correctly", () => {
it ("should render string titles correctly", () => {
let legend = renderIntoDocument(<LegendVertical titles={["Hello"]} colors={["red"]} />);
expect(ReactDOM.findDOMNode(legend).textContent).toEqual("Hello");
});
fit ("should render array titles correctly", () => {
it ("should render array titles correctly", () => {
let legend = renderIntoDocument(<LegendVertical titles={[["Hello", "world"]]} colors={["red"]} />);
expect(ReactDOM.findDOMNode(legend).textContent).toEqual("Helloworld");
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment