mirror of
https://github.com/eleith/emailjs.git
synced 2024-07-04 19:58:51 +00:00
test: remove timeouts
This commit is contained in:
parent
676c541cb4
commit
50c3789d4b
@ -133,8 +133,6 @@ test.cb('simple unicode text message', (t) => {
|
||||
});
|
||||
|
||||
test.cb.skip('very large text message', (t) => {
|
||||
t.timeout(20000);
|
||||
|
||||
// thanks to jart+loberstech for this one!
|
||||
const msg = {
|
||||
subject: 'this is a test TEXT message from emailjs',
|
||||
@ -156,8 +154,6 @@ test.cb.skip('very large text message', (t) => {
|
||||
});
|
||||
|
||||
test.cb('very large text data message', (t) => {
|
||||
t.timeout(10000);
|
||||
|
||||
const text =
|
||||
'<html><body><pre>' +
|
||||
readFileSync(join(__dirname, 'attachments/smtp.txt'), 'utf-8') +
|
||||
|
@ -5,8 +5,6 @@ import { client as c, message as m, SMTP } from '../email';
|
||||
test.cb(
|
||||
'connecting to wrong email server should not invoke callback multiple times',
|
||||
(t) => {
|
||||
t.timeout(5000);
|
||||
|
||||
const client = new c.Client({ host: 'bar.baz' });
|
||||
const msg = {
|
||||
from: 'foo@bar.baz',
|
||||
|
Loading…
Reference in New Issue
Block a user