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:
@@ -1,4 +1,4 @@
|
||||
import {generatePrivateKey, getPublicKey} from '.'
|
||||
import {generatePrivateKey, getPublicKey} from './keys.ts'
|
||||
|
||||
test('private key generation', () => {
|
||||
expect(generatePrivateKey()).toMatch(/[a-f0-9]{64}/)
|
||||
|
||||
Reference in New Issue
Block a user