Skip to content

Commit

Permalink
fixed tests (probably)
Browse files Browse the repository at this point in the history
  • Loading branch information
andris9 committed Mar 25, 2019
1 parent ddc4af1 commit a72693c
Show file tree
Hide file tree
Showing 23 changed files with 27 additions and 33 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
"bunyan": "1.8.12",
"chai": "4.2.0",
"eslint-config-nodemailer": "1.2.0",
"eslint-config-prettier": "3.3.0",
"grunt": "1.0.3",
"eslint-config-prettier": "4.1.0",
"grunt": "1.0.4",
"grunt-cli": "1.3.2",
"grunt-eslint": "21.0.0",
"grunt-mocha-test": "0.13.3",
Expand All @@ -35,7 +35,7 @@
"nodemailer-ntlm-auth": "1.0.1",
"proxy": "0.2.4",
"proxy-test-server": "1.0.0",
"sinon": "7.2.2",
"sinon": "7.3.0",
"smtp-server": "3.5.0"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion test/addressparser/addressparser-test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint no-unused-expressions:0, prefer-arrow-callback: 0, no-undefined: 0 */
/* globals beforeEach, describe, it */
/* globals describe, it */

'use strict';

Expand Down
2 changes: 1 addition & 1 deletion test/base64/base64-test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint no-unused-expressions:0, prefer-arrow-callback: 0 */
/* globals beforeEach, describe, it */
/* globals describe, it */

'use strict';

Expand Down
2 changes: 1 addition & 1 deletion test/dkim/dkim-test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint no-unused-expressions:0, prefer-arrow-callback: 0 */
/* globals beforeEach, describe, it */
/* globals describe, it */

'use strict';

Expand Down
2 changes: 1 addition & 1 deletion test/dkim/message-parser-test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint no-unused-expressions:0, prefer-arrow-callback: 0 */
/* globals beforeEach, describe, it */
/* globals describe, it */

'use strict';

Expand Down
2 changes: 1 addition & 1 deletion test/dkim/relaxed-body-test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint no-unused-expressions:0, prefer-arrow-callback: 0 */
/* globals beforeEach, describe, it */
/* globals describe, it */

'use strict';

Expand Down
2 changes: 1 addition & 1 deletion test/dkim/sign-test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint no-unused-expressions:0, prefer-arrow-callback: 0 */
/* globals beforeEach, describe, it */
/* globals describe, it */

'use strict';

Expand Down
2 changes: 1 addition & 1 deletion test/ethereal-test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint no-unused-expressions:0, prefer-arrow-callback: 0 */
/* globals beforeEach, describe, it */
/* globals describe, it */

'use strict';

Expand Down
2 changes: 1 addition & 1 deletion test/json-transport/json-transport-test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint no-unused-expressions:0, prefer-arrow-callback: 0 */
/* globals beforeEach, describe, it */
/* globals describe, it */

'use strict';

Expand Down
2 changes: 1 addition & 1 deletion test/mail-composer/mail-composer-test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint no-unused-expressions:0, prefer-arrow-callback: 0 */
/* globals beforeEach, describe, it */
/* globals describe, it */

'use strict';

Expand Down
2 changes: 1 addition & 1 deletion test/mime-funcs/mime-funcs-test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint no-unused-expressions:0, prefer-arrow-callback: 0 */
/* globals beforeEach, describe, it */
/* globals describe, it */

'use strict';

Expand Down
2 changes: 1 addition & 1 deletion test/mime-funcs/mime-types-test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint no-unused-expressions:0, prefer-arrow-callback: 0 */
/* globals beforeEach, describe, it */
/* globals describe, it */

'use strict';

Expand Down
2 changes: 1 addition & 1 deletion test/mime-node/mime-node-test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint no-unused-expressions:0, prefer-arrow-callback: 0 */
/* globals beforeEach, describe, it */
/* globals beforeEach, afterEach, describe, it */

'use strict';

Expand Down
2 changes: 1 addition & 1 deletion test/qp/qp-test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint no-unused-expressions:0, prefer-arrow-callback: 0 */
/* globals beforeEach, describe, it */
/* globals describe, it */

'use strict';

Expand Down
2 changes: 1 addition & 1 deletion test/sendmail/le-unix.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint no-unused-expressions:0, prefer-arrow-callback: 0 */
/* globals beforeEach, describe, it */
/* globals describe, it */

'use strict';

Expand Down
2 changes: 1 addition & 1 deletion test/sendmail/le-windows-test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint no-unused-expressions:0, prefer-arrow-callback: 0 */
/* globals beforeEach, describe, it */
/* globals describe, it */

'use strict';

Expand Down
2 changes: 1 addition & 1 deletion test/sendmail/sendmail-test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint no-unused-expressions:0, prefer-arrow-callback: 0 */
/* globals beforeEach, describe, it */
/* globals describe, it */

'use strict';

Expand Down
2 changes: 1 addition & 1 deletion test/ses-transport/ses-transport-test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint no-unused-expressions:0, prefer-arrow-callback: 0 */
/* globals beforeEach, describe, it */
/* globals describe, it */

'use strict';

Expand Down
2 changes: 1 addition & 1 deletion test/smtp-connection/http-proxy-client-test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint no-unused-expressions:0, prefer-arrow-callback: 0 */
/* globals beforeEach, describe, it */
/* globals describe, it */

'use strict';

Expand Down
7 changes: 2 additions & 5 deletions test/smtp-pool/smtp-pool-test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint no-unused-expressions:0, prefer-arrow-callback: 0 */
/* globals beforeEach, describe, it */
/* globals beforeEach, afterEach, describe, it */

'use strict';

Expand Down Expand Up @@ -642,10 +642,7 @@ describe('SMTP Pool Tests', function() {
url: 'smtp:testuser:[email protected]:1234',
logger: false,
getSocket(options, callback) {
let socket = net.connect(
PORT_NUMBER,
'localhost'
);
let socket = net.connect(PORT_NUMBER, 'localhost');
let errHandler = function(err) {
callback(err);
};
Expand Down
7 changes: 2 additions & 5 deletions test/smtp-transport/smtp-tranport-test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint no-unused-expressions:0, prefer-arrow-callback: 0 */
/* globals beforeEach, describe, it */
/* globals beforeEach, afterEach, describe, it */

'use strict';

Expand Down Expand Up @@ -365,10 +365,7 @@ describe('SMTP Transport Tests', function() {
url: 'smtp:testuser:[email protected]:1234',
logger: false,
getSocket(options, callback) {
let socket = net.connect(
PORT_NUMBER,
'localhost'
);
let socket = net.connect(PORT_NUMBER, 'localhost');
let errHandler = function(err) {
callback(err);
};
Expand Down
2 changes: 1 addition & 1 deletion test/stream-transport/stream-transport-test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint no-unused-expressions:0, prefer-arrow-callback: 0 */
/* globals beforeEach, describe, it */
/* globals describe, it */

'use strict';

Expand Down
2 changes: 1 addition & 1 deletion test/well-known/well-known-test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint no-unused-expressions:0, no-invalid-this:0, prefer-arrow-callback: 0 */
/* globals beforeEach, afterEach, describe, it */
/* globals describe, it */

'use strict';

Expand Down

0 comments on commit a72693c

Please sign in to comment.