mirror of
https://github.com/logos-messaging/logos-messaging-js.git
synced 2026-06-06 11:59:27 +00:00
tests: Use in-memory DB instead of sqlite (in memory)
This commit is contained in:
parent
8984721d47
commit
a8ab53a6c5
@ -164,6 +164,8 @@ export class Nwaku {
|
|||||||
args
|
args
|
||||||
);
|
);
|
||||||
|
|
||||||
|
process.env.WAKUNODE2_STORE_MESSAGE_DB_URL = "";
|
||||||
|
|
||||||
const argsArray = argsToArray(mergedArgs);
|
const argsArray = argsToArray(mergedArgs);
|
||||||
if (WAKU_SERVICE_NODE_PARAMS) {
|
if (WAKU_SERVICE_NODE_PARAMS) {
|
||||||
argsArray.push(WAKU_SERVICE_NODE_PARAMS);
|
argsArray.push(WAKU_SERVICE_NODE_PARAMS);
|
||||||
@ -442,7 +444,6 @@ export function defaultArgs(): Args {
|
|||||||
rpc: true,
|
rpc: true,
|
||||||
rpcAdmin: true,
|
rpcAdmin: true,
|
||||||
websocketSupport: true,
|
websocketSupport: true,
|
||||||
storeMessageDbUrl: "sqlite://:memory:",
|
|
||||||
logLevel: LogLevel.Trace,
|
logLevel: LogLevel.Trace,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@ -16,7 +16,6 @@ describe("nwaku", () => {
|
|||||||
"--rpc=true",
|
"--rpc=true",
|
||||||
"--rpc-admin=true",
|
"--rpc-admin=true",
|
||||||
"--websocket-support=true",
|
"--websocket-support=true",
|
||||||
"--store-message-db-url=sqlite://:memory:",
|
|
||||||
"--log-level=TRACE",
|
"--log-level=TRACE",
|
||||||
"--ports-shift=42",
|
"--ports-shift=42",
|
||||||
];
|
];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user