We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 13f6418 commit 7aa4f32Copy full SHA for 7aa4f32
test/client/doc.js
@@ -105,14 +105,20 @@ describe('Doc', function() {
105
var connection = this.connection;
106
var doc = connection.get('dogs', 'fido');
107
doc.create({name: 'fido'});
108
- var order = ""
109
- doc.fetch(function() { order += "A" });
+ var order = '';
+ doc.fetch(function() {
110
+ order += 'A';
111
+ });
112
doc.submitOp([{p: ['snacks'], oi: true}]);
- doc.fetch(function() { order += "B" });
113
114
+ order += 'B';
115
116
doc.submitOp([{p: ['color'], oi: 'gray'}]);
- doc.fetch(function() { order += "C" });
117
118
+ order += 'C';
119
120
doc.whenNothingPending(function() {
- expect(order).to.eql("ABC");
121
+ expect(order).to.eql('ABC');
122
done();
123
});
124
0 commit comments