better publishing built files.

This commit is contained in:
fiatjaf
2022-12-20 16:43:15 -03:00
parent 6dede4a688
commit b96159ad36
11 changed files with 35 additions and 24 deletions

View File

@@ -1,6 +1,6 @@
/* eslint-env jest */
const {generatePrivateKey, getPublicKey} = require('./cjs')
const {generatePrivateKey, getPublicKey} = require('./lib/nostr.cjs')
test('test private key generation', () => {
expect(generatePrivateKey()).toMatch(/[a-f0-9]{64}/)