tursodatabase / libsql-client-ts

TypeScript/JavaScript client API for libSQL

Home Page:https://docs.turso.tech/sdk/ts/quickstart

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

penberg opened this issue · comments

  ● 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)