Fixed a typo.
This commit is contained in:
parent
d1d1abe22a
commit
340663e739
3 changed files with 19 additions and 0 deletions
0
src/agent-page/agent-page.css
Normal file
0
src/agent-page/agent-page.css
Normal file
9
src/agent-page/agent-page.js
Normal file
9
src/agent-page/agent-page.js
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
import React, { Component } from "react";
|
||||||
|
|
||||||
|
class AgentPage extends Component {
|
||||||
|
render() {
|
||||||
|
return <div>AgentPage</div>;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
export default AgentPage;
|
10
src/agent-page/agent-page.test.js
Normal file
10
src/agent-page/agent-page.test.js
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
import React from "react";
|
||||||
|
import { shallow } from "enzyme";
|
||||||
|
import AgentPage from "./agent-page";
|
||||||
|
|
||||||
|
describe("AgentPage", () => {
|
||||||
|
test("matches snapshot", () => {
|
||||||
|
const wrapper = shallow(<AgentPage />);
|
||||||
|
expect(wrapper).toMatchSnapshot();
|
||||||
|
});
|
||||||
|
});
|
Loading…
Reference in a new issue