()
| 1056 | let firstSave = true; |
| 1057 | |
| 1058 | const success = function () { |
| 1059 | if (firstSave) { |
| 1060 | firstSave = false; |
| 1061 | return; |
| 1062 | } |
| 1063 | |
| 1064 | const query = new Parse.Query('TestObject'); |
| 1065 | query.find().then(function (results) { |
| 1066 | equal(results.length, 1); |
| 1067 | equal(results[0].get('cat'), 'meow'); |
| 1068 | equal(results[0].get('dog'), 'bark'); |
| 1069 | done(); |
| 1070 | }); |
| 1071 | }; |
| 1072 | |
| 1073 | object.save({ cat: 'meow' }).then(success, fail); |
| 1074 | object.save({ dog: 'bark' }).then(success, fail); |
no test coverage detected