This repository has been archived by the owner on Dec 11, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 974
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tests for ledgerExportUtil.addExportFilenamePrefixToTransactions
tests for #4605 (#4605) ``` addExportFilenamePrefixToTransactions ✓ should return an empty array if not passed any transactions (empty array, null, or undefined input ✓ should return the same output for a single transaction given as an array or single object ✓ should add a field "exportFilenamePrefix" to each transaction with correct form ("Brave_Payments_${MM)-YYYY}") ✓ should add a distinct suffix ("_<n>") to "exportFilenamePrefix" when multiple transactions occur on same day to ensure the field value is unique ```
- Loading branch information
Willy Bruns
committed
Oct 8, 2016
1 parent
4dd42df
commit 40d6a01
Showing
2 changed files
with
95 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters