Skip to content

Commit

Permalink
increase coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
dangowans committed Jul 31, 2024
1 parent d2a8c04 commit be21925
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
8 changes: 1 addition & 7 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,13 +126,7 @@ await describe('eft-generator - CPA-005', async () => {
fileCreationNumber: '1234',
destinationCurrency: 'AUD'
});
try {
eftGenerator.toCPA005();
assert.fail();
}
catch {
assert.ok(true);
}
assert(!eftGenerator.validateCPA005());
});
await it('Warns on missing originatorShortName', () => {
const eftGenerator = new EFTGenerator({
Expand Down
7 changes: 1 addition & 6 deletions test/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,12 +146,7 @@ await describe('eft-generator - CPA-005', async () => {
destinationCurrency: 'AUD'
})

try {
eftGenerator.toCPA005()
assert.fail()
} catch {
assert.ok(true)
}
assert(!eftGenerator.validateCPA005())
})

await it('Warns on missing originatorShortName', () => {
Expand Down

0 comments on commit be21925

Please sign in to comment.