Skip to content

Commit

Permalink
test(utils): Fix getComponent test
Browse files Browse the repository at this point in the history
  • Loading branch information
LeonardoGentile committed Apr 18, 2018
1 parent 3fc3c06 commit bd72d0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ describe('getComponent for current route and node', () => {

it("should throw for node: 'd.h' ", () => {
const getComp = () => getComponent('d.h.i', 'd.h', routes);
expect(getComp).to.throw('route segment does not have a component field');
expect(getComp).to.throw("Route segment 'i' does not have a component field");
});
});

Expand Down

0 comments on commit bd72d0a

Please sign in to comment.