We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent adc0a2f commit a9f9f3cCopy full SHA for a9f9f3c
modules/__tests__/pushState-test.js
@@ -1,6 +1,5 @@
1
import expect from 'expect';
2
import React from 'react';
3
-import createHistory from 'history/lib/createHashHistory';
4
import resetHash from './resetHash';
5
import execSteps from './execSteps';
6
import Router from '../Router';
@@ -43,10 +42,9 @@ describe('pushState', function () {
43
42
];
44
45
var execNextStep = execSteps(steps, done);
46
- var history = createHistory();
47
48
React.render((
49
- <Router history={history} onUpdate={execNextStep}>
+ <Router onUpdate={execNextStep}>
50
<Route path="/" component={Index}/>
51
<Route path="/home/hi:there" component={Home}/>
52
</Router>
0 commit comments