@remit/web-client 0.0.26 → 0.0.28
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remit/web-client",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.28",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Remit web client, published as composable primitives — the app shell, auth shells, and runtime config. A distributor imports what it composes and bundles it.",
|
|
6
6
|
"exports": {
|
|
@@ -225,12 +225,13 @@ describe("quarantine reports", () => {
|
|
|
225
225
|
// that fails to parse, so a long report is the common case, not the tail.
|
|
226
226
|
const entry: QuarantineEntry = {
|
|
227
227
|
...quarantineDemoEntries[0],
|
|
228
|
-
structure:
|
|
229
|
-
contentType: "multipart/mixed",
|
|
230
|
-
|
|
228
|
+
structure: [
|
|
229
|
+
{ depth: 0, contentType: "multipart/mixed" },
|
|
230
|
+
...Array.from({ length: 200 }, () => ({
|
|
231
|
+
depth: 1,
|
|
231
232
|
contentType: "application/octet-stream",
|
|
232
233
|
})),
|
|
233
|
-
|
|
234
|
+
],
|
|
234
235
|
};
|
|
235
236
|
|
|
236
237
|
const ctx = (over?: Partial<BugReportContext>): BugReportContext => ({
|
|
@@ -249,7 +250,7 @@ describe("quarantine reports", () => {
|
|
|
249
250
|
ctx({ quarantine: quarantineReportSections(quarantineDemoEntries[0]) }),
|
|
250
251
|
),
|
|
251
252
|
);
|
|
252
|
-
assert.ok(decoded.includes("
|
|
253
|
+
assert.ok(decoded.includes("UnreadableBody"));
|
|
253
254
|
assert.ok(decoded.includes("Message quarantined:"));
|
|
254
255
|
});
|
|
255
256
|
|