Use updated meshcore-decoder library with TRACE patch and fixup frontend routing display on packet list

This commit is contained in:
Jack Kingsman
2026-03-09 12:45:51 -07:00
parent 463a0c9084
commit 5bfd9f4af2
5 changed files with 55 additions and 12 deletions
+27
View File
@@ -0,0 +1,27 @@
import { render, screen } from '@testing-library/react';
import { describe, expect, it } from 'vitest';
import { RawPacketList } from '../components/RawPacketList';
import type { RawPacket } from '../types';
function createPacket(overrides: Partial<RawPacket> = {}): RawPacket {
return {
id: 1,
timestamp: 1700000000,
data: '000000000000',
payload_type: 'REQ',
snr: null,
rssi: null,
decrypted: false,
decrypted_info: null,
...overrides,
};
}
describe('RawPacketList', () => {
it('renders TF badge for transport-flood packets', () => {
render(<RawPacketList packets={[createPacket()]} />);
expect(screen.getByText('TF')).toBeInTheDocument();
});
});