forked from chiemezie1/Callora-Backend
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjest_out.txt
More file actions
73 lines (71 loc) · 2.12 KB
/
Copy pathjest_out.txt
File metadata and controls
73 lines (71 loc) · 2.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
TAP version 13
# Subtest: BillingService - Integration Tests
# Subtest: successfully processes new billing request
ok 1 - successfully processes new billing request
---
duration_ms: 224.8251
type: 'test'
...
# Subtest: prevents double charge on duplicate request_id
ok 2 - prevents double charge on duplicate request_id
---
duration_ms: 42.7217
type: 'test'
...
# Subtest: rolls back transaction when Soroban fails
not ok 3 - rolls back transaction when Soroban fails
---
duration_ms: 29.392
type: 'test'
location: 'C:\\Users\\EMMA\\Desktop\\callora\\tests\\integration\\billing.test.ts:163:29'
failureType: 'testCodeFailure'
error: |-
Expected values to be strictly equal:
'1' !== '0'
code: 'ERR_ASSERTION'
name: 'AssertionError'
expected: '0'
actual: '1'
operator: 'strictEqual'
stack: |-
TestContext.<anonymous> (C:\Users\EMMA\Desktop\callora\tests\integration\billing.test.ts:195:30)
Test.run (node:internal/test_runner/test:1054:7)
Suite.processPendingSubtests (node:internal/test_runner/test:744:7)
...
# Subtest: handles concurrent requests with same request_id
ok 4 - handles concurrent requests with same request_id
---
duration_ms: 50.2071
type: 'test'
...
# Subtest: getByRequestId returns existing usage event
ok 5 - getByRequestId returns existing usage event
---
duration_ms: 28.2436
type: 'test'
...
# Subtest: getByRequestId returns null for non-existent request
ok 6 - getByRequestId returns null for non-existent request
---
duration_ms: 10.5575
type: 'test'
...
1..6
not ok 1 - BillingService - Integration Tests
---
duration_ms: 388.9698
type: 'suite'
location: 'C:\\Users\\EMMA\\Desktop\\callora\\tests\\integration\\billing.test.ts:70:26'
failureType: 'subtestsFailed'
error: '1 subtest failed'
code: 'ERR_TEST_FAILURE'
...
1..1
# tests 6
# suites 1
# pass 5
# fail 1
# cancelled 0
# skipped 0
# todo 0
# duration_ms 399.9602