mirror of
https://github.com/jkingsman/Remote-Terminal-for-MeshCore.git
synced 2026-07-06 18:01:22 +02:00
Cull a bunch of unused functions
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { test, expect } from '@playwright/test';
|
||||
import { syncContacts, getContacts, type Contact } from '../helpers/api';
|
||||
import { getContacts, type Contact } from '../helpers/api';
|
||||
|
||||
/** Escape special regex characters in a string. */
|
||||
function escapeRegex(s: string): string {
|
||||
@@ -12,10 +12,6 @@ function findChatContact(contacts: Contact[]): Contact | undefined {
|
||||
}
|
||||
|
||||
test.describe('Contacts sidebar & info pane', () => {
|
||||
test.beforeAll(async () => {
|
||||
await syncContacts();
|
||||
});
|
||||
|
||||
test('contacts appear in sidebar and clicking opens conversation', async ({ page }) => {
|
||||
const contacts = await getContacts();
|
||||
const named = findChatContact(contacts);
|
||||
|
||||
Reference in New Issue
Block a user