Skip to content

Conversation

@insertQuirkyNameHere
Copy link

WHY

Completed unit tests.

Include Unit tests in main branch for testing of ach parser

@insertQuirkyNameHere
Copy link
Author

insertQuirkyNameHere commented May 9, 2023

it('should create an entry with an addenda successfully', function() {
      var entry = new Entry({
        receivingDFI: '081000210',
        DFIAccount: '12345678901234567',
        amount: '3521',
        transactionCode: '22',
        idNumber: 'RAj##23920rjf31',
        individualName: 'Glen Selle',
        discretionaryData: 'A1',
        traceNumber: '000000001234567'
      });

Why is this required?

@insertQuirkyNameHere
Copy link
Author

describe('HHMM', function() {
    it('Must return the current time', function() {
      var utils = require('../lib/utils');

      var hour = moment().hour().toString();
      var minute = moment().minute().toString();

      var time = hour + minute;

      var utilsTime = utils.formatTime(new Date());

Reuse utils from src folder

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant