Created
March 29, 2016 20:06
-
-
Save delianides/b641c590d9be7438016c95fa643652af to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from "react"; | |
import { expect } from "chai"; | |
import { shallow } from "enzyme"; | |
import Spinner from "./../../../../core/components/loading/Spinner"; | |
describe("Spinner", () => { | |
it("has the default styles", () => { | |
const wrapper = shallow(<Spinner />); | |
console.log(wrapper); | |
expect(wrapper.contains(<div className="loading"/>)).to.equal(true); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment