import Loading from "./Loading"
import React from "react"
import { render } from "tests"
describe("Loading", () => {
it("renders with default props", () => {
const { container } = render()
expect(container.firstChild).toMatchSnapshot()
})
it("renders with custom size", () => {
const { container } = render()
expect(container.firstChild).toMatchSnapshot()
})
it("renders with contrast color", () => {
const { container } = render()
expect(container.firstChild).toMatchSnapshot()
})
it("renders with secondary color", () => {
const { container } = render()
expect(container.firstChild).toMatchSnapshot()
})
it("renders in disabled state", () => {
const { container } = render()
expect(container.firstChild).toMatchSnapshot()
})
it("renders with multiple custom props", () => {
const { container } = render(
)
expect(container.firstChild).toMatchSnapshot()
})
})