Skip to content

Commit

Permalink
Test label fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
PAkerstrand committed Oct 26, 2016
1 parent 5e1d7ee commit 894fe8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/util/mapKeys.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ describe('mapKeys', () => {
);
});

it('Gives gives the path up to the matched route', () => {
it('Gives the path up to the matched route', () => {
expect(mapKeyByComponent(routes[0].component, routes)).toBe('/');
expect(mapKeyByComponent(routes[1].component, routes)).toBe('//dashboard');
expect(mapKeyByComponent(routes[2].component, routes)).toBe('//dashboard/widget/:widgetName');
Expand All @@ -56,7 +56,7 @@ describe('mapKeys', () => {

describe('named routes', () => {
const mapKeyByComponent = createGenerateMapKeyByMatchedRoutes(namedRoutes);
it('Gives gives the path up to the matched route', () => {
it('Gives the path up to the matched route', () => {
expect(mapKeyByComponent(namedRoutes[0].component, namedRoutes)).toBe('/');
expect(mapKeyByComponent(namedRoutes[1].component, namedRoutes)).toBe('//');
expect(
Expand Down

0 comments on commit 894fe8e

Please sign in to comment.