@thorprovider/adapters 5.0.11 → 5.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +29 -6
- package/dist/index.d.ts +29 -6
- package/dist/index.js +294 -32
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +294 -32
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/providers/medusa/auth.test.ts +148 -25
- package/src/providers/medusa/auth.ts +129 -16
- package/src/providers/medusa/customer-orders.test.ts +142 -0
- package/src/providers/medusa/index.ts +108 -26
- package/src/providers/medusa/transforms.test.ts +45 -0
- package/src/providers/medusa/transforms.ts +7 -0
- package/src/providers/mock/catalog-query.test.ts +153 -17
- package/src/providers/mock/index.test.ts +19 -0
- package/src/providers/mock/mock.ts +189 -1
- package/.turbo/turbo-build.log +0 -18
- package/.turbo/turbo-test.log +0 -897
- package/.turbo/turbo-type-check.log +0 -0
- package/dist/.tsbuildinfo +0 -1
- package/publish.log +0 -93
package/.turbo/turbo-test.log
DELETED
|
@@ -1,897 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
RUN v3.2.4 /home/nelson/dev/active/thorprovider/repos/thorcommerce/packages/adapters
|
|
3
|
-
|
|
4
|
-
stderr | src/providers/medusa/auth.test.ts > MedusaAuthProvider > throws ProviderAPIError with login code on auth failure
|
|
5
|
-
[2026-10-10T14:20:48.966Z] [@thorprovider/adapters:MedusaAuthProvider] ERROR: Login failed Error: bad credentials
|
|
6
|
-
at [90m/home/nelson/dev/active/thorprovider/repos/thorcommerce/packages/adapters/[39msrc/providers/medusa/auth.test.ts:75:48
|
|
7
|
-
at file:///home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/[4m@vitest/runner[24m/dist/chunk-hooks.js:155:11
|
|
8
|
-
at file:///home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/[4m@vitest/runner[24m/dist/chunk-hooks.js:752:26
|
|
9
|
-
at file:///home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/[4m@vitest/runner[24m/dist/chunk-hooks.js:1897:20
|
|
10
|
-
at new Promise (<anonymous>)
|
|
11
|
-
at runWithTimeout (file:///home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/[4m@vitest/runner[24m/dist/chunk-hooks.js:1863:10)
|
|
12
|
-
at runTest (file:///home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/[4m@vitest/runner[24m/dist/chunk-hooks.js:1574:12)
|
|
13
|
-
[90m at processTicksAndRejections (node:internal/process/task_queues:103:5)[39m
|
|
14
|
-
at runSuite (file:///home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/[4m@vitest/runner[24m/dist/chunk-hooks.js:1729:8)
|
|
15
|
-
at runSuite (file:///home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/[4m@vitest/runner[24m/dist/chunk-hooks.js:1729:8)
|
|
16
|
-
|
|
17
|
-
✓ src/providers/medusa/auth.test.ts (5 tests) 51ms
|
|
18
|
-
✓ src/providers/mock/index.test.ts (3 tests) 17ms
|
|
19
|
-
Sourcemap for "/home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/@medusajs/js-sdk/dist/esm/index.js" points to missing source files
|
|
20
|
-
✓ src/providers/mock/catalog-query.test.ts (24 tests) 62ms
|
|
21
|
-
Sourcemap for "/home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/@medusajs/js-sdk/dist/esm/admin/index.js" points to missing source files
|
|
22
|
-
Sourcemap for "/home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/@medusajs/js-sdk/dist/esm/admin/api-key.js" points to missing source files
|
|
23
|
-
Sourcemap for "/home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/@medusajs/js-sdk/dist/esm/admin/campaign.js" points to missing source files
|
|
24
|
-
Sourcemap for "/home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/@medusajs/js-sdk/dist/esm/admin/claim.js" points to missing source files
|
|
25
|
-
Sourcemap for "/home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/@medusajs/js-sdk/dist/esm/admin/currency.js" points to missing source files
|
|
26
|
-
Sourcemap for "/home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/@medusajs/js-sdk/dist/esm/admin/customer.js" points to missing source files
|
|
27
|
-
Sourcemap for "/home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/@medusajs/js-sdk/dist/esm/admin/customer-group.js" points to missing source files
|
|
28
|
-
Sourcemap for "/home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/@medusajs/js-sdk/dist/esm/admin/draft-order.js" points to missing source files
|
|
29
|
-
Sourcemap for "/home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/@medusajs/js-sdk/dist/esm/admin/exchange.js" points to missing source files
|
|
30
|
-
Sourcemap for "/home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/@medusajs/js-sdk/dist/esm/admin/fulfillment.js" points to missing source files
|
|
31
|
-
Sourcemap for "/home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/@medusajs/js-sdk/dist/esm/admin/fulfillment-provider.js" points to missing source files
|
|
32
|
-
Sourcemap for "/home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/@medusajs/js-sdk/dist/esm/admin/fulfillment-set.js" points to missing source files
|
|
33
|
-
Sourcemap for "/home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/@medusajs/js-sdk/dist/esm/admin/inventory-item.js" points to missing source files
|
|
34
|
-
Sourcemap for "/home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/@medusajs/js-sdk/dist/esm/admin/invite.js" points to missing source files
|
|
35
|
-
Sourcemap for "/home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/@medusajs/js-sdk/dist/esm/admin/notification.js" points to missing source files
|
|
36
|
-
Sourcemap for "/home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/@medusajs/js-sdk/dist/esm/admin/order.js" points to missing source files
|
|
37
|
-
Sourcemap for "/home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/@medusajs/js-sdk/dist/esm/admin/order-edit.js" points to missing source files
|
|
38
|
-
Sourcemap for "/home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/@medusajs/js-sdk/dist/esm/admin/payment.js" points to missing source files
|
|
39
|
-
✓ src/providers/medusa/admin.test.ts (19 tests) 868ms
|
|
40
|
-
✓ MedusaAdminClient.getChannelCategories > GET /admin/thor/sales-channels/:id/categories with include_descendants 319ms
|
|
41
|
-
✓ src/providers/stelorder/client.test.ts (3 tests) 543ms
|
|
42
|
-
✓ src/providers/stelorder/index.test.ts (2 tests) 472ms
|
|
43
|
-
✓ StelOrderProvider > returns storefront context and supports read methods 439ms
|
|
44
|
-
Sourcemap for "/home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/@medusajs/js-sdk/dist/esm/admin/payment-collection.js" points to missing source files
|
|
45
|
-
Sourcemap for "/home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/@medusajs/js-sdk/dist/esm/admin/plugin.js" points to missing source files
|
|
46
|
-
Sourcemap for "/home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/@medusajs/js-sdk/dist/esm/admin/price-list.js" points to missing source files
|
|
47
|
-
Sourcemap for "/home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/@medusajs/js-sdk/dist/esm/admin/price-preference.js" points to missing source files
|
|
48
|
-
Sourcemap for "/home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/@medusajs/js-sdk/dist/esm/admin/product.js" points to missing source files
|
|
49
|
-
Sourcemap for "/home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/@medusajs/js-sdk/dist/esm/client.js" points to missing source files
|
|
50
|
-
Sourcemap for "/home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/@medusajs/js-sdk/dist/esm/admin/product-category.js" points to missing source files
|
|
51
|
-
Sourcemap for "/home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/@medusajs/js-sdk/dist/esm/admin/product-collection.js" points to missing source files
|
|
52
|
-
Sourcemap for "/home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/@medusajs/js-sdk/dist/esm/admin/product-tag.js" points to missing source files
|
|
53
|
-
Sourcemap for "/home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/@medusajs/js-sdk/dist/esm/admin/product-type.js" points to missing source files
|
|
54
|
-
Sourcemap for "/home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/@medusajs/js-sdk/dist/esm/admin/product-variant.js" points to missing source files
|
|
55
|
-
✓ src/factory/provider-types.test.ts (4 tests) 86ms
|
|
56
|
-
Sourcemap for "/home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/@medusajs/js-sdk/dist/esm/admin/promotion.js" points to missing source files
|
|
57
|
-
Sourcemap for "/home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/@medusajs/js-sdk/dist/esm/admin/refund-reasons.js" points to missing source files
|
|
58
|
-
Sourcemap for "/home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/@medusajs/js-sdk/dist/esm/admin/region.js" points to missing source files
|
|
59
|
-
Sourcemap for "/home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/@medusajs/js-sdk/dist/esm/admin/reservation.js" points to missing source files
|
|
60
|
-
Sourcemap for "/home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/@medusajs/js-sdk/dist/esm/admin/return.js" points to missing source files
|
|
61
|
-
Sourcemap for "/home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/@medusajs/js-sdk/dist/esm/admin/return-reason.js" points to missing source files
|
|
62
|
-
Sourcemap for "/home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/@medusajs/js-sdk/dist/esm/admin/sales-channel.js" points to missing source files
|
|
63
|
-
Sourcemap for "/home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/@medusajs/js-sdk/dist/esm/admin/shipping-option.js" points to missing source files
|
|
64
|
-
Sourcemap for "/home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/@medusajs/js-sdk/dist/esm/admin/shipping-profile.js" points to missing source files
|
|
65
|
-
✓ src/providers/medusa/transforms.test.ts (12 tests) 60ms
|
|
66
|
-
Sourcemap for "/home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/@medusajs/js-sdk/dist/esm/admin/stock-location.js" points to missing source files
|
|
67
|
-
Sourcemap for "/home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/@medusajs/js-sdk/dist/esm/admin/store.js" points to missing source files
|
|
68
|
-
Sourcemap for "/home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/@medusajs/js-sdk/dist/esm/admin/tax-provider.js" points to missing source files
|
|
69
|
-
Sourcemap for "/home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/@medusajs/js-sdk/dist/esm/admin/tax-rate.js" points to missing source files
|
|
70
|
-
Sourcemap for "/home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/@medusajs/js-sdk/dist/esm/admin/tax-region.js" points to missing source files
|
|
71
|
-
Sourcemap for "/home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/@medusajs/js-sdk/dist/esm/admin/upload.js" points to missing source files
|
|
72
|
-
Sourcemap for "/home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/@medusajs/js-sdk/dist/esm/admin/user.js" points to missing source files
|
|
73
|
-
Sourcemap for "/home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/@medusajs/js-sdk/dist/esm/admin/views.js" points to missing source files
|
|
74
|
-
Sourcemap for "/home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/@medusajs/js-sdk/dist/esm/admin/workflow-execution.js" points to missing source files
|
|
75
|
-
Sourcemap for "/home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/@medusajs/js-sdk/dist/esm/admin/shipping-option-type.js" points to missing source files
|
|
76
|
-
Sourcemap for "/home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/@medusajs/js-sdk/dist/esm/admin/locale.js" points to missing source files
|
|
77
|
-
Sourcemap for "/home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/@medusajs/js-sdk/dist/esm/admin/translation.js" points to missing source files
|
|
78
|
-
Sourcemap for "/home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/@medusajs/js-sdk/dist/esm/admin/rbac-role.js" points to missing source files
|
|
79
|
-
Sourcemap for "/home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/@medusajs/js-sdk/dist/esm/admin/rbac-policy.js" points to missing source files
|
|
80
|
-
Sourcemap for "/home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/@medusajs/js-sdk/dist/esm/auth/index.js" points to missing source files
|
|
81
|
-
Sourcemap for "/home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/@medusajs/js-sdk/dist/esm/store/index.js" points to missing source files
|
|
82
|
-
↓ src/providers/stelorder/live-smoke.test.ts (1 test | 1 skipped)
|
|
83
|
-
stderr | src/providers/medusa/catalog-sort.test.ts > MedusaProvider — catalog sort translation and advertisement > advertises exactly the canonical sorts it can apply, with no price/rating sort
|
|
84
|
-
[MSW] Error: intercepted a request without a matching request handler:
|
|
85
|
-
|
|
86
|
-
• GET https://medusa.example.com/store/thor/capabilities
|
|
87
|
-
|
|
88
|
-
If you still wish to intercept this unhandled request, please create a request handler for it.
|
|
89
|
-
Read more: https://mswjs.io/docs/http/intercepting-requests
|
|
90
|
-
|
|
91
|
-
stderr | src/providers/medusa/catalog-sort.test.ts > MedusaProvider — catalog sort translation and advertisement > getCategoryProducts maps name → title
|
|
92
|
-
[2026-10-10T14:20:53.055Z] [@thorprovider/adapters:FetchUtils] ERROR: Fetch failed after all retries {
|
|
93
|
-
url: [32m'https://medusa.example.com/store/thor/capabilities'[39m,
|
|
94
|
-
totalAttempts: [33m1[39m,
|
|
95
|
-
error: [32m'[MSW] Cannot bypass a request when using the "error" strategy for the "onUnhandledRequest" option.'[39m
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Products > getProduct returns transformed product when found
|
|
99
|
-
[MSW] Error: intercepted a request without a matching request handler:
|
|
100
|
-
|
|
101
|
-
• GET https://medusa.example.com/store/thor/capabilities
|
|
102
|
-
|
|
103
|
-
If you still wish to intercept this unhandled request, please create a request handler for it.
|
|
104
|
-
Read more: https://mswjs.io/docs/http/intercepting-requests
|
|
105
|
-
|
|
106
|
-
↓ src/providers/medusa/live-smoke.test.ts (3 tests | 3 skipped)
|
|
107
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Products > getProduct returns transformed product when found
|
|
108
|
-
[2026-10-10T14:20:53.156Z] [@thorprovider/adapters:FetchUtils] ERROR: Fetch failed after all retries {
|
|
109
|
-
url: [32m'https://medusa.example.com/store/thor/capabilities'[39m,
|
|
110
|
-
totalAttempts: [33m1[39m,
|
|
111
|
-
error: [32m'[MSW] Cannot bypass a request when using the "error" strategy for the "onUnhandledRequest" option.'[39m
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Products > getProduct returns undefined when not found
|
|
115
|
-
[MSW] Error: intercepted a request without a matching request handler:
|
|
116
|
-
|
|
117
|
-
• GET https://medusa.example.com/store/thor/capabilities
|
|
118
|
-
|
|
119
|
-
If you still wish to intercept this unhandled request, please create a request handler for it.
|
|
120
|
-
Read more: https://mswjs.io/docs/http/intercepting-requests
|
|
121
|
-
|
|
122
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Products > getProduct returns undefined when not found
|
|
123
|
-
[2026-10-10T14:20:53.175Z] [@thorprovider/adapters:FetchUtils] ERROR: Fetch failed after all retries {
|
|
124
|
-
url: [32m'https://medusa.example.com/store/thor/capabilities'[39m,
|
|
125
|
-
totalAttempts: [33m1[39m,
|
|
126
|
-
error: [32m'[MSW] Cannot bypass a request when using the "error" strategy for the "onUnhandledRequest" option.'[39m
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Products > getProduct throws ProviderAPIError on 503
|
|
130
|
-
[MSW] Error: intercepted a request without a matching request handler:
|
|
131
|
-
|
|
132
|
-
• GET https://medusa.example.com/store/thor/capabilities
|
|
133
|
-
|
|
134
|
-
If you still wish to intercept this unhandled request, please create a request handler for it.
|
|
135
|
-
Read more: https://mswjs.io/docs/http/intercepting-requests
|
|
136
|
-
|
|
137
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Products > getProduct throws ProviderAPIError on 503
|
|
138
|
-
[2026-10-10T14:20:53.194Z] [@thorprovider/adapters:FetchUtils] ERROR: Fetch failed after all retries {
|
|
139
|
-
url: [32m'https://medusa.example.com/store/thor/capabilities'[39m,
|
|
140
|
-
totalAttempts: [33m1[39m,
|
|
141
|
-
error: [32m'[MSW] Cannot bypass a request when using the "error" strategy for the "onUnhandledRequest" option.'[39m
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
stderr | src/providers/medusa/catalog-sort.test.ts > MedusaProvider — catalog sort translation and advertisement > getCategoryProducts maps name → title
|
|
145
|
-
[MSW] Error: intercepted a request without a matching request handler:
|
|
146
|
-
|
|
147
|
-
• GET https://medusa.example.com/store/thor/capabilities
|
|
148
|
-
|
|
149
|
-
If you still wish to intercept this unhandled request, please create a request handler for it.
|
|
150
|
-
Read more: https://mswjs.io/docs/http/intercepting-requests
|
|
151
|
-
|
|
152
|
-
✓ src/providers/stelorder/transforms.test.ts (6 tests) 131ms
|
|
153
|
-
stderr | src/providers/medusa/catalog-sort.test.ts > MedusaProvider — catalog sort translation and advertisement > getCategoryProducts maps name → title
|
|
154
|
-
[2026-10-10T14:20:53.285Z] [@thorprovider/adapters:FetchUtils] ERROR: Fetch failed after all retries {
|
|
155
|
-
url: [32m'https://medusa.example.com/store/thor/capabilities'[39m,
|
|
156
|
-
totalAttempts: [33m1[39m,
|
|
157
|
-
error: [32m'[MSW] Cannot bypass a request when using the "error" strategy for the "onUnhandledRequest" option.'[39m
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
stderr | src/providers/medusa/catalog-sort.test.ts > MedusaProvider — catalog sort translation and advertisement > getCategoryProducts maps newest → -created_at
|
|
161
|
-
[MSW] Error: intercepted a request without a matching request handler:
|
|
162
|
-
|
|
163
|
-
• GET https://medusa.example.com/store/thor/capabilities
|
|
164
|
-
|
|
165
|
-
If you still wish to intercept this unhandled request, please create a request handler for it.
|
|
166
|
-
Read more: https://mswjs.io/docs/http/intercepting-requests
|
|
167
|
-
|
|
168
|
-
stderr | src/providers/medusa/catalog-sort.test.ts > MedusaProvider — catalog sort translation and advertisement > getCategoryProducts maps newest → -created_at
|
|
169
|
-
[2026-10-10T14:20:53.360Z] [@thorprovider/adapters:FetchUtils] ERROR: Fetch failed after all retries {
|
|
170
|
-
url: [32m'https://medusa.example.com/store/thor/capabilities'[39m,
|
|
171
|
-
totalAttempts: [33m1[39m,
|
|
172
|
-
error: [32m'[MSW] Cannot bypass a request when using the "error" strategy for the "onUnhandledRequest" option.'[39m
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
stderr | src/providers/medusa/catalog-sort.test.ts > MedusaProvider — catalog sort translation and advertisement > getCategoryProducts omits order for featured (server default)
|
|
176
|
-
[MSW] Error: intercepted a request without a matching request handler:
|
|
177
|
-
|
|
178
|
-
• GET https://medusa.example.com/store/thor/capabilities
|
|
179
|
-
|
|
180
|
-
If you still wish to intercept this unhandled request, please create a request handler for it.
|
|
181
|
-
Read more: https://mswjs.io/docs/http/intercepting-requests
|
|
182
|
-
|
|
183
|
-
stderr | src/providers/medusa/catalog-sort.test.ts > MedusaProvider — catalog sort translation and advertisement > getCategoryProducts omits order for featured (server default)
|
|
184
|
-
[2026-10-10T14:20:53.398Z] [@thorprovider/adapters:FetchUtils] ERROR: Fetch failed after all retries {
|
|
185
|
-
url: [32m'https://medusa.example.com/store/thor/capabilities'[39m,
|
|
186
|
-
totalAttempts: [33m1[39m,
|
|
187
|
-
error: [32m'[MSW] Cannot bypass a request when using the "error" strategy for the "onUnhandledRequest" option.'[39m
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
stderr | src/providers/medusa/catalog-sort.test.ts > MedusaProvider — catalog sort translation and advertisement > never emits a raw canonical key as the Medusa order field
|
|
191
|
-
[MSW] Error: intercepted a request without a matching request handler:
|
|
192
|
-
|
|
193
|
-
• GET https://medusa.example.com/store/thor/capabilities
|
|
194
|
-
|
|
195
|
-
If you still wish to intercept this unhandled request, please create a request handler for it.
|
|
196
|
-
Read more: https://mswjs.io/docs/http/intercepting-requests
|
|
197
|
-
|
|
198
|
-
stderr | src/providers/medusa/catalog-sort.test.ts > MedusaProvider — catalog sort translation and advertisement > never emits a raw canonical key as the Medusa order field
|
|
199
|
-
[2026-10-10T14:20:53.473Z] [@thorprovider/adapters:FetchUtils] ERROR: Fetch failed after all retries {
|
|
200
|
-
url: [32m'https://medusa.example.com/store/thor/capabilities'[39m,
|
|
201
|
-
totalAttempts: [33m1[39m,
|
|
202
|
-
error: [32m'[MSW] Cannot bypass a request when using the "error" strategy for the "onUnhandledRequest" option.'[39m
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
stderr | src/providers/medusa/catalog-sort.test.ts > MedusaProvider — catalog sort translation and advertisement > never emits a raw canonical key as the Medusa order field
|
|
206
|
-
[MSW] Error: intercepted a request without a matching request handler:
|
|
207
|
-
|
|
208
|
-
• GET https://medusa.example.com/store/thor/capabilities
|
|
209
|
-
|
|
210
|
-
If you still wish to intercept this unhandled request, please create a request handler for it.
|
|
211
|
-
Read more: https://mswjs.io/docs/http/intercepting-requests
|
|
212
|
-
|
|
213
|
-
stderr | src/providers/medusa/catalog-sort.test.ts > MedusaProvider — catalog sort translation and advertisement > never emits a raw canonical key as the Medusa order field
|
|
214
|
-
[2026-10-10T14:20:53.515Z] [@thorprovider/adapters:FetchUtils] ERROR: Fetch failed after all retries {
|
|
215
|
-
url: [32m'https://medusa.example.com/store/thor/capabilities'[39m,
|
|
216
|
-
totalAttempts: [33m1[39m,
|
|
217
|
-
error: [32m'[MSW] Cannot bypass a request when using the "error" strategy for the "onUnhandledRequest" option.'[39m
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
stderr | src/providers/medusa/catalog-sort.test.ts > MedusaProvider — catalog sort translation and advertisement > never emits a raw canonical key as the Medusa order field
|
|
221
|
-
[MSW] Error: intercepted a request without a matching request handler:
|
|
222
|
-
|
|
223
|
-
• GET https://medusa.example.com/store/thor/capabilities
|
|
224
|
-
|
|
225
|
-
If you still wish to intercept this unhandled request, please create a request handler for it.
|
|
226
|
-
Read more: https://mswjs.io/docs/http/intercepting-requests
|
|
227
|
-
|
|
228
|
-
stderr | src/providers/medusa/catalog-sort.test.ts > MedusaProvider — catalog sort translation and advertisement > never emits a raw canonical key as the Medusa order field
|
|
229
|
-
[2026-10-10T14:20:53.552Z] [@thorprovider/adapters:FetchUtils] ERROR: Fetch failed after all retries {
|
|
230
|
-
url: [32m'https://medusa.example.com/store/thor/capabilities'[39m,
|
|
231
|
-
totalAttempts: [33m1[39m,
|
|
232
|
-
error: [32m'[MSW] Cannot bypass a request when using the "error" strategy for the "onUnhandledRequest" option.'[39m
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
stderr | src/providers/medusa/catalog-sort.test.ts > MedusaProvider — catalog sort translation and advertisement > omits a page-local price/rating sort instead of sending it as a global order (no default price sort, not mislabelled)
|
|
236
|
-
[MSW] Error: intercepted a request without a matching request handler:
|
|
237
|
-
|
|
238
|
-
• GET https://medusa.example.com/store/thor/capabilities
|
|
239
|
-
|
|
240
|
-
If you still wish to intercept this unhandled request, please create a request handler for it.
|
|
241
|
-
Read more: https://mswjs.io/docs/http/intercepting-requests
|
|
242
|
-
|
|
243
|
-
stderr | src/providers/medusa/catalog-sort.test.ts > MedusaProvider — catalog sort translation and advertisement > omits a page-local price/rating sort instead of sending it as a global order (no default price sort, not mislabelled)
|
|
244
|
-
[2026-10-10T14:20:53.577Z] [@thorprovider/adapters:FetchUtils] ERROR: Fetch failed after all retries {
|
|
245
|
-
url: [32m'https://medusa.example.com/store/thor/capabilities'[39m,
|
|
246
|
-
totalAttempts: [33m1[39m,
|
|
247
|
-
error: [32m'[MSW] Cannot bypass a request when using the "error" strategy for the "onUnhandledRequest" option.'[39m
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
stderr | src/providers/medusa/catalog-sort.test.ts > MedusaProvider — catalog sort translation and advertisement > omits a page-local price/rating sort instead of sending it as a global order (no default price sort, not mislabelled)
|
|
251
|
-
[MSW] Error: intercepted a request without a matching request handler:
|
|
252
|
-
|
|
253
|
-
• GET https://medusa.example.com/store/thor/capabilities
|
|
254
|
-
|
|
255
|
-
If you still wish to intercept this unhandled request, please create a request handler for it.
|
|
256
|
-
Read more: https://mswjs.io/docs/http/intercepting-requests
|
|
257
|
-
|
|
258
|
-
stderr | src/providers/medusa/catalog-sort.test.ts > MedusaProvider — catalog sort translation and advertisement > omits a page-local price/rating sort instead of sending it as a global order (no default price sort, not mislabelled)
|
|
259
|
-
[2026-10-10T14:20:53.597Z] [@thorprovider/adapters:FetchUtils] ERROR: Fetch failed after all retries {
|
|
260
|
-
url: [32m'https://medusa.example.com/store/thor/capabilities'[39m,
|
|
261
|
-
totalAttempts: [33m1[39m,
|
|
262
|
-
error: [32m'[MSW] Cannot bypass a request when using the "error" strategy for the "onUnhandledRequest" option.'[39m
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
stderr | src/providers/medusa/catalog-sort.test.ts > MedusaProvider — catalog sort translation and advertisement > omits a page-local price/rating sort instead of sending it as a global order (no default price sort, not mislabelled)
|
|
266
|
-
[MSW] Error: intercepted a request without a matching request handler:
|
|
267
|
-
|
|
268
|
-
• GET https://medusa.example.com/store/thor/capabilities
|
|
269
|
-
|
|
270
|
-
If you still wish to intercept this unhandled request, please create a request handler for it.
|
|
271
|
-
Read more: https://mswjs.io/docs/http/intercepting-requests
|
|
272
|
-
|
|
273
|
-
stderr | src/providers/medusa/catalog-sort.test.ts > MedusaProvider — catalog sort translation and advertisement > omits a page-local price/rating sort instead of sending it as a global order (no default price sort, not mislabelled)
|
|
274
|
-
[2026-10-10T14:20:53.628Z] [@thorprovider/adapters:FetchUtils] ERROR: Fetch failed after all retries {
|
|
275
|
-
url: [32m'https://medusa.example.com/store/thor/capabilities'[39m,
|
|
276
|
-
totalAttempts: [33m1[39m,
|
|
277
|
-
error: [32m'[MSW] Cannot bypass a request when using the "error" strategy for the "onUnhandledRequest" option.'[39m
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
stderr | src/providers/medusa/catalog-sort.test.ts > MedusaProvider — catalog sort translation and advertisement > getProducts maps the same canonical keys through the same mapping
|
|
281
|
-
[MSW] Error: intercepted a request without a matching request handler:
|
|
282
|
-
|
|
283
|
-
• GET https://medusa.example.com/store/thor/capabilities
|
|
284
|
-
|
|
285
|
-
If you still wish to intercept this unhandled request, please create a request handler for it.
|
|
286
|
-
Read more: https://mswjs.io/docs/http/intercepting-requests
|
|
287
|
-
|
|
288
|
-
stderr | src/providers/medusa/catalog-sort.test.ts > MedusaProvider — catalog sort translation and advertisement > getProducts maps the same canonical keys through the same mapping
|
|
289
|
-
[2026-10-10T14:20:53.644Z] [@thorprovider/adapters:FetchUtils] ERROR: Fetch failed after all retries {
|
|
290
|
-
url: [32m'https://medusa.example.com/store/thor/capabilities'[39m,
|
|
291
|
-
totalAttempts: [33m1[39m,
|
|
292
|
-
error: [32m'[MSW] Cannot bypass a request when using the "error" strategy for the "onUnhandledRequest" option.'[39m
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
stderr | src/providers/medusa/catalog-sort.test.ts > MedusaProvider — catalog sort translation and advertisement > getProducts maps the same canonical keys through the same mapping
|
|
296
|
-
[MSW] Error: intercepted a request without a matching request handler:
|
|
297
|
-
|
|
298
|
-
• GET https://medusa.example.com/store/thor/capabilities
|
|
299
|
-
|
|
300
|
-
If you still wish to intercept this unhandled request, please create a request handler for it.
|
|
301
|
-
Read more: https://mswjs.io/docs/http/intercepting-requests
|
|
302
|
-
|
|
303
|
-
stderr | src/providers/medusa/catalog-sort.test.ts > MedusaProvider — catalog sort translation and advertisement > getProducts maps the same canonical keys through the same mapping
|
|
304
|
-
[2026-10-10T14:20:53.661Z] [@thorprovider/adapters:FetchUtils] ERROR: Fetch failed after all retries {
|
|
305
|
-
url: [32m'https://medusa.example.com/store/thor/capabilities'[39m,
|
|
306
|
-
totalAttempts: [33m1[39m,
|
|
307
|
-
error: [32m'[MSW] Cannot bypass a request when using the "error" strategy for the "onUnhandledRequest" option.'[39m
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
stderr | src/providers/medusa/catalog-sort.test.ts > MedusaProvider — catalog sort translation and advertisement > getProducts maps the same canonical keys through the same mapping
|
|
311
|
-
[MSW] Error: intercepted a request without a matching request handler:
|
|
312
|
-
|
|
313
|
-
• GET https://medusa.example.com/store/thor/capabilities
|
|
314
|
-
|
|
315
|
-
If you still wish to intercept this unhandled request, please create a request handler for it.
|
|
316
|
-
Read more: https://mswjs.io/docs/http/intercepting-requests
|
|
317
|
-
|
|
318
|
-
stderr | src/providers/medusa/catalog-sort.test.ts > MedusaProvider — catalog sort translation and advertisement > getProducts maps the same canonical keys through the same mapping
|
|
319
|
-
[2026-10-10T14:20:53.671Z] [@thorprovider/adapters:FetchUtils] ERROR: Fetch failed after all retries {
|
|
320
|
-
url: [32m'https://medusa.example.com/store/thor/capabilities'[39m,
|
|
321
|
-
totalAttempts: [33m1[39m,
|
|
322
|
-
error: [32m'[MSW] Cannot bypass a request when using the "error" strategy for the "onUnhandledRequest" option.'[39m
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
✓ src/providers/medusa/available-filters.test.ts (9 tests) 643ms
|
|
326
|
-
✓ MedusaProvider.getAvailableFilters — facet truthfulness > emits no price range when the backend supplies no price metadata (never 0..10000) 399ms
|
|
327
|
-
✓ src/providers/medusa/catalog-sort.test.ts (7 tests) 659ms
|
|
328
|
-
✓ src/providers/medusa/catalog-query.test.ts (18 tests) 846ms
|
|
329
|
-
✓ MedusaProvider.getCatalogProducts — canonical query forwarding > forwards text as q and reports it as an applied filter 313ms
|
|
330
|
-
stderr | src/providers/medusa/catalog-facet-support.test.ts > MedusaProvider.searchProductsAdvanced — faithful fallback > rejects an advanced request instead of silently returning unfiltered products
|
|
331
|
-
[2026-10-10T14:20:53.963Z] [@thorprovider/adapters:MedusaProvider] ERROR: Advanced search failed, using faithful fallback {
|
|
332
|
-
error: [32m'Search API returned 404: Not Found'[39m,
|
|
333
|
-
stack: [32m'Error: Search API returned 404: Not Found\n'[39m +
|
|
334
|
-
[32m' at MedusaProvider.searchProductsAdvanced (/home/nelson/dev/active/thorprovider/repos/thorcommerce/packages/adapters/src/providers/medusa/index.ts:1700:15)\n'[39m +
|
|
335
|
-
[32m' at processTicksAndRejections (node:internal/process/task_queues:103:5)\n'[39m +
|
|
336
|
-
[32m' at /home/nelson/dev/active/thorprovider/repos/thorcommerce/packages/adapters/src/providers/medusa/catalog-facet-support.test.ts:524:5\n'[39m +
|
|
337
|
-
[32m' at file:///home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/@vitest/runner/dist/chunk-hooks.js:752:20'[39m
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
stderr | src/providers/medusa/catalog-facet-support.test.ts > MedusaProvider.searchProductsAdvanced — faithful fallback > still serves a basic-only caller through the getProducts fallback
|
|
341
|
-
[2026-10-10T14:20:53.975Z] [@thorprovider/adapters:MedusaProvider] ERROR: Advanced search failed, using faithful fallback {
|
|
342
|
-
error: [32m'Search API returned 404: Not Found'[39m,
|
|
343
|
-
stack: [32m'Error: Search API returned 404: Not Found\n'[39m +
|
|
344
|
-
[32m' at MedusaProvider.searchProductsAdvanced (/home/nelson/dev/active/thorprovider/repos/thorcommerce/packages/adapters/src/providers/medusa/index.ts:1700:15)\n'[39m +
|
|
345
|
-
[32m' at processTicksAndRejections (node:internal/process/task_queues:103:5)\n'[39m +
|
|
346
|
-
[32m' at /home/nelson/dev/active/thorprovider/repos/thorcommerce/packages/adapters/src/providers/medusa/catalog-facet-support.test.ts:533:20\n'[39m +
|
|
347
|
-
[32m' at file:///home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/@vitest/runner/dist/chunk-hooks.js:752:20'[39m
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
stderr | src/providers/medusa/catalog-facet-support.test.ts > real Medusa + Meilisearch: advanced facets reflect backend truth > price narrows the result set and echoes price_range; inStock offered; attributes held
|
|
351
|
-
[MSW] Error: intercepted a request without a matching request handler:
|
|
352
|
-
|
|
353
|
-
• GET http://localhost:9000/store/thor/capabilities
|
|
354
|
-
|
|
355
|
-
If you still wish to intercept this unhandled request, please create a request handler for it.
|
|
356
|
-
Read more: https://mswjs.io/docs/http/intercepting-requests
|
|
357
|
-
|
|
358
|
-
stderr | src/providers/medusa/catalog-facet-support.test.ts > real Medusa + Meilisearch: advanced facets reflect backend truth > price narrows the result set and echoes price_range; inStock offered; attributes held
|
|
359
|
-
[2026-10-10T14:20:54.052Z] [@thorprovider/adapters:FetchUtils] ERROR: Fetch failed after all retries {
|
|
360
|
-
url: [32m'http://localhost:9000/store/thor/capabilities'[39m,
|
|
361
|
-
totalAttempts: [33m1[39m,
|
|
362
|
-
error: [32m'[MSW] Cannot bypass a request when using the "error" strategy for the "onUnhandledRequest" option.'[39m
|
|
363
|
-
}
|
|
364
|
-
|
|
365
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Products > getProduct throws ProviderAPIError on 503
|
|
366
|
-
[2026-10-10T14:20:55.317Z] [@thorprovider/adapters:MedusaProvider] ERROR: getProduct failed after all retries {
|
|
367
|
-
handle: [32m'any-handle'[39m,
|
|
368
|
-
regionId: [90mundefined[39m,
|
|
369
|
-
totalAttempts: [33m4[39m,
|
|
370
|
-
error: [32m'Service unavailable'[39m
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Products > getProducts returns array of transformed products
|
|
374
|
-
[MSW] Error: intercepted a request without a matching request handler:
|
|
375
|
-
|
|
376
|
-
• GET https://medusa.example.com/store/thor/capabilities
|
|
377
|
-
|
|
378
|
-
If you still wish to intercept this unhandled request, please create a request handler for it.
|
|
379
|
-
Read more: https://mswjs.io/docs/http/intercepting-requests
|
|
380
|
-
|
|
381
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Products > getProducts returns array of transformed products
|
|
382
|
-
[2026-10-10T14:20:55.358Z] [@thorprovider/adapters:FetchUtils] ERROR: Fetch failed after all retries {
|
|
383
|
-
url: [32m'https://medusa.example.com/store/thor/capabilities'[39m,
|
|
384
|
-
totalAttempts: [33m1[39m,
|
|
385
|
-
error: [32m'[MSW] Cannot bypass a request when using the "error" strategy for the "onUnhandledRequest" option.'[39m
|
|
386
|
-
}
|
|
387
|
-
|
|
388
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Products > getProducts returns empty array when backend returns none
|
|
389
|
-
[MSW] Error: intercepted a request without a matching request handler:
|
|
390
|
-
|
|
391
|
-
• GET https://medusa.example.com/store/thor/capabilities
|
|
392
|
-
|
|
393
|
-
If you still wish to intercept this unhandled request, please create a request handler for it.
|
|
394
|
-
Read more: https://mswjs.io/docs/http/intercepting-requests
|
|
395
|
-
|
|
396
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Products > getProducts returns empty array when backend returns none
|
|
397
|
-
[2026-10-10T14:20:55.428Z] [@thorprovider/adapters:FetchUtils] ERROR: Fetch failed after all retries {
|
|
398
|
-
url: [32m'https://medusa.example.com/store/thor/capabilities'[39m,
|
|
399
|
-
totalAttempts: [33m1[39m,
|
|
400
|
-
error: [32m'[MSW] Cannot bypass a request when using the "error" strategy for the "onUnhandledRequest" option.'[39m
|
|
401
|
-
}
|
|
402
|
-
|
|
403
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Catalog pagination and directed lookup > getProducts uses the configured default bound (50), not an unbounded scan
|
|
404
|
-
[MSW] Error: intercepted a request without a matching request handler:
|
|
405
|
-
|
|
406
|
-
• GET https://medusa.example.com/store/thor/capabilities
|
|
407
|
-
|
|
408
|
-
If you still wish to intercept this unhandled request, please create a request handler for it.
|
|
409
|
-
Read more: https://mswjs.io/docs/http/intercepting-requests
|
|
410
|
-
|
|
411
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Catalog pagination and directed lookup > getProducts uses the configured default bound (50), not an unbounded scan
|
|
412
|
-
[2026-10-10T14:20:55.452Z] [@thorprovider/adapters:FetchUtils] ERROR: Fetch failed after all retries {
|
|
413
|
-
url: [32m'https://medusa.example.com/store/thor/capabilities'[39m,
|
|
414
|
-
totalAttempts: [33m1[39m,
|
|
415
|
-
error: [32m'[MSW] Cannot bypass a request when using the "error" strategy for the "onUnhandledRequest" option.'[39m
|
|
416
|
-
}
|
|
417
|
-
|
|
418
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Catalog pagination and directed lookup > getProducts honors an explicit configured bound
|
|
419
|
-
[MSW] Error: intercepted a request without a matching request handler:
|
|
420
|
-
|
|
421
|
-
• GET https://medusa.example.com/store/thor/capabilities
|
|
422
|
-
|
|
423
|
-
If you still wish to intercept this unhandled request, please create a request handler for it.
|
|
424
|
-
Read more: https://mswjs.io/docs/http/intercepting-requests
|
|
425
|
-
|
|
426
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Catalog pagination and directed lookup > getProducts honors an explicit configured bound
|
|
427
|
-
[2026-10-10T14:20:55.458Z] [@thorprovider/adapters:FetchUtils] ERROR: Fetch failed after all retries {
|
|
428
|
-
url: [32m'https://medusa.example.com/store/thor/capabilities'[39m,
|
|
429
|
-
totalAttempts: [33m1[39m,
|
|
430
|
-
error: [32m'[MSW] Cannot bypass a request when using the "error" strategy for the "onUnhandledRequest" option.'[39m
|
|
431
|
-
}
|
|
432
|
-
|
|
433
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Catalog pagination and directed lookup > getProducts paginates per request with first + after (count/offset)
|
|
434
|
-
[MSW] Error: intercepted a request without a matching request handler:
|
|
435
|
-
|
|
436
|
-
• GET https://medusa.example.com/store/thor/capabilities
|
|
437
|
-
|
|
438
|
-
If you still wish to intercept this unhandled request, please create a request handler for it.
|
|
439
|
-
Read more: https://mswjs.io/docs/http/intercepting-requests
|
|
440
|
-
|
|
441
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Catalog pagination and directed lookup > getProducts paginates per request with first + after (count/offset)
|
|
442
|
-
[2026-10-10T14:20:55.465Z] [@thorprovider/adapters:FetchUtils] ERROR: Fetch failed after all retries {
|
|
443
|
-
url: [32m'https://medusa.example.com/store/thor/capabilities'[39m,
|
|
444
|
-
totalAttempts: [33m1[39m,
|
|
445
|
-
error: [32m'[MSW] Cannot bypass a request when using the "error" strategy for the "onUnhandledRequest" option.'[39m
|
|
446
|
-
}
|
|
447
|
-
|
|
448
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Catalog pagination and directed lookup > getProduct resolves by handle with a single directed query (limit 1), never a scan
|
|
449
|
-
[MSW] Error: intercepted a request without a matching request handler:
|
|
450
|
-
|
|
451
|
-
• GET https://medusa.example.com/store/thor/capabilities
|
|
452
|
-
|
|
453
|
-
If you still wish to intercept this unhandled request, please create a request handler for it.
|
|
454
|
-
Read more: https://mswjs.io/docs/http/intercepting-requests
|
|
455
|
-
|
|
456
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Catalog pagination and directed lookup > getProduct resolves by handle with a single directed query (limit 1), never a scan
|
|
457
|
-
[2026-10-10T14:20:55.472Z] [@thorprovider/adapters:FetchUtils] ERROR: Fetch failed after all retries {
|
|
458
|
-
url: [32m'https://medusa.example.com/store/thor/capabilities'[39m,
|
|
459
|
-
totalAttempts: [33m1[39m,
|
|
460
|
-
error: [32m'[MSW] Cannot bypass a request when using the "error" strategy for the "onUnhandledRequest" option.'[39m
|
|
461
|
-
}
|
|
462
|
-
|
|
463
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Catalog pagination and directed lookup > getProductById resolves by id with a directed query, independent of the first page
|
|
464
|
-
[MSW] Error: intercepted a request without a matching request handler:
|
|
465
|
-
|
|
466
|
-
• GET https://medusa.example.com/store/thor/capabilities
|
|
467
|
-
|
|
468
|
-
If you still wish to intercept this unhandled request, please create a request handler for it.
|
|
469
|
-
Read more: https://mswjs.io/docs/http/intercepting-requests
|
|
470
|
-
|
|
471
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Catalog pagination and directed lookup > getProductById resolves by id with a directed query, independent of the first page
|
|
472
|
-
[2026-10-10T14:20:55.480Z] [@thorprovider/adapters:FetchUtils] ERROR: Fetch failed after all retries {
|
|
473
|
-
url: [32m'https://medusa.example.com/store/thor/capabilities'[39m,
|
|
474
|
-
totalAttempts: [33m1[39m,
|
|
475
|
-
error: [32m'[MSW] Cannot bypass a request when using the "error" strategy for the "onUnhandledRequest" option.'[39m
|
|
476
|
-
}
|
|
477
|
-
|
|
478
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Catalog pagination and directed lookup > a product beyond a >200 dataset resolves by handle without scanning the listing
|
|
479
|
-
[MSW] Error: intercepted a request without a matching request handler:
|
|
480
|
-
|
|
481
|
-
• GET https://medusa.example.com/store/thor/capabilities
|
|
482
|
-
|
|
483
|
-
If you still wish to intercept this unhandled request, please create a request handler for it.
|
|
484
|
-
Read more: https://mswjs.io/docs/http/intercepting-requests
|
|
485
|
-
|
|
486
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Catalog pagination and directed lookup > a product beyond a >200 dataset resolves by handle without scanning the listing
|
|
487
|
-
[2026-10-10T14:20:55.486Z] [@thorprovider/adapters:FetchUtils] ERROR: Fetch failed after all retries {
|
|
488
|
-
url: [32m'https://medusa.example.com/store/thor/capabilities'[39m,
|
|
489
|
-
totalAttempts: [33m1[39m,
|
|
490
|
-
error: [32m'[MSW] Cannot bypass a request when using the "error" strategy for the "onUnhandledRequest" option.'[39m
|
|
491
|
-
}
|
|
492
|
-
|
|
493
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Cart > createCart returns a cart with an id
|
|
494
|
-
[MSW] Error: intercepted a request without a matching request handler:
|
|
495
|
-
|
|
496
|
-
• GET https://medusa.example.com/store/thor/capabilities
|
|
497
|
-
|
|
498
|
-
If you still wish to intercept this unhandled request, please create a request handler for it.
|
|
499
|
-
Read more: https://mswjs.io/docs/http/intercepting-requests
|
|
500
|
-
|
|
501
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Cart > createCart returns a cart with an id
|
|
502
|
-
[2026-10-10T14:20:55.498Z] [@thorprovider/adapters:FetchUtils] ERROR: Fetch failed after all retries {
|
|
503
|
-
url: [32m'https://medusa.example.com/store/thor/capabilities'[39m,
|
|
504
|
-
totalAttempts: [33m1[39m,
|
|
505
|
-
error: [32m'[MSW] Cannot bypass a request when using the "error" strategy for the "onUnhandledRequest" option.'[39m
|
|
506
|
-
}
|
|
507
|
-
|
|
508
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Cart > createCart with regionId passes region_id in payload
|
|
509
|
-
[MSW] Error: intercepted a request without a matching request handler:
|
|
510
|
-
|
|
511
|
-
• GET https://medusa.example.com/store/thor/capabilities
|
|
512
|
-
|
|
513
|
-
If you still wish to intercept this unhandled request, please create a request handler for it.
|
|
514
|
-
Read more: https://mswjs.io/docs/http/intercepting-requests
|
|
515
|
-
|
|
516
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Cart > createCart with regionId passes region_id in payload
|
|
517
|
-
[2026-10-10T14:20:55.508Z] [@thorprovider/adapters:FetchUtils] ERROR: Fetch failed after all retries {
|
|
518
|
-
url: [32m'https://medusa.example.com/store/thor/capabilities'[39m,
|
|
519
|
-
totalAttempts: [33m1[39m,
|
|
520
|
-
error: [32m'[MSW] Cannot bypass a request when using the "error" strategy for the "onUnhandledRequest" option.'[39m
|
|
521
|
-
}
|
|
522
|
-
|
|
523
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Cart > createCart passes an explicit salesChannelId in the payload
|
|
524
|
-
[MSW] Error: intercepted a request without a matching request handler:
|
|
525
|
-
|
|
526
|
-
• GET https://medusa.example.com/store/thor/capabilities
|
|
527
|
-
|
|
528
|
-
If you still wish to intercept this unhandled request, please create a request handler for it.
|
|
529
|
-
Read more: https://mswjs.io/docs/http/intercepting-requests
|
|
530
|
-
|
|
531
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Cart > createCart passes an explicit salesChannelId in the payload
|
|
532
|
-
[2026-10-10T14:20:55.516Z] [@thorprovider/adapters:FetchUtils] ERROR: Fetch failed after all retries {
|
|
533
|
-
url: [32m'https://medusa.example.com/store/thor/capabilities'[39m,
|
|
534
|
-
totalAttempts: [33m1[39m,
|
|
535
|
-
error: [32m'[MSW] Cannot bypass a request when using the "error" strategy for the "onUnhandledRequest" option.'[39m
|
|
536
|
-
}
|
|
537
|
-
|
|
538
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Cart > createCart falls back to MEDUSA_SALES_CHANNEL_ID then the public var
|
|
539
|
-
[MSW] Error: intercepted a request without a matching request handler:
|
|
540
|
-
|
|
541
|
-
• GET https://medusa.example.com/store/thor/capabilities
|
|
542
|
-
|
|
543
|
-
If you still wish to intercept this unhandled request, please create a request handler for it.
|
|
544
|
-
Read more: https://mswjs.io/docs/http/intercepting-requests
|
|
545
|
-
|
|
546
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Cart > createCart falls back to MEDUSA_SALES_CHANNEL_ID then the public var
|
|
547
|
-
[2026-10-10T14:20:55.529Z] [@thorprovider/adapters:FetchUtils] ERROR: Fetch failed after all retries {
|
|
548
|
-
url: [32m'https://medusa.example.com/store/thor/capabilities'[39m,
|
|
549
|
-
totalAttempts: [33m1[39m,
|
|
550
|
-
error: [32m'[MSW] Cannot bypass a request when using the "error" strategy for the "onUnhandledRequest" option.'[39m
|
|
551
|
-
}
|
|
552
|
-
|
|
553
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Cart > getCart returns cart when found
|
|
554
|
-
[MSW] Error: intercepted a request without a matching request handler:
|
|
555
|
-
|
|
556
|
-
• GET https://medusa.example.com/store/thor/capabilities
|
|
557
|
-
|
|
558
|
-
If you still wish to intercept this unhandled request, please create a request handler for it.
|
|
559
|
-
Read more: https://mswjs.io/docs/http/intercepting-requests
|
|
560
|
-
|
|
561
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Cart > getCart returns cart when found
|
|
562
|
-
[2026-10-10T14:20:55.538Z] [@thorprovider/adapters:FetchUtils] ERROR: Fetch failed after all retries {
|
|
563
|
-
url: [32m'https://medusa.example.com/store/thor/capabilities'[39m,
|
|
564
|
-
totalAttempts: [33m1[39m,
|
|
565
|
-
error: [32m'[MSW] Cannot bypass a request when using the "error" strategy for the "onUnhandledRequest" option.'[39m
|
|
566
|
-
}
|
|
567
|
-
|
|
568
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Cart > getCart transforms flat v2 cart items (no nested variant.product)
|
|
569
|
-
[MSW] Error: intercepted a request without a matching request handler:
|
|
570
|
-
|
|
571
|
-
• GET https://medusa.example.com/store/thor/capabilities
|
|
572
|
-
|
|
573
|
-
If you still wish to intercept this unhandled request, please create a request handler for it.
|
|
574
|
-
Read more: https://mswjs.io/docs/http/intercepting-requests
|
|
575
|
-
|
|
576
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Cart > getCart transforms flat v2 cart items (no nested variant.product)
|
|
577
|
-
[2026-10-10T14:20:55.550Z] [@thorprovider/adapters:FetchUtils] ERROR: Fetch failed after all retries {
|
|
578
|
-
url: [32m'https://medusa.example.com/store/thor/capabilities'[39m,
|
|
579
|
-
totalAttempts: [33m1[39m,
|
|
580
|
-
error: [32m'[MSW] Cannot bypass a request when using the "error" strategy for the "onUnhandledRequest" option.'[39m
|
|
581
|
-
}
|
|
582
|
-
|
|
583
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Cart > getCart does not invent a line total from unit_price × quantity
|
|
584
|
-
[MSW] Error: intercepted a request without a matching request handler:
|
|
585
|
-
|
|
586
|
-
• GET https://medusa.example.com/store/thor/capabilities
|
|
587
|
-
|
|
588
|
-
If you still wish to intercept this unhandled request, please create a request handler for it.
|
|
589
|
-
Read more: https://mswjs.io/docs/http/intercepting-requests
|
|
590
|
-
|
|
591
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Cart > getCart does not invent a line total from unit_price × quantity
|
|
592
|
-
[2026-10-10T14:20:55.562Z] [@thorprovider/adapters:FetchUtils] ERROR: Fetch failed after all retries {
|
|
593
|
-
url: [32m'https://medusa.example.com/store/thor/capabilities'[39m,
|
|
594
|
-
totalAttempts: [33m1[39m,
|
|
595
|
-
error: [32m'[MSW] Cannot bypass a request when using the "error" strategy for the "onUnhandledRequest" option.'[39m
|
|
596
|
-
}
|
|
597
|
-
|
|
598
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Cart > getCart carries the backend context, financial fields and item subtotal
|
|
599
|
-
[MSW] Error: intercepted a request without a matching request handler:
|
|
600
|
-
|
|
601
|
-
• GET https://medusa.example.com/store/thor/capabilities
|
|
602
|
-
|
|
603
|
-
If you still wish to intercept this unhandled request, please create a request handler for it.
|
|
604
|
-
Read more: https://mswjs.io/docs/http/intercepting-requests
|
|
605
|
-
|
|
606
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Cart > getCart carries the backend context, financial fields and item subtotal
|
|
607
|
-
[2026-10-10T14:20:55.576Z] [@thorprovider/adapters:FetchUtils] ERROR: Fetch failed after all retries {
|
|
608
|
-
url: [32m'https://medusa.example.com/store/thor/capabilities'[39m,
|
|
609
|
-
totalAttempts: [33m1[39m,
|
|
610
|
-
error: [32m'[MSW] Cannot bypass a request when using the "error" strategy for the "onUnhandledRequest" option.'[39m
|
|
611
|
-
}
|
|
612
|
-
|
|
613
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Cart > getCart returns undefined when cart not found (404)
|
|
614
|
-
[MSW] Error: intercepted a request without a matching request handler:
|
|
615
|
-
|
|
616
|
-
• GET https://medusa.example.com/store/thor/capabilities
|
|
617
|
-
|
|
618
|
-
If you still wish to intercept this unhandled request, please create a request handler for it.
|
|
619
|
-
Read more: https://mswjs.io/docs/http/intercepting-requests
|
|
620
|
-
|
|
621
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Cart > getCart returns undefined when cart not found (404)
|
|
622
|
-
[2026-10-10T14:20:55.603Z] [@thorprovider/adapters:FetchUtils] ERROR: Fetch failed after all retries {
|
|
623
|
-
url: [32m'https://medusa.example.com/store/thor/capabilities'[39m,
|
|
624
|
-
totalAttempts: [33m1[39m,
|
|
625
|
-
error: [32m'[MSW] Cannot bypass a request when using the "error" strategy for the "onUnhandledRequest" option.'[39m
|
|
626
|
-
}
|
|
627
|
-
|
|
628
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Cart > createCart throws ProviderAPIError on server error
|
|
629
|
-
[MSW] Error: intercepted a request without a matching request handler:
|
|
630
|
-
|
|
631
|
-
• GET https://medusa.example.com/store/thor/capabilities
|
|
632
|
-
|
|
633
|
-
If you still wish to intercept this unhandled request, please create a request handler for it.
|
|
634
|
-
Read more: https://mswjs.io/docs/http/intercepting-requests
|
|
635
|
-
|
|
636
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Cart > createCart throws ProviderAPIError on server error
|
|
637
|
-
[2026-10-10T14:20:55.614Z] [@thorprovider/adapters:FetchUtils] ERROR: Fetch failed after all retries {
|
|
638
|
-
url: [32m'https://medusa.example.com/store/thor/capabilities'[39m,
|
|
639
|
-
totalAttempts: [33m1[39m,
|
|
640
|
-
error: [32m'[MSW] Cannot bypass a request when using the "error" strategy for the "onUnhandledRequest" option.'[39m
|
|
641
|
-
}
|
|
642
|
-
|
|
643
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Cart > createCart throws ProviderAPIError on server error
|
|
644
|
-
[2026-10-10T14:20:55.619Z] [@thorprovider/adapters:MedusaProvider] ERROR: Failed to create cart { error: [32m'Internal Server Error'[39m }
|
|
645
|
-
|
|
646
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Regions > getRegions returns array of regions
|
|
647
|
-
[MSW] Error: intercepted a request without a matching request handler:
|
|
648
|
-
|
|
649
|
-
• GET https://medusa.example.com/store/thor/capabilities
|
|
650
|
-
|
|
651
|
-
If you still wish to intercept this unhandled request, please create a request handler for it.
|
|
652
|
-
Read more: https://mswjs.io/docs/http/intercepting-requests
|
|
653
|
-
|
|
654
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Regions > getRegions returns array of regions
|
|
655
|
-
[2026-10-10T14:20:55.637Z] [@thorprovider/adapters:FetchUtils] ERROR: Fetch failed after all retries {
|
|
656
|
-
url: [32m'https://medusa.example.com/store/thor/capabilities'[39m,
|
|
657
|
-
totalAttempts: [33m1[39m,
|
|
658
|
-
error: [32m'[MSW] Cannot bypass a request when using the "error" strategy for the "onUnhandledRequest" option.'[39m
|
|
659
|
-
}
|
|
660
|
-
|
|
661
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Regions > getRegions returns empty array when no regions
|
|
662
|
-
[MSW] Error: intercepted a request without a matching request handler:
|
|
663
|
-
|
|
664
|
-
• GET https://medusa.example.com/store/thor/capabilities
|
|
665
|
-
|
|
666
|
-
If you still wish to intercept this unhandled request, please create a request handler for it.
|
|
667
|
-
Read more: https://mswjs.io/docs/http/intercepting-requests
|
|
668
|
-
|
|
669
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Regions > getRegions returns empty array when no regions
|
|
670
|
-
[2026-10-10T14:20:55.662Z] [@thorprovider/adapters:FetchUtils] ERROR: Fetch failed after all retries {
|
|
671
|
-
url: [32m'https://medusa.example.com/store/thor/capabilities'[39m,
|
|
672
|
-
totalAttempts: [33m1[39m,
|
|
673
|
-
error: [32m'[MSW] Cannot bypass a request when using the "error" strategy for the "onUnhandledRequest" option.'[39m
|
|
674
|
-
}
|
|
675
|
-
|
|
676
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Shipping > getShippingMethods returns available methods
|
|
677
|
-
[MSW] Error: intercepted a request without a matching request handler:
|
|
678
|
-
|
|
679
|
-
• GET https://medusa.example.com/store/thor/capabilities
|
|
680
|
-
|
|
681
|
-
If you still wish to intercept this unhandled request, please create a request handler for it.
|
|
682
|
-
Read more: https://mswjs.io/docs/http/intercepting-requests
|
|
683
|
-
|
|
684
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Shipping > getShippingMethods returns available methods
|
|
685
|
-
[2026-10-10T14:20:55.686Z] [@thorprovider/adapters:FetchUtils] ERROR: Fetch failed after all retries {
|
|
686
|
-
url: [32m'https://medusa.example.com/store/thor/capabilities'[39m,
|
|
687
|
-
totalAttempts: [33m1[39m,
|
|
688
|
-
error: [32m'[MSW] Cannot bypass a request when using the "error" strategy for the "onUnhandledRequest" option.'[39m
|
|
689
|
-
}
|
|
690
|
-
|
|
691
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Shipping > getShippingMethods returns empty array when none available
|
|
692
|
-
[MSW] Error: intercepted a request without a matching request handler:
|
|
693
|
-
|
|
694
|
-
• GET https://medusa.example.com/store/thor/capabilities
|
|
695
|
-
|
|
696
|
-
If you still wish to intercept this unhandled request, please create a request handler for it.
|
|
697
|
-
Read more: https://mswjs.io/docs/http/intercepting-requests
|
|
698
|
-
|
|
699
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Shipping > getShippingMethods returns empty array when none available
|
|
700
|
-
[2026-10-10T14:20:55.711Z] [@thorprovider/adapters:FetchUtils] ERROR: Fetch failed after all retries {
|
|
701
|
-
url: [32m'https://medusa.example.com/store/thor/capabilities'[39m,
|
|
702
|
-
totalAttempts: [33m1[39m,
|
|
703
|
-
error: [32m'[MSW] Cannot bypass a request when using the "error" strategy for the "onUnhandledRequest" option.'[39m
|
|
704
|
-
}
|
|
705
|
-
|
|
706
|
-
✓ src/providers/medusa/catalog-facet-support.test.ts (17 tests) 2650ms
|
|
707
|
-
✓ MedusaProvider.getCatalogFacetSupport — optional endpoint absent > holds price/inStock/attr and offers only the basic facets, proven by /store/products 382ms
|
|
708
|
-
✓ real Medusa + Meilisearch: advanced facets reflect backend truth > price narrows the result set and echoes price_range; inStock offered; attributes held 1741ms
|
|
709
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Payment > getPaymentMethods returns payment providers
|
|
710
|
-
[MSW] Error: intercepted a request without a matching request handler:
|
|
711
|
-
|
|
712
|
-
• GET https://medusa.example.com/store/thor/capabilities
|
|
713
|
-
|
|
714
|
-
If you still wish to intercept this unhandled request, please create a request handler for it.
|
|
715
|
-
Read more: https://mswjs.io/docs/http/intercepting-requests
|
|
716
|
-
|
|
717
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Payment > getPaymentMethods returns payment providers
|
|
718
|
-
[2026-10-10T14:20:55.741Z] [@thorprovider/adapters:FetchUtils] ERROR: Fetch failed after all retries {
|
|
719
|
-
url: [32m'https://medusa.example.com/store/thor/capabilities'[39m,
|
|
720
|
-
totalAttempts: [33m1[39m,
|
|
721
|
-
error: [32m'[MSW] Cannot bypass a request when using the "error" strategy for the "onUnhandledRequest" option.'[39m
|
|
722
|
-
}
|
|
723
|
-
|
|
724
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Error propagation > getProducts throws when backend returns 503
|
|
725
|
-
[MSW] Error: intercepted a request without a matching request handler:
|
|
726
|
-
|
|
727
|
-
• GET https://medusa.example.com/store/thor/capabilities
|
|
728
|
-
|
|
729
|
-
If you still wish to intercept this unhandled request, please create a request handler for it.
|
|
730
|
-
Read more: https://mswjs.io/docs/http/intercepting-requests
|
|
731
|
-
|
|
732
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Error propagation > getProducts throws when backend returns 503
|
|
733
|
-
[2026-10-10T14:20:55.784Z] [@thorprovider/adapters:FetchUtils] ERROR: Fetch failed after all retries {
|
|
734
|
-
url: [32m'https://medusa.example.com/store/thor/capabilities'[39m,
|
|
735
|
-
totalAttempts: [33m1[39m,
|
|
736
|
-
error: [32m'[MSW] Cannot bypass a request when using the "error" strategy for the "onUnhandledRequest" option.'[39m
|
|
737
|
-
}
|
|
738
|
-
|
|
739
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Error propagation > getProducts throws when backend returns 503
|
|
740
|
-
[2026-10-10T14:20:57.903Z] [@thorprovider/adapters:MedusaProvider] ERROR: getProducts failed after all retries { totalAttempts: [33m4[39m, error: [32m'Service Unavailable'[39m }
|
|
741
|
-
|
|
742
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Error propagation > getProducts throws when backend returns 503
|
|
743
|
-
[2026-10-10T14:20:57.907Z] [@thorprovider/adapters:MedusaProvider] ERROR: getProducts error details {
|
|
744
|
-
message: [32m'Service Unavailable'[39m,
|
|
745
|
-
status: [33m503[39m,
|
|
746
|
-
type: [90mundefined[39m,
|
|
747
|
-
code: [90mundefined[39m,
|
|
748
|
-
stack: [32m'Error: Service Unavailable\n'[39m +
|
|
749
|
-
[32m' at /home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/@medusajs/js-sdk/src/client.ts:91:11\n'[39m +
|
|
750
|
-
[32m' at Generator.next (<anonymous>)\n'[39m +
|
|
751
|
-
[32m' at fulfilled (/home/nelson/dev/active/thorprovider/repos/thorcommerce/node_modules/@medusajs/js-sdk/dist/esm/client.js:10:58)'[39m,
|
|
752
|
-
fullError: [32m'{\n "statusText": "Service Unavailable",\n "status": 503\n}'[39m
|
|
753
|
-
}
|
|
754
|
-
|
|
755
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Error propagation > createCart throws when backend returns 500
|
|
756
|
-
[MSW] Error: intercepted a request without a matching request handler:
|
|
757
|
-
|
|
758
|
-
• GET https://medusa.example.com/store/thor/capabilities
|
|
759
|
-
|
|
760
|
-
If you still wish to intercept this unhandled request, please create a request handler for it.
|
|
761
|
-
Read more: https://mswjs.io/docs/http/intercepting-requests
|
|
762
|
-
|
|
763
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Error propagation > createCart throws when backend returns 500
|
|
764
|
-
[2026-10-10T14:20:57.912Z] [@thorprovider/adapters:FetchUtils] ERROR: Fetch failed after all retries {
|
|
765
|
-
url: [32m'https://medusa.example.com/store/thor/capabilities'[39m,
|
|
766
|
-
totalAttempts: [33m1[39m,
|
|
767
|
-
error: [32m'[MSW] Cannot bypass a request when using the "error" strategy for the "onUnhandledRequest" option.'[39m
|
|
768
|
-
}
|
|
769
|
-
|
|
770
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Error propagation > createCart throws when backend returns 500
|
|
771
|
-
[2026-10-10T14:20:57.912Z] [@thorprovider/adapters:MedusaProvider] ERROR: Failed to create cart { error: [32m'Internal Server Error'[39m }
|
|
772
|
-
|
|
773
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Completion > completeCart requests explicit order item fields and maps populated items
|
|
774
|
-
[MSW] Error: intercepted a request without a matching request handler:
|
|
775
|
-
|
|
776
|
-
• GET https://medusa.example.com/store/thor/capabilities
|
|
777
|
-
|
|
778
|
-
If you still wish to intercept this unhandled request, please create a request handler for it.
|
|
779
|
-
Read more: https://mswjs.io/docs/http/intercepting-requests
|
|
780
|
-
|
|
781
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Completion > completeCart requests explicit order item fields and maps populated items
|
|
782
|
-
[2026-10-10T14:20:57.917Z] [@thorprovider/adapters:FetchUtils] ERROR: Fetch failed after all retries {
|
|
783
|
-
url: [32m'https://medusa.example.com/store/thor/capabilities'[39m,
|
|
784
|
-
totalAttempts: [33m1[39m,
|
|
785
|
-
error: [32m'[MSW] Cannot bypass a request when using the "error" strategy for the "onUnhandledRequest" option.'[39m
|
|
786
|
-
}
|
|
787
|
-
|
|
788
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Completion > completeCart preserves a cart-with-error discriminator
|
|
789
|
-
[MSW] Error: intercepted a request without a matching request handler:
|
|
790
|
-
|
|
791
|
-
• GET https://medusa.example.com/store/thor/capabilities
|
|
792
|
-
|
|
793
|
-
If you still wish to intercept this unhandled request, please create a request handler for it.
|
|
794
|
-
Read more: https://mswjs.io/docs/http/intercepting-requests
|
|
795
|
-
|
|
796
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Completion > completeCart preserves a cart-with-error discriminator
|
|
797
|
-
[2026-10-10T14:20:57.923Z] [@thorprovider/adapters:FetchUtils] ERROR: Fetch failed after all retries {
|
|
798
|
-
url: [32m'https://medusa.example.com/store/thor/capabilities'[39m,
|
|
799
|
-
totalAttempts: [33m1[39m,
|
|
800
|
-
error: [32m'[MSW] Cannot bypass a request when using the "error" strategy for the "onUnhandledRequest" option.'[39m
|
|
801
|
-
}
|
|
802
|
-
|
|
803
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Completion > completeCart returns unresolved and does not retry a failed mutation
|
|
804
|
-
[MSW] Error: intercepted a request without a matching request handler:
|
|
805
|
-
|
|
806
|
-
• GET https://medusa.example.com/store/thor/capabilities
|
|
807
|
-
|
|
808
|
-
If you still wish to intercept this unhandled request, please create a request handler for it.
|
|
809
|
-
Read more: https://mswjs.io/docs/http/intercepting-requests
|
|
810
|
-
|
|
811
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Completion > completeCart returns unresolved and does not retry a failed mutation
|
|
812
|
-
[2026-10-10T14:20:57.928Z] [@thorprovider/adapters:FetchUtils] ERROR: Fetch failed after all retries {
|
|
813
|
-
url: [32m'https://medusa.example.com/store/thor/capabilities'[39m,
|
|
814
|
-
totalAttempts: [33m1[39m,
|
|
815
|
-
error: [32m'[MSW] Cannot bypass a request when using the "error" strategy for the "onUnhandledRequest" option.'[39m
|
|
816
|
-
}
|
|
817
|
-
|
|
818
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Completion > completeCart returns unresolved and does not retry a failed mutation
|
|
819
|
-
[2026-10-10T14:20:57.929Z] [@thorprovider/adapters:MedusaProvider] ERROR: Cart completion failed (unresolved, not retried) { cartId: [32m'cart_01'[39m, status: [33m504[39m, message: [32m'Gateway Timeout'[39m }
|
|
820
|
-
|
|
821
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Payment session compatibility > reuses a compatible session without creating a new one
|
|
822
|
-
[MSW] Error: intercepted a request without a matching request handler:
|
|
823
|
-
|
|
824
|
-
• GET https://medusa.example.com/store/thor/capabilities
|
|
825
|
-
|
|
826
|
-
If you still wish to intercept this unhandled request, please create a request handler for it.
|
|
827
|
-
Read more: https://mswjs.io/docs/http/intercepting-requests
|
|
828
|
-
|
|
829
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Payment session compatibility > reuses a compatible session without creating a new one
|
|
830
|
-
[2026-10-10T14:20:57.936Z] [@thorprovider/adapters:FetchUtils] ERROR: Fetch failed after all retries {
|
|
831
|
-
url: [32m'https://medusa.example.com/store/thor/capabilities'[39m,
|
|
832
|
-
totalAttempts: [33m1[39m,
|
|
833
|
-
error: [32m'[MSW] Cannot bypass a request when using the "error" strategy for the "onUnhandledRequest" option.'[39m
|
|
834
|
-
}
|
|
835
|
-
|
|
836
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Payment session compatibility > replaces a session whose provider/amount is incompatible
|
|
837
|
-
[MSW] Error: intercepted a request without a matching request handler:
|
|
838
|
-
|
|
839
|
-
• GET https://medusa.example.com/store/thor/capabilities
|
|
840
|
-
|
|
841
|
-
If you still wish to intercept this unhandled request, please create a request handler for it.
|
|
842
|
-
Read more: https://mswjs.io/docs/http/intercepting-requests
|
|
843
|
-
|
|
844
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Payment session compatibility > replaces a session whose provider/amount is incompatible
|
|
845
|
-
[2026-10-10T14:20:57.941Z] [@thorprovider/adapters:FetchUtils] ERROR: Fetch failed after all retries {
|
|
846
|
-
url: [32m'https://medusa.example.com/store/thor/capabilities'[39m,
|
|
847
|
-
totalAttempts: [33m1[39m,
|
|
848
|
-
error: [32m'[MSW] Cannot bypass a request when using the "error" strategy for the "onUnhandledRequest" option.'[39m
|
|
849
|
-
}
|
|
850
|
-
|
|
851
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Payment session compatibility > rejects payment before a shipping method is selected
|
|
852
|
-
[MSW] Error: intercepted a request without a matching request handler:
|
|
853
|
-
|
|
854
|
-
• GET https://medusa.example.com/store/thor/capabilities
|
|
855
|
-
|
|
856
|
-
If you still wish to intercept this unhandled request, please create a request handler for it.
|
|
857
|
-
Read more: https://mswjs.io/docs/http/intercepting-requests
|
|
858
|
-
|
|
859
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Payment session compatibility > rejects payment before a shipping method is selected
|
|
860
|
-
[2026-10-10T14:20:57.947Z] [@thorprovider/adapters:FetchUtils] ERROR: Fetch failed after all retries {
|
|
861
|
-
url: [32m'https://medusa.example.com/store/thor/capabilities'[39m,
|
|
862
|
-
totalAttempts: [33m1[39m,
|
|
863
|
-
error: [32m'[MSW] Cannot bypass a request when using the "error" strategy for the "onUnhandledRequest" option.'[39m
|
|
864
|
-
}
|
|
865
|
-
|
|
866
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Payment session compatibility > rejects payment before a shipping method is selected
|
|
867
|
-
[2026-10-10T14:20:57.948Z] [@thorprovider/adapters:MedusaProvider] ERROR: Failed to initiate payment session {
|
|
868
|
-
cartId: [32m'cart_01'[39m,
|
|
869
|
-
providerId: [32m'pp_system_default'[39m,
|
|
870
|
-
errorMessage: [32m'Shipping method is required before initiating payment session'[39m,
|
|
871
|
-
errorStatus: [33m400[39m
|
|
872
|
-
}
|
|
873
|
-
|
|
874
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Shipping truthfulness > does not fabricate a zero amount or an "N/A" ETA
|
|
875
|
-
[MSW] Error: intercepted a request without a matching request handler:
|
|
876
|
-
|
|
877
|
-
• GET https://medusa.example.com/store/thor/capabilities
|
|
878
|
-
|
|
879
|
-
If you still wish to intercept this unhandled request, please create a request handler for it.
|
|
880
|
-
Read more: https://mswjs.io/docs/http/intercepting-requests
|
|
881
|
-
|
|
882
|
-
stderr | src/providers/medusa/index.test.ts > MedusaProvider — Shipping truthfulness > does not fabricate a zero amount or an "N/A" ETA
|
|
883
|
-
[2026-10-10T14:20:57.955Z] [@thorprovider/adapters:FetchUtils] ERROR: Fetch failed after all retries {
|
|
884
|
-
url: [32m'https://medusa.example.com/store/thor/capabilities'[39m,
|
|
885
|
-
totalAttempts: [33m1[39m,
|
|
886
|
-
error: [32m'[MSW] Cannot bypass a request when using the "error" strategy for the "onUnhandledRequest" option.'[39m
|
|
887
|
-
}
|
|
888
|
-
|
|
889
|
-
✓ src/providers/medusa/index.test.ts (35 tests) 4912ms
|
|
890
|
-
✓ MedusaProvider — Products > getProduct throws ProviderAPIError on 503 2148ms
|
|
891
|
-
✓ MedusaProvider — Error propagation > getProducts throws when backend returns 503 2148ms
|
|
892
|
-
|
|
893
|
-
Test Files 14 passed | 2 skipped (16)
|
|
894
|
-
Tests 164 passed | 4 skipped (168)
|
|
895
|
-
Start at 10:20:45
|
|
896
|
-
Duration 12.47s (transform 6.98s, setup 8.87s, collect 37.84s, tests 12.00s, environment 16ms, prepare 8.85s)
|
|
897
|
-
|