From e7c6f3d848e55dda11595447928e843d39bed0eb Mon Sep 17 00:00:00 2001 From: Tim Dorr Date: Fri, 9 Oct 2015 14:30:02 -0400 Subject: [PATCH] Add tests for query and state props on Links. --- modules/__tests__/Link-test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/__tests__/Link-test.js b/modules/__tests__/Link-test.js index c7b96c3930..9b245a2710 100644 --- a/modules/__tests__/Link-test.js +++ b/modules/__tests__/Link-test.js @@ -289,7 +289,7 @@ describe('A ', function () { // just here to make sure click handlers don't prevent it from happening } render() { - return this.handleClick(e)}>Link + return this.handleClick(e)}>Link } } @@ -302,7 +302,7 @@ describe('A ', function () { }, function () { expect(node.innerHTML).toMatch(/Hello/) - expect(spy).toHaveBeenCalledWith(undefined, '/hello#world') + expect(spy).toHaveBeenCalledWith({ you: 'doing?' }, '/hello#world?how=are') } ]