Fix User.login credentials check and flush Redis before tests

This commit is contained in:
2026-07-22 22:37:45 -04:00
parent e910a492ba
commit f76d93d840
6 changed files with 47 additions and 7868 deletions
+12
View File
@@ -0,0 +1,12 @@
const { createClient } = require('redis');
async function run() {
const client = createClient();
await client.connect();
try {
await client.SREM('key', undefined);
} catch (e) {
console.error('SREM', e.stack);
}
process.exit(0);
}
run();