Skip to content

Commit 8ae6d22

Browse files
committed
fix: test fixes
1 parent c898a85 commit 8ae6d22

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

tests/applications.spec.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
2-
31
import { createAddress, createFullName, createPhone } from "../helpers"
42
import {
53
Agent,

tests/statements.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ const statementId: string[] = []
77

88
describe("Statements List", () => {
99
test("Get Statements List", async () => {
10-
const params: StatementsListParams = { limit: 50 }
10+
const params: StatementsListParams = { limit: 35 }
1111
const res = await unit.statements.list(params)
1212
expect(res.data.length).toBeGreaterThan(0)
1313
res.data.forEach(element => {
1414
if(element.relationships.customer){
1515
statementId.push(element.id)
1616
}
1717
})
18-
})
18+
}, 120000)
1919
})
2020

2121
describe("Get Statement Test", () => {

tests/testHelpers.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ export function createBusinessApplication(unit: Unit) {
7777
contact: createBusinessContact(createFullName("Jone", "Doe"), "[email protected]", createPhone("1", "2025550108")),
7878
beneficialOwners: [
7979
createBeneficialOwner(null, createFullName("James", "Smith"), "574567625", null, null, "2012-04-05",
80-
createAddress("650 Allerton Street", null, "Redwood City", "CA", "94063", "US"), createPhone("1", "2025550127"), "[email protected]", null),
80+
createAddress("650 Allerton Street", null, "Redwood City", "CA", "94063", "US"), createPhone("1", "2025550127"), "[email protected]", 60),
8181
createBeneficialOwner(null, createFullName("Richard", "Hendricks"), "574572795", null, null, "2012-04-03",
82-
createAddress("470 Allerton Street", null, "Redwood City", "CA", "94063", "US"), createPhone("1", "2025550158"), "[email protected]", null)
82+
createAddress("470 Allerton Street", null, "Redwood City", "CA", "94063", "US"), createPhone("1", "2025550158"), "[email protected]", 40)
8383
],
8484
businessVertical: "Construction",
8585
yearOfIncorporation: "1999"

0 commit comments

Comments
 (0)