Browse Source

refactor: update db file path

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/5444/head
Pranav C 2 years ago
parent
commit
e2b7c0ea44
  1. 2
      tests/playwright/setup/db.ts

2
tests/playwright/setup/db.ts

@ -55,7 +55,7 @@ const mysqlExec = async query => {
async function sqliteExec(query) {
const parallelIndex = process.env.TEST_PARALLEL_INDEX;
const rootProjectDir = __dirname.replace('/tests/playwright/setup', '');
await sqliteDb.open(`${rootProjectDir}/packages/nocodb/test_sakila_${parallelIndex}.db`);
await sqliteDb.open(`${rootProjectDir}/packages/nocodb-nest/test_sakila_${parallelIndex}.db`);
await sqliteDb.run(query);
await sqliteDb.close();

Loading…
Cancel
Save