| Child |
Name |
Tests |
Failures |
Skipped |
Duration |
Success rate |
| fromMap converts all participantIds to strings and filters nulls |
fromMap converts all participantIds to strings and filters nulls |
1 |
0 |
0 |
0s |
100% |
| fromMap defaults isClosed to false when missing |
fromMap defaults isClosed to false when missing |
1 |
0 |
0 |
0s |
100% |
| fromMap defaults new fields when missing |
fromMap defaults new fields when missing |
1 |
0 |
0 |
0s |
100% |
| fromMap filters non-string items from groupAdminIds |
fromMap filters non-string items from groupAdminIds |
1 |
0 |
0 |
0.001s |
100% |
| fromMap filters non-string items from groupModIds |
fromMap filters non-string items from groupModIds |
1 |
0 |
0 |
0s |
100% |
| fromMap handles empty map with defaults |
fromMap handles empty map with defaults |
1 |
0 |
0 |
0.008s |
100% |
| fromMap handles lastMessage null |
fromMap handles lastMessage null |
1 |
0 |
0 |
0.001s |
100% |
| fromMap of toMap round-trip for 1-on-1 |
fromMap of toMap round-trip for 1-on-1 |
1 |
0 |
0 |
0.011s |
100% |
| fromMap of toMap round-trip for group |
fromMap of toMap round-trip for group |
1 |
0 |
0 |
0.001s |
100% |
| fromMap of toMap round-trip for group with all new fields |
fromMap of toMap round-trip for group with all new fields |
1 |
0 |
0 |
0s |
100% |
| fromMap parses 1-on-1 conversation |
fromMap parses 1-on-1 conversation |
1 |
0 |
0 |
0.001s |
100% |
| fromMap parses group conversation |
fromMap parses group conversation |
1 |
0 |
0 |
0s |
100% |
| fromMap parses group with new fields |
fromMap parses group with new fields |
1 |
0 |
0 |
0s |
100% |
| fromMap parses isClosed true |
fromMap parses isClosed true |
1 |
0 |
0 |
0s |
100% |
| fromMap parses lastMessage sub-map |
fromMap parses lastMessage sub-map |
1 |
0 |
0 |
0s |
100% |
| generateId is symmetric |
generateId is symmetric |
1 |
0 |
0 |
0.014s |
100% |
| generateId sorts UIDs alphabetically |
generateId sorts UIDs alphabetically |
1 |
0 |
0 |
0.001s |
100% |
| GroupRole enum has exactly four values |
GroupRole enum has exactly four values |
1 |
0 |
0 |
0s |
100% |
| isAdmin checks groupAdminIds and createdBy |
isAdmin checks groupAdminIds and createdBy |
1 |
0 |
0 |
0s |
100% |
| isMod checks groupModIds |
isMod checks groupModIds |
1 |
0 |
0 |
0s |
100% |
| isModOrAbove returns true for mods admins and owner |
isModOrAbove returns true for mods admins and owner |
1 |
0 |
0 |
0s |
100% |
| isOneOnOne reflects isGroup |
isOneOnOne reflects isGroup |
1 |
0 |
0 |
0s |
100% |
| otherUserId returns first non-matching for non-participant |
otherUserId returns first non-matching for non-participant |
1 |
0 |
0 |
0s |
100% |
| otherUserId returns the other participant |
otherUserId returns the other participant |
1 |
0 |
0 |
0s |
100% |
| roleOf prioritises owner over admin |
roleOf prioritises owner over admin |
1 |
0 |
0 |
0.002s |
100% |
| roleOf returns correct role for each participant type |
roleOf returns correct role for each participant type |
1 |
0 |
0 |
0s |
100% |
| toMap includes group fields only for group conversations |
toMap includes group fields only for group conversations |
1 |
0 |
0 |
0s |
100% |
| toMap includes isClosed |
toMap includes isClosed |
1 |
0 |
0 |
0.001s |
100% |
| toMap includes new group fields for group conversations |
toMap includes new group fields for group conversations |
1 |
0 |
0 |
0s |
100% |
| toMap omits group fields for 1-on-1 conversations |
toMap omits group fields for 1-on-1 conversations |
1 |
0 |
0 |
0s |
100% |
| toMap omits new group fields for 1-on-1 |
toMap omits new group fields for 1-on-1 |
1 |
0 |
0 |
0s |
100% |