test-failing

This commit is contained in:
Andris Reinman 2023-05-24 16:29:06 +03:00
parent e983eae623
commit a32c065da5
No known key found for this signature in database
GPG key ID: DC6C83F4D584D364
4 changed files with 22 additions and 23 deletions

View file

@ -9,7 +9,7 @@ const expect = chai.expect;
chai.config.includeStack = true;
describe('#parseValueParams', function () {
it.only('should return as is', function () {
it('should return as is', function () {
let parser = new MIMEParser();
const parsed = parser.parseValueParams(
'text/plain;\n' +
@ -18,8 +18,7 @@ describe('#parseValueParams', function () {
'\tx-apple-part-url=99AFDE83-8953-43B4-BE59-F59D6160AFAB'
);
console.log('PARSED', parsed);
expect(parsed).to.equal({
expect(parsed).to.deep.equal({
value: 'text/plain',
type: 'text',
subtype: 'plain',

View file

@ -1237,7 +1237,7 @@ describe('IMAP Protocol integration tests', function () {
describe('BODY[] marks message as seen', function () {
it('should list raw message', function (done) {
let cmds = ['T1 LOGIN testuser pass', 'T2 SELECT INBOX', 'T3 FETCH 3 BODY[2.HEADER]', 'T4 LOGOUT'];
let cmds = ['T1 LOGIN testuser pass', 'T2 SELECT INBOX', 'T3 FETCH 3 BODY[2.HEADER]', 'TX FETCH 1:* BODY[2.HEADER]', 'T4 LOGOUT'];
testClient(
{
@ -1247,7 +1247,7 @@ describe('IMAP Protocol integration tests', function () {
},
function (resp) {
resp = resp.toString();
console.log('RESP 1 ', resp);
expect(
resp.indexOf(
'\n* 3 FETCH (BODY[2.HEADER] {71}\r\n' +

View file

@ -26,16 +26,16 @@
"ajv": "8.12.0",
"chai": "4.3.7",
"docsify-cli": "4.4.4",
"eslint": "8.37.0",
"eslint": "8.41.0",
"eslint-config-nodemailer": "1.2.0",
"eslint-config-prettier": "8.8.0",
"grunt": "1.6.1",
"grunt-cli": "1.4.3",
"grunt-eslint": "24.0.1",
"grunt-eslint": "24.1.0",
"grunt-mocha-test": "0.13.3",
"grunt-shell-spawn": "0.4.0",
"grunt-wait": "0.3.0",
"imapflow": "1.0.125",
"imapflow": "1.0.128",
"mailparser": "3.6.4",
"mocha": "10.2.0",
"request": "2.88.2",
@ -49,12 +49,12 @@
"@root/acme": "3.1.0",
"@root/csr": "0.8.1",
"accesscontrol": "2.2.1",
"axios": "1.3.4",
"axios": "1.4.0",
"base32.js": "0.1.0",
"bcryptjs": "2.4.3",
"bson": "5.1.0",
"bullmq": "3.10.2",
"fido2-lib": "3.3.5",
"bson": "5.3.0",
"bullmq": "3.14.0",
"fido2-lib": "3.4.0",
"gelf": "2.0.1",
"generate-password": "1.7.0",
"hash-wasm": "4.9.0",
@ -63,17 +63,17 @@
"humanname": "0.2.2",
"iconv-lite": "0.6.3",
"ioredfour": "1.2.0-ioredis-07",
"ioredis": "5.3.1",
"ioredis": "5.3.2",
"ipaddr.js": "2.0.1",
"isemail": "3.2.0",
"joi": "17.9.1",
"joi": "17.9.2",
"js-yaml": "4.1.0",
"key-fingerprint": "1.1.0",
"libbase64": "1.2.1",
"libmime": "5.2.1",
"libqp": "2.0.1",
"logic-query-parser": "0.0.5",
"mailauth": "4.3.1",
"mailauth": "4.3.4",
"mailsplit": "5.4.0",
"mobileconfig": "2.4.0",
"mongo-cursor-pagination": "8.1.3",
@ -82,13 +82,13 @@
"msgpack5": "6.0.2",
"node-forge": "1.3.1",
"node-html-parser": "6.1.5",
"nodemailer": "6.9.1",
"nodemailer": "6.9.2",
"npmlog": "7.0.1",
"openpgp": "5.7.0",
"openpgp": "5.9.0",
"pem-jwk": "2.0.0",
"punycode": "2.3.0",
"pwnedpasswords": "1.0.6",
"qrcode": "1.5.1",
"qrcode": "1.5.3",
"restify": "11.1.0",
"restify-cors-middleware2": "2.2.1",
"restify-errors": "8.0.2",
@ -96,14 +96,14 @@
"saslprep": "1.0.3",
"search-string": "3.1.0",
"seq-index": "1.1.0",
"smtp-server": "3.11.0",
"smtp-server": "3.12.0",
"speakeasy": "2.0.0",
"unix-crypt-td-js": "1.1.4",
"unixcrypt": "1.1.0",
"unixcrypt": "1.2.0",
"uuid": "9.0.0",
"wild-config": "1.7.0",
"yargs": "17.7.1",
"zone-mta": "3.6.5"
"yargs": "17.7.2",
"zone-mta": "3.6.6"
},
"repository": {
"type": "git",

View file

@ -16,7 +16,7 @@ const { ImapFlow } = require('imapflow');
const transporter = nodemailer.createTransport({
lmtp: true,
host: 'localhost',
host: '127.0.0.1',
port: 2424,
logger: false,
debug: false,