-
Notifications
You must be signed in to change notification settings - Fork 69
Expand file tree
/
Copy pathtest_simulation_output.txt
More file actions
163 lines (156 loc) · 8.13 KB
/
test_simulation_output.txt
File metadata and controls
163 lines (156 loc) · 8.13 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
Running 3 tests using 2 workers
npx :
[2m[WebServer]
[22m
[33m[1m⚠[22m[39m
./node_modules/requir
e-addon/lib/node.js
At line:1 char:1
+ npx playwright
test tests/e2e/remitt
ance-api.spec.ts
--reporter=list ...
+ ~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~
+ CategoryInfo
: NotSpe
cified: ([2m[We
bServer]...don/l
ib/node.js:Strin
g) [], RemoteExc
eption
+ FullyQualified
ErrorId : Native
CommandError
[2m[WebServer]
[22mCritical
dependency: require
function is used in
a way in which
dependencies cannot
be statically
extracted
[2m[WebServer] [22m
[2m[WebServer]
[22mImport trace
for requested module:
[2m[WebServer] [22m
./node_modules/requir
e-addon/lib/node.js
[2m[WebServer] [22m
./node_modules/sodium
-native/index.js
[2m[WebServer] [22m
./node_modules/@stell
ar/stellar-base/lib/s
igning.js
[2m[WebServer] [22m
./node_modules/@stell
ar/stellar-base/lib/i
ndex.js
[2m[WebServer] [22m
./node_modules/@stell
ar/stellar-sdk/lib/in
dex.js
[2m[WebServer] [22m
./lib/remittance/hori
zon.ts
[2m[WebServer] [22m
./app/api/remittance/
history/route.ts
[2m[WebServer] [22m
[2m[WebServer] [22m
./node_modules/requir
e-addon/lib/node.js
[2m[WebServer]
[22mCritical
dependency: the
request of a
dependency is an
expression
[2m[WebServer] [22m
[2m[WebServer]
[22mImport trace
for requested module:
[2m[WebServer] [22m
./node_modules/requir
e-addon/lib/node.js
[2m[WebServer] [22m
./node_modules/sodium
-native/index.js
[2m[WebServer] [22m
./node_modules/@stell
ar/stellar-base/lib/s
igning.js
[2m[WebServer] [22m
./node_modules/@stell
ar/stellar-base/lib/i
ndex.js
[2m[WebServer] [22m
./node_modules/@stell
ar/stellar-sdk/lib/in
dex.js
[2m[WebServer] [22m
./lib/remittance/hori
zon.ts
[2m[WebServer] [22m
./app/api/remittance/
history/route.ts
[2m[WebServer] [22m
[2m[WebServer] [22m
./node_modules/sodium
-native/index.js
[2m[WebServer]
[22mCritical
dependency: require
function is used in
a way in which
dependencies cannot
be statically
extracted
[2m[WebServer] [22m
[2m[WebServer]
[22mImport trace
for requested module:
[2m[WebServer] [22m
./node_modules/sodium
-native/index.js
[2m[WebServer] [22m
./node_modules/@stell
ar/stellar-base/lib/s
igning.js
[2m[WebServer] [22m
./node_modules/@stell
ar/stellar-base/lib/i
ndex.js
[2m[WebServer] [22m
./node_modules/@stell
ar/stellar-sdk/lib/in
dex.js
[2m[WebServer] [22m
./lib/remittance/hori
zon.ts
[2m[WebServer] [22m
./app/api/remittance/
history/route.ts
History Check - Response Status: 401
Status Check - Response Status: 404
✓ 1 [chromium] › tests\e2e\remittance-api.spec.ts:21:9 › Remittance API Simulation › GET /api/remittance/history - should return 401 when unauthenticated (8.6s)
✘ 2 [chromium] › tests\e2e\remittance-api.spec.ts:5:9 › Remittance API Simulation › GET /api/remittance/status/[txHash] - should return transaction status (8.6s)
✓ 3 [chromium] › tests\e2e\remittance-api.spec.ts:32:9 › Remittance API Simulation › Next.js 15 Compatibility - dynamic routes should work (1.4s)
1) [chromium] › tests\e2e\remittance-api.spec.ts:5:9 › Remittance API Simulation › GET /api/remittance/status/[txHash] - should return transaction status
SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON
9 |
10 | console.log(`Status Check - Response Status: ${response.status()}`);
> 11 | const data = await response.json();
| ^
12 | console.log(`Status Check - Body: ${JSON.stringify(data)}`);
13 |
14 | expect(response.status()).toBe(200);
at C:\Users\HomePC\Desktop\Drip\Remitwise-Frontend\tests\e2e\remittance-api.spec.ts:11:22
1 failed
[chromium] › tests\e2e\remittance-api.spec.ts:5:9 › Remittance API Simulation › GET /api/remittance/status/[txHash] - should return transaction status
2 passed (34.0s)