fix prettier checks on nip77 related *ts files

This commit is contained in:
max-gy
2025-11-10 13:29:55 +01:00
committed by fiatjaf_
parent e19db61bec
commit f5d0c0eb0f
2 changed files with 20 additions and 7 deletions

View File

@@ -28,10 +28,7 @@ function extractJSON(message: string) {
describe('nip77 negentropy message helpers', () => {
it('sendNegentropyMessage should send NEG-MSG with generated subscription id and filters flattened', () => {
const relay = new MockRelay()
const filters: Filter[] = [
{ kinds: [1], authors: ['abc'] },
{ ids: ['deadbeef'] },
]
const filters: Filter[] = [{ kinds: [1], authors: ['abc'] }, { ids: ['deadbeef'] }]
sendNegentropyMessage(relay as any, 'hello', filters)
expect(relay.sent.length).toBe(1)