mirror of
https://github.com/jkingsman/Remote-Terminal-for-MeshCore.git
synced 2026-07-05 17:32:10 +02:00
Contact info pane
This commit is contained in:
@@ -272,6 +272,7 @@ describe('App startup hash resolution', () => {
|
||||
on_radio: false,
|
||||
last_contacted: null,
|
||||
last_read_at: null,
|
||||
first_seen: null,
|
||||
};
|
||||
|
||||
window.location.hash = '';
|
||||
|
||||
@@ -282,6 +282,7 @@ function makeContact(overrides: Partial<Contact> = {}): Contact {
|
||||
on_radio: true,
|
||||
last_contacted: null,
|
||||
last_read_at: null,
|
||||
first_seen: null,
|
||||
...overrides,
|
||||
};
|
||||
}
|
||||
|
||||
@@ -26,6 +26,7 @@ function createContact(overrides: Partial<Contact> = {}): Contact {
|
||||
on_radio: false,
|
||||
last_contacted: null,
|
||||
last_read_at: null,
|
||||
first_seen: null,
|
||||
...overrides,
|
||||
};
|
||||
}
|
||||
|
||||
@@ -30,6 +30,7 @@ function makeContact(public_key: string, name: string, type = 1): Contact {
|
||||
on_radio: false,
|
||||
last_contacted: null,
|
||||
last_read_at: null,
|
||||
first_seen: null,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -203,6 +203,7 @@ describe('resolveContactFromHashToken', () => {
|
||||
on_radio: false,
|
||||
last_contacted: null,
|
||||
last_read_at: null,
|
||||
first_seen: null,
|
||||
},
|
||||
{
|
||||
public_key: 'def456abc1237890def456abc1237890def456abc1237890def456abc1237890',
|
||||
@@ -218,6 +219,7 @@ describe('resolveContactFromHashToken', () => {
|
||||
on_radio: false,
|
||||
last_contacted: null,
|
||||
last_read_at: null,
|
||||
first_seen: null,
|
||||
},
|
||||
{
|
||||
public_key: 'eeeeee111111222222333333444444555555666666777777888888999999aaaa',
|
||||
@@ -233,6 +235,7 @@ describe('resolveContactFromHashToken', () => {
|
||||
on_radio: false,
|
||||
last_contacted: null,
|
||||
last_read_at: null,
|
||||
first_seen: null,
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user