don't return the wrong thing

This commit is contained in:
Ari Lazier 2016-02-15 16:52:10 -08:00
parent c4fc31fea3
commit 9de2fa8726

View File

@ -256,7 +256,7 @@ class RNSqliteTests extends Tests {
async querycount() {
var len;
return await this.db.readTransaction(async (tx) => {
await this.db.readTransaction(async (tx) => {
let [, results] = await tx.executeSql('SELECT * FROM t1 WHERE int = 0 AND double < ' + numTestObjects/2 + ';');
len = results.rows.length;
});