mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-03 22:16:54 +00:00
adds some arguments to unit tests to get around some windows shenanigans and adds enzyme to the project for use in testing
13 lines
227 B
JavaScript
13 lines
227 B
JavaScript
import React from "react";
|
|
import { RecoilRoot } from "recoil";
|
|
import { shallow } from "enzyme";
|
|
import Phone from "./Phone";
|
|
|
|
it("renders Phone", () => {
|
|
shallow(
|
|
<RecoilRoot>
|
|
<Phone />
|
|
</RecoilRoot>
|
|
);
|
|
});
|