mirror of
https://github.com/nbd-wtf/nostr-tools.git
synced 2025-12-09 00:28:51 +00:00
Refactor imports: use file extension, improve tree shaking, update tests
This commit is contained in:
11
pool.test.ts
11
pool.test.ts
@@ -1,11 +1,8 @@
|
||||
import 'websocket-polyfill'
|
||||
import {
|
||||
SimplePool,
|
||||
generatePrivateKey,
|
||||
getPublicKey,
|
||||
finishEvent,
|
||||
type Event,
|
||||
} from '.'
|
||||
|
||||
import {finishEvent, type Event} from './event.ts'
|
||||
import {generatePrivateKey, getPublicKey} from './keys.ts'
|
||||
import {SimplePool} from './pool.ts'
|
||||
|
||||
let pool = new SimplePool()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user