UNPKG

node-finance

Version:

Financial functions for NodeJS

18 lines (13 loc) 413 B
"use strict"; var finance = require('../finance'); describe("firstPaymentDate", function () { var firstPaymentDate; beforeEach(function (){ firstPaymentDate = finance.firstPaymentDate; }); describe("Test dateFunded argument", function(){ it('sends the wrong dateFunded type', function(){ expect(firstPaymentDate("Jan 1, 2013").toEqual('')); }); }); });