test methods and fix inital JSON
This commit is contained in:
parent
6af2abc5e2
commit
d87730a09b
@ -6,7 +6,7 @@ const initalConfig = `{
|
|||||||
"pop3-config": {
|
"pop3-config": {
|
||||||
"user": "example@example.com",
|
"user": "example@example.com",
|
||||||
"password": "example",
|
"password": "example",
|
||||||
"host": "pop3.example.com",
|
"host": "pop3.example.com"
|
||||||
}
|
}
|
||||||
}`;
|
}`;
|
||||||
|
|
||||||
@ -32,5 +32,6 @@ class POP3 extends EventEmitter {
|
|||||||
const pop3 = new POP3();
|
const pop3 = new POP3();
|
||||||
|
|
||||||
let interval = setTimeout(async () => {
|
let interval = setTimeout(async () => {
|
||||||
|
const list = await pop3.pop3cmd.UIDL();
|
||||||
|
console.dir(list);
|
||||||
}, 1);
|
}, 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user