mirror of
https://github.com/nbd-wtf/nostr-tools.git
synced 2025-12-12 01:58:51 +00:00
fix validateEvent() signature.
This commit is contained in:
@@ -122,9 +122,7 @@ describe('Event', () => {
|
||||
|
||||
test('should return false for a non object event', () => {
|
||||
const nonObjectEvent = ''
|
||||
|
||||
const isValid = validateEvent(nonObjectEvent)
|
||||
|
||||
expect(isValid).toEqual(false)
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user