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 b98f5a1 commit 4443bafCopy full SHA for 4443baf
modules/__tests__/Router-test.js
@@ -553,11 +553,11 @@ describe('Router', function () {
553
var Spoon = React.createClass({
554
statics: {
555
willTransitionTo: function (transition, params, query) {
556
- if (query['filter'] === 'first') {
+ if (query.filter === 'first') {
557
return; // skip first transition
558
}
559
560
- expect(query['filter']).toEqual('second');
+ expect(query.filter).toEqual('second');
561
expect(fromKnifeCalled).toBe(true);
562
expect(fromSpoonCalled).toBe(true);
563
done();
0 commit comments