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.
13 lines • 423 B
JavaScript
import React from "react";
import { Spinner } from ".";
import createSnapshot from "../../test/create-snapshot";
describe("<Spinner /> snapshot tests", function () {
var defaultProps = {
size: 14,
color: "green"
};
it("should render <Spinner /> component correctly", function () {
var snapshot = createSnapshot(React.createElement(Spinner, defaultProps));
expect(snapshot).toMatchSnapshot();
});
});