mirror of
https://github.com/zhigang1992/reactfire.git
synced 2026-04-01 17:39:30 +08:00
Fixed issue with second _bind() test
This commit is contained in:
@@ -440,10 +440,8 @@ describe("ReactFireMixin Tests:", function() {
|
||||
componentWillMount: function() {
|
||||
var _this = this;
|
||||
|
||||
nonBooleanParams.forEach(function(nonBooleanParam) {
|
||||
expect(function() { _this._bind(firebaseRef, "items", true); }).not.toThrow();
|
||||
expect(function() { _this._bind(firebaseRef, "items", false); }).not.toThrow();
|
||||
});
|
||||
expect(function() { _this._bind(firebaseRef, "items", true); }).not.toThrow();
|
||||
expect(function() { _this._bind(firebaseRef, "items", false); }).not.toThrow();
|
||||
},
|
||||
|
||||
render: function() {
|
||||
|
||||
Reference in New Issue
Block a user