Commit Graph

10 Commits

Author SHA1 Message Date
Asai Toshiya 659ad36b62 nip05: use stub to test queryProfile(). 2024-10-31 07:51:53 -03:00
fiatjaf 013daae91b nip05: fix test. 2024-10-23 17:09:56 -03:00
António Conselheiro ee76d69b4b
including nostr specialized types (#409)
* including nostr types

* including tests for nostr type guard

* fix tests for nostr type guard

* fix linter and add eslint and prettier to devcontainer

* including null in nostr type guard signature

* fix type, ops

* including ncryptsec in nostr type guard

* fix linter for ncryptsec

* including ncryptsec return type for nip49

* fixing names of nostr types and types guards

* fixing names of nostr types and types guards in unit tests descriptions

* fix prettier

* including type guard for nip5
2024-09-09 14:16:23 -03:00
fiatjaf 3d541e537e
move to bun and bun:test and remove jest. 2023-12-16 14:53:32 -03:00
fiatjaf 19b3faea17
fix nip05 test. 2023-12-16 08:51:33 -03:00
Alex Gleason 718032022c
just format 2023-08-31 13:42:15 -05:00
Alex Gleason bb3e41bb89
Also remove failing nip05 test due to server down (this should be mocked) 2023-07-13 10:57:30 -05:00
Alex Gleason 08885ab8da Refactor imports: use file extension, improve tree shaking, update tests 2023-05-12 17:03:41 -03:00
Alex Gleason 18e8227123 Convert all tests to TypeScript 2023-05-10 21:20:27 -03:00
Alex Gleason 64caef9cda Convert nip05 test to typescript 2023-05-10 21:20:27 -03:00