mirror of
https://github.com/zhigang1992/reactfire.git
synced 2026-04-01 09:31:05 +08:00
Added new argument to _bind() test
This commit is contained in:
@@ -470,8 +470,8 @@ describe("ReactFireMixin Tests:", function() {
|
||||
componentWillMount: function() {
|
||||
var _this = this;
|
||||
|
||||
expect(function() { _this._bind(firebaseRef, "items", true); }).not.toThrow();
|
||||
expect(function() { _this._bind(firebaseRef, "items", false); }).not.toThrow();
|
||||
expect(function() { _this._bind(firebaseRef, "items", function() {}, true); }).not.toThrow();
|
||||
expect(function() { _this._bind(firebaseRef, "items", function() {}, false); }).not.toThrow();
|
||||
},
|
||||
|
||||
render: function() {
|
||||
|
||||
Reference in New Issue
Block a user