Skip to content
This repository was archived by the owner on Apr 2, 2024. It is now read-only.

Commit ef320b2

Browse files
committed
fix global var leak in test
1 parent 91f35fb commit ef320b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/client/doc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ describe('client query subscribe', function() {
4444
this.doc = this.connection.get('dogs', 'fido');
4545
this.doc2 = this.backend.connect().get('dogs', 'fido');
4646
this.doc3 = this.backend.connect().get('dogs', 'fido');
47-
doc2 = this.doc2;
47+
var doc2 = this.doc2;
4848
this.doc.create({}, function(err) {
4949
if (err) return done(err);
5050
doc2.fetch(done);

0 commit comments

Comments
 (0)