1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-31 13:44:28 +03:00

Apply prettier formatting

This commit is contained in:
Michael Weimann
2022-12-12 12:24:14 +01:00
parent 1cac306093
commit 526645c791
1576 changed files with 65385 additions and 62478 deletions

View File

@ -38,7 +38,7 @@ class MockAutoComplete {
}
tryComplete(close = true) {
const matches = this._completions.filter(o => {
const matches = this._completions.filter((o) => {
return o.resourceId.startsWith(this._part.text);
});
if (matches.length === 1 && this._part.text.length > 1) {
@ -62,7 +62,9 @@ class MockAutoComplete {
// MockClient & MockRoom are only used for avatars in room and user pills,
// which is not tested
class MockRoom {
getMember() { return null; }
getMember() {
return null;
}
}
export function createPartCreator(completions = []) {