nostr-tools
nostr-tools copied to clipboard
fix: failing tests
Context
- When
NostrTypeGuard
was moved fromcore.ts
tonip19.ts
in the following commit 45b25c5bf528331ff42cc964259a78a47589c7a8 the tests were left behind incore.test.ts
- The test in
core.test.ts
was still trying to importNostrTypeGuard
fromcore.ts
and threw this error when running tests
Changes
- Moved the tests to
nip19.test.ts
- Grouped them inside a
describe
block forNostrTypeGuard