Skip to content

Commit

Permalink
feat: highlight petit couronne when 75, 92, 93, 94 (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Bouquillon authored and douglasduteil committed Sep 11, 2019
1 parent a7677f1 commit b63c456
Show file tree
Hide file tree
Showing 5 changed files with 216 additions and 23 deletions.
7 changes: 7 additions & 0 deletions __tests__/France.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,10 @@ test("should normalize dpts<10", () => {
const result = renderer.render(<France departements={[5, 6, 7, 8]} />);
expect(result).toMatchSnapshot();
});


test("should highlight petite couronne", () => {
const renderer = new ShallowRenderer();
const result = renderer.render(<France departements={[75, 92, 93, 94]} />);
expect(result).toMatchSnapshot();
});

0 comments on commit b63c456

Please sign in to comment.