Skip to content

Commit 4443baf

Browse files
committed
Fix JSHint warnings
1 parent b98f5a1 commit 4443baf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/__tests__/Router-test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -553,11 +553,11 @@ describe('Router', function () {
553553
var Spoon = React.createClass({
554554
statics: {
555555
willTransitionTo: function (transition, params, query) {
556-
if (query['filter'] === 'first') {
556+
if (query.filter === 'first') {
557557
return; // skip first transition
558558
}
559559

560-
expect(query['filter']).toEqual('second');
560+
expect(query.filter).toEqual('second');
561561
expect(fromKnifeCalled).toBe(true);
562562
expect(fromSpoonCalled).toBe(true);
563563
done();

0 commit comments

Comments
 (0)