mirror of
https://github.com/Cameri/nostream.git
synced 2025-09-20 04:20:52 +02:00
test: add unit test for factories
This commit is contained in:
@@ -21,7 +21,7 @@ describe('NIP-01', () => {
|
||||
const event: Partial<Event> = {
|
||||
pubkey: 'pubkey',
|
||||
created_at: 1000,
|
||||
kind: EventKinds.TEXT_NODE,
|
||||
kind: EventKinds.TEXT_NOTE,
|
||||
tags: [['tag name', 'tag content']],
|
||||
content: 'content',
|
||||
}
|
||||
@@ -30,7 +30,7 @@ describe('NIP-01', () => {
|
||||
0,
|
||||
'pubkey',
|
||||
1000,
|
||||
EventKinds.TEXT_NODE,
|
||||
EventKinds.TEXT_NOTE,
|
||||
[['tag name', 'tag content']],
|
||||
'content',
|
||||
]
|
||||
|
Reference in New Issue
Block a user