mirror of https://github.com/waku-org/js-waku.git
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
|
||||
);
|
||||
|
||||
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,
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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",
|
||||
];
|
||||
|
|
Loading…
Reference in New Issue