haraka / test-fixtures

Fixtures for testing Haraka and plugins
https://www.npmjs.com/package/haraka-test-fixtures
MIT License
2 stars 7 forks source link

Update transaction.js #55

Closed lnedry closed 11 months ago

lnedry commented 11 months ago

Add Buffer to string conversion to prevent TypeError.

    TypeError: new_line.replace is not a function
      at Transaction.add_data (node_modules/haraka-test-fixtures/lib/transaction.js:98:33)
      at Context.<anonymous> (test/test.js:1470:41)
      at process.processImmediate (node:internal/timers:476:21)