From bd72d0a8424f16d759033ae5ccdae9cda319c6b6 Mon Sep 17 00:00:00 2001 From: Leonardo Gentile Date: Wed, 18 Apr 2018 18:11:12 +0200 Subject: [PATCH] test(utils): Fix getComponent test --- test/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/utils.js b/test/utils.js index c4f11d3..6d8f671 100644 --- a/test/utils.js +++ b/test/utils.js @@ -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"); }); });