Skip to content

Commit

Permalink
include TRANSACTION_DATE defaults in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nexdrew committed Jan 19, 2024
1 parent a0845cf commit 2d9e947
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -824,6 +824,7 @@ tap.test('instance get', t => {
t.strictEqual(s.get(Strings.GROSS_MARGIN, { abbrev: true }), 'Pft')
t.strictEqual(d.get(Strings.ANNUAL_CONTRACT_VALUE, { abbrev: true }), 'ACV')
t.strictEqual(s.get(Strings.ANNUAL_CONTRACT_VALUE, { abbrev: true }), 'ACV')
t.strictEqual(d.get(Strings.TRANSACTION_DATE, { abbrev: true }), 'TD')

// 2rd arg object as opts with plural boolean and flu boolean
t.strictEqual(d.get(Strings.REPORT, { plural: false, flu: true }), 'Report')
Expand Down Expand Up @@ -964,6 +965,8 @@ tap.test('defaults', t => {
t.strictEqual(d.getPlural(Strings.RULE), 'Rules')
t.strictEqual(d.getSingular(Strings.SALE), 'Sale')
t.strictEqual(d.getPlural(Strings.SALE), 'Sales')
t.strictEqual(d.getSingular(Strings.TRANSACTION_DATE), 'Transaction Date')
t.strictEqual(d.getPlural(Strings.TRANSACTION_DATE), 'Transaction Dates')
t.strictEqual(d.getSingular(Strings.COMPENSATION), 'Compensation')
t.strictEqual(d.getPlural(Strings.COMPENSATION), 'Compensation')
t.strictEqual(d.getSingular(Strings.REPORT), 'Report')
Expand Down

0 comments on commit 2d9e947

Please sign in to comment.