tests: Use in-memory DB instead of sqlite (in memory)

This commit is contained in:
fryorcraken.eth 2022-11-17 14:28:01 +11:00
parent 8984721d47
commit a8ab53a6c5
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
2 changed files with 2 additions and 2 deletions

View File

@ -164,6 +164,8 @@ export class Nwaku {
args
);
process.env.WAKUNODE2_STORE_MESSAGE_DB_URL = "";
const argsArray = argsToArray(mergedArgs);
if (WAKU_SERVICE_NODE_PARAMS) {
argsArray.push(WAKU_SERVICE_NODE_PARAMS);
@ -442,7 +444,6 @@ export function defaultArgs(): Args {
rpc: true,
rpcAdmin: true,
websocketSupport: true,
storeMessageDbUrl: "sqlite://:memory:",
logLevel: LogLevel.Trace,
};
}

View File

@ -16,7 +16,6 @@ describe("nwaku", () => {
"--rpc=true",
"--rpc-admin=true",
"--websocket-support=true",
"--store-message-db-url=sqlite://:memory:",
"--log-level=TRACE",
"--ports-shift=42",
];