chore(packaging): debian 12

This commit is contained in:
Hivert Quentin
2023-08-02 11:36:36 +02:00
parent f3dce5d50b
commit 528d178256
4 changed files with 8 additions and 2 deletions
+1
View File
@@ -45,6 +45,7 @@ class ManageSieve {
base64 = buff.toString('base64')
response = await this.connection.send(`AUTHENTICATE "PLAIN" {${base64.length}+}\r\n${base64}`, { waitfor: /\b(OK|NO)/ })
// console.debug(`ManageSieve.authenticate => ${response}`)
// console.log(`AUTHENTICATE "PLAIN" {${base64.length}+}\r\n${base64}`)
parsedResponse = this.parseResponse(response)
if (!Object.keys(parsedResponse).includes('OK')) {
throw new Error(`Authentication failed: ${parsedResponse['NO']}`)
+1 -1
View File
@@ -9,6 +9,7 @@ let prefs, webdav, utility, manageSieve, user
describe('Sieve', function() {
async function _getSogoSieveScript() {
await manageSieve.authenticate(true)
const scripts = await manageSieve.listScripts()
expect(Object.keys(scripts))
@@ -59,7 +60,6 @@ describe('Sieve', function() {
beforeEach(async function() {
await _killFilters()
await manageSieve.authenticate(true)
})
afterAll(async function() {