configure: emit errors via DC_EVENT_CONFIGURE_PROGRESS

Node test expects progress to report either success or error
eventually.

Also update the error text expected by node test.
This commit is contained in:
link2xt
2022-06-17 17:28:53 +00:00
parent 0ed3480258
commit 10f3ad6122
3 changed files with 24 additions and 25 deletions

View File

@@ -128,7 +128,7 @@ describe('Basic offline Tests', function () {
await expect(
context.configure({ addr: 'delta1@delta.localhost' })
).to.eventually.be.rejectedWith('Please enter a password.')
).to.eventually.be.rejectedWith('Missing (IMAP) password.')
await expect(context.configure({ mailPw: 'delta1' })).to.eventually.be
.rejected