tursodatabase / libsql-client-ts

TypeScript/JavaScript client API for libSQL
https://docs.turso.tech/sdk/ts/quickstart
MIT License
226 stars 32 forks source link

"ROLLBACK statement stops execution of batch" test failure with embedded replica #130

Open penberg opened 10 months ago

penberg commented 10 months ago
  ● batch() › ROLLBACK statement stops execution of batch

    expect(received).toStrictEqual(expected) // deep equality

    Expected: 0
    Received: 1

      208 |
      209 |         const rs = await c.execute("SELECT COUNT(*) FROM t");
    > 210 |         expect(rs.rows[0][0]).toStrictEqual(0);
          |                               ^
      211 |     }));
      212 | });
      213 |

      at src/__tests__/client.test.ts:210:31
      at Object.<anonymous> (src/__tests__/client.test.ts:41:13)