@fluidframework/test-runtime-utils 2.74.0 → 2.81.0-374083
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/CHANGELOG.md +12 -0
- package/api-report/test-runtime-utils.legacy.beta.api.md +3 -3
- package/dist/assertionShortCodesMap.d.ts +27 -6
- package/dist/assertionShortCodesMap.d.ts.map +1 -1
- package/dist/assertionShortCodesMap.js +28 -7
- package/dist/assertionShortCodesMap.js.map +1 -1
- package/dist/generateToken.d.ts.map +1 -1
- package/dist/generateToken.js +1 -0
- package/dist/generateToken.js.map +1 -1
- package/dist/mocks.d.ts +3 -2
- package/dist/mocks.d.ts.map +1 -1
- package/dist/mocks.js +2 -1
- package/dist/mocks.js.map +1 -1
- package/dist/validateAssertionError.d.ts.map +1 -1
- package/dist/validateAssertionError.js +4 -4
- package/dist/validateAssertionError.js.map +1 -1
- package/eslint.config.mts +4 -4
- package/lib/assertionShortCodesMap.d.ts +27 -6
- package/lib/assertionShortCodesMap.d.ts.map +1 -1
- package/lib/assertionShortCodesMap.js +28 -7
- package/lib/assertionShortCodesMap.js.map +1 -1
- package/lib/generateToken.d.ts.map +1 -1
- package/lib/generateToken.js +1 -0
- package/lib/generateToken.js.map +1 -1
- package/lib/mocks.d.ts +3 -2
- package/lib/mocks.d.ts.map +1 -1
- package/lib/mocks.js +2 -1
- package/lib/mocks.js.map +1 -1
- package/lib/validateAssertionError.d.ts.map +1 -1
- package/lib/validateAssertionError.js +1 -1
- package/lib/validateAssertionError.js.map +1 -1
- package/package.json +24 -24
- package/src/assertionShortCodesMap.ts +28 -7
- package/src/generateToken.ts +1 -0
- package/src/mocks.ts +8 -3
- package/src/validateAssertionError.ts +2 -1
- package/.eslintrc.cjs +0 -32
|
@@ -736,6 +736,7 @@ export declare const shortCodeMap: {
|
|
|
736
736
|
"0x583": string;
|
|
737
737
|
"0x584": string;
|
|
738
738
|
"0x585": string;
|
|
739
|
+
"0x587": string;
|
|
739
740
|
"0x58a": string;
|
|
740
741
|
"0x58b": string;
|
|
741
742
|
"0x58c": string;
|
|
@@ -1006,7 +1007,6 @@ export declare const shortCodeMap: {
|
|
|
1006
1007
|
"0x7a2": string;
|
|
1007
1008
|
"0x7a5": string;
|
|
1008
1009
|
"0x7a8": string;
|
|
1009
|
-
"0x7a9": string;
|
|
1010
1010
|
"0x7aa": string;
|
|
1011
1011
|
"0x7af": string;
|
|
1012
1012
|
"0x7b6": string;
|
|
@@ -1284,14 +1284,10 @@ export declare const shortCodeMap: {
|
|
|
1284
1284
|
"0x9aa": string;
|
|
1285
1285
|
"0x9ab": string;
|
|
1286
1286
|
"0x9ad": string;
|
|
1287
|
-
"0x9af": string;
|
|
1288
|
-
"0x9b0": string;
|
|
1289
1287
|
"0x9b1": string;
|
|
1290
1288
|
"0x9b4": string;
|
|
1291
1289
|
"0x9b5": string;
|
|
1292
1290
|
"0x9b6": string;
|
|
1293
|
-
"0x9b8": string;
|
|
1294
|
-
"0x9b9": string;
|
|
1295
1291
|
"0x9ba": string;
|
|
1296
1292
|
"0x9bb": string;
|
|
1297
1293
|
"0x9bc": string;
|
|
@@ -1377,6 +1373,8 @@ export declare const shortCodeMap: {
|
|
|
1377
1373
|
"0xa33": string;
|
|
1378
1374
|
"0xa34": string;
|
|
1379
1375
|
"0xa35": string;
|
|
1376
|
+
"0xa3a": string;
|
|
1377
|
+
"0xa3c": string;
|
|
1380
1378
|
"0xa3d": string;
|
|
1381
1379
|
"0xa3e": string;
|
|
1382
1380
|
"0xa3f": string;
|
|
@@ -1399,6 +1397,8 @@ export declare const shortCodeMap: {
|
|
|
1399
1397
|
"0xa54": string;
|
|
1400
1398
|
"0xa55": string;
|
|
1401
1399
|
"0xa57": string;
|
|
1400
|
+
"0xa59": string;
|
|
1401
|
+
"0xa5a": string;
|
|
1402
1402
|
"0xa5b": string;
|
|
1403
1403
|
"0xa5c": string;
|
|
1404
1404
|
"0xa5d": string;
|
|
@@ -1437,7 +1437,6 @@ export declare const shortCodeMap: {
|
|
|
1437
1437
|
"0xa94": string;
|
|
1438
1438
|
"0xa95": string;
|
|
1439
1439
|
"0xa97": string;
|
|
1440
|
-
"0xa98": string;
|
|
1441
1440
|
"0xa99": string;
|
|
1442
1441
|
"0xa9a": string;
|
|
1443
1442
|
"0xa9b": string;
|
|
@@ -1456,6 +1455,7 @@ export declare const shortCodeMap: {
|
|
|
1456
1455
|
"0xaaa": string;
|
|
1457
1456
|
"0xaab": string;
|
|
1458
1457
|
"0xaac": string;
|
|
1458
|
+
"0xaad": string;
|
|
1459
1459
|
"0xaae": string;
|
|
1460
1460
|
"0xaaf": string;
|
|
1461
1461
|
"0xab1": string;
|
|
@@ -1893,5 +1893,26 @@ export declare const shortCodeMap: {
|
|
|
1893
1893
|
"0xca9": string;
|
|
1894
1894
|
"0xcaa": string;
|
|
1895
1895
|
"0xcab": string;
|
|
1896
|
+
"0xcac": string;
|
|
1897
|
+
"0xcad": string;
|
|
1898
|
+
"0xcae": string;
|
|
1899
|
+
"0xcaf": string;
|
|
1900
|
+
"0xcb0": string;
|
|
1901
|
+
"0xcb1": string;
|
|
1902
|
+
"0xcb2": string;
|
|
1903
|
+
"0xcb3": string;
|
|
1904
|
+
"0xcb4": string;
|
|
1905
|
+
"0xcb5": string;
|
|
1906
|
+
"0xcb6": string;
|
|
1907
|
+
"0xcb7": string;
|
|
1908
|
+
"0xcb8": string;
|
|
1909
|
+
"0xcb9": string;
|
|
1910
|
+
"0xcba": string;
|
|
1911
|
+
"0xcbb": string;
|
|
1912
|
+
"0xcbc": string;
|
|
1913
|
+
"0xcbd": string;
|
|
1914
|
+
"0xcbe": string;
|
|
1915
|
+
"0xcbf": string;
|
|
1916
|
+
"0xcc0": string;
|
|
1896
1917
|
};
|
|
1897
1918
|
//# sourceMappingURL=assertionShortCodesMap.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assertionShortCodesMap.d.ts","sourceRoot":"","sources":["../src/assertionShortCodesMap.ts"],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;;;;;;;;;;;;;;;;;;CAs3DxB,CAAC"}
|
|
@@ -737,6 +737,7 @@ export const shortCodeMap = {
|
|
|
737
737
|
"0x583": "unexpected field length",
|
|
738
738
|
"0x584": "response should contain epoch",
|
|
739
739
|
"0x585": "prefetched snapshot should have a valid epoch",
|
|
740
|
+
"0x587": "Unreachable unless manually accumulating a batch",
|
|
740
741
|
"0x58a": "Batch must have a reference sequence number if non-empty",
|
|
741
742
|
"0x58b": "Content offset within bounds",
|
|
742
743
|
"0x58c": "Content offset equal or larger than content length",
|
|
@@ -1007,7 +1008,6 @@ export const shortCodeMap = {
|
|
|
1007
1008
|
"0x7a2": "Must be in a field in order to attach",
|
|
1008
1009
|
"0x7a5": "Must be in a field in order to detach",
|
|
1009
1010
|
"0x7a8": "should be in fields",
|
|
1010
|
-
"0x7a9": "Collision during index update",
|
|
1011
1011
|
"0x7aa": "Unknown removed node ID",
|
|
1012
1012
|
"0x7af": "Destination must be a new empty detached field",
|
|
1013
1013
|
"0x7b6": "Attach source field must be different from current field",
|
|
@@ -1285,14 +1285,10 @@ export const shortCodeMap = {
|
|
|
1285
1285
|
"0x9aa": "identifier must be type string",
|
|
1286
1286
|
"0x9ab": "childId is undefined in unpackChildNodesUsedRoutes",
|
|
1287
1287
|
"0x9ad": "previous ordinal should not be empty",
|
|
1288
|
-
"0x9af": "A view cannot be rebased while it has a pending transaction",
|
|
1289
|
-
"0x9b0": "Views cannot be merged into a view while it has a pending transaction",
|
|
1290
1288
|
"0x9b1": "Expected tree node to have kernel",
|
|
1291
1289
|
"0x9b4": "Unexpected flex node implementation",
|
|
1292
1290
|
"0x9b5": "Inheritance should work",
|
|
1293
1291
|
"0x9b6": "No error to clear",
|
|
1294
|
-
"0x9b8": "Inconsistent data: missing detached node entry",
|
|
1295
|
-
"0x9b9": "Inconsistent data: missing node entry in latestRelevantRevision",
|
|
1296
1292
|
"0x9ba": "Unable to delete unknown entry",
|
|
1297
1293
|
"0x9bb": "Unable to delete unknown entry",
|
|
1298
1294
|
"0x9bc": "detached node id does not exist in the detached field index",
|
|
@@ -1378,6 +1374,8 @@ export const shortCodeMap = {
|
|
|
1378
1374
|
"0xa33": "clientId (from stateHandler) could only be undefined if we've never connected, but we have a CSN so we know that's not the case",
|
|
1379
1375
|
"0xa34": "Should have found the batchId in batchIdBySeqNum map",
|
|
1380
1376
|
"0xa35": "batchIdsAll and batchIdsBySeqNum should be in sync",
|
|
1377
|
+
"0xa3a": "Presence received signal without clientId",
|
|
1378
|
+
"0xa3c": "Already have entry for key in map",
|
|
1381
1379
|
"0xa3d": "Partial batch should have exactly one message",
|
|
1382
1380
|
"0xa3e": "Empty batch is always considered a full batch",
|
|
1383
1381
|
"0xa3f": "segments cannot be undefined",
|
|
@@ -1400,6 +1398,8 @@ export const shortCodeMap = {
|
|
|
1400
1398
|
"0xa54": "out of schema: unexpected value",
|
|
1401
1399
|
"0xa55": "missing simple tree context",
|
|
1402
1400
|
"0xa57": "Expected EagerMapTree required field to have a value",
|
|
1401
|
+
"0xa59": "Client connected without clientId",
|
|
1402
|
+
"0xa5a": "Mismatched SessionId",
|
|
1403
1403
|
"0xa5b": "must have exactly 1 field in batch",
|
|
1404
1404
|
"0xa5c": "Unexpected view implementation",
|
|
1405
1405
|
"0xa5d": "Shared branches cannot be rebased onto another branch.",
|
|
@@ -1438,7 +1438,6 @@ export const shortCodeMap = {
|
|
|
1438
1438
|
"0xa94": "invalid forbidden field",
|
|
1439
1439
|
"0xa95": "Invalid map schema",
|
|
1440
1440
|
"0xa97": "Not in transaction",
|
|
1441
|
-
"0xa98": "Expected transaction branch",
|
|
1442
1441
|
"0xa99": "must have a parent",
|
|
1443
1442
|
"0xa9a": "must have a parent",
|
|
1444
1443
|
"0xa9b": "attach should happen in a node",
|
|
@@ -1457,6 +1456,7 @@ export const shortCodeMap = {
|
|
|
1457
1456
|
"0xaaa": "All local changes should be applied to the trunk before loading from summary",
|
|
1458
1457
|
"0xaab": "must be segment leaf",
|
|
1459
1458
|
"0xaac": "must have removedClient ids",
|
|
1459
|
+
"0xaad": "Local client should be 'Disconnected' before adding new connection.",
|
|
1460
1460
|
"0xaae": "Maps should have the same behavior",
|
|
1461
1461
|
"0xaaf": "Unexpected undefined code point",
|
|
1462
1462
|
"0xab1": "Debug asserts cannot be configured since they have been optimized out.",
|
|
@@ -1893,6 +1893,27 @@ export const shortCodeMap = {
|
|
|
1893
1893
|
"0xca8": "missing schema",
|
|
1894
1894
|
"0xca9": "missing schema",
|
|
1895
1895
|
"0xcaa": "Reachable schema missing from input TreeSchema",
|
|
1896
|
-
"0xcab": "missing kind"
|
|
1896
|
+
"0xcab": "missing kind",
|
|
1897
|
+
"0xcac": "Unexpected branch implementation",
|
|
1898
|
+
"0xcad": "Unexpected branch implementation",
|
|
1899
|
+
"0xcae": "The outer transaction should be ending",
|
|
1900
|
+
"0xcaf": "Unexpected commit in transaction",
|
|
1901
|
+
"0xcb0": "must initializeData first",
|
|
1902
|
+
"0xcb1": "Presence is only expected to be accessed with a single version.",
|
|
1903
|
+
"0xcb2": "Presence is only expected to be accessed with a single version.",
|
|
1904
|
+
"0xcb3": "Node cannot be raw.",
|
|
1905
|
+
"0xcb4": "Unexpected node kind",
|
|
1906
|
+
"0xcb5": "Node cannot be raw.",
|
|
1907
|
+
"0xcb6": "Expected node to be on new fork.",
|
|
1908
|
+
"0xcb7": "Unexpected node schema",
|
|
1909
|
+
"0xcb8": "No config map entry for version",
|
|
1910
|
+
"0xcb9": "Invalid package version",
|
|
1911
|
+
"0xcba": "Self is not in audience and no alternateProvider given",
|
|
1912
|
+
"0xcbb": "Client connection update missing",
|
|
1913
|
+
"0xcbc": "Unrecognized message type in critical message",
|
|
1914
|
+
"0xcbd": "Received signal without clientId",
|
|
1915
|
+
"0xcbe": "Acknowledgment message was requested while targeted signal capability is not supported",
|
|
1916
|
+
"0xcbf": "Received signal without clientId",
|
|
1917
|
+
"0xcc0": "Local client must be in audience for presence to handle added connection."
|
|
1897
1918
|
};
|
|
1898
1919
|
//# sourceMappingURL=assertionShortCodesMap.js.map
|