The insertData.ts spec imported query and getBasicAuthHeader directly, pulling mysql2/promise into the browser bundle. This caused webpack to fail with UnhandledSchemeError on node:buffer and node:diagnostics_channel URIs introduced by updated dependencies. Both imports were unused — all calls go through cy.task(). Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> |
||
|---|---|---|
| .. | ||
| api-client.ts | ||
| commands.ts | ||
| db.ts | ||
| insertData.ts | ||
| mockData.ts | ||