vcc-ui
Version:
VCC UI is a collection of React UI Components that can be used for developing front-end applications at Volvo Car Corporation.
12 lines • 435 B
JavaScript
import React from "react";
import { Footer } from ".";
import { footerMockData } from "./mock-data";
import createSnapshot from "../../test/create-snapshot";
describe("<Footer /> snapshot tests", function () {
it("renders Footer component correctly with default props", function () {
var snapshot = createSnapshot(React.createElement(Footer, {
data: footerMockData
}));
expect(snapshot).toMatchSnapshot();
});
});