e2e test config

This commit is contained in:
SPRINX0\prochazka
2024-12-10 08:48:53 +01:00
parent 1f7f0ea8a2
commit 0b30386fee
4 changed files with 28 additions and 24 deletions

View File

@@ -199,7 +199,9 @@ module.exports = {
const dir = datadir();
if (!portalConnections) {
// @ts-ignore
this.datastore = new JsonLinesDatabase(path.join(dir, 'connections.jsonl'));
this.datastore = new JsonLinesDatabase(
path.join(dir, processArgs.runE2eTests ? 'connections-e2etests.jsonl' : 'connections.jsonl')
);
}
await this.checkUnsavedConnectionsLimit();
},