Skip to content

Optimize unit tests: nip05.spec.ts & nip03.spec.ts (network) #610

@phoenix-server

Description

@phoenix-server

Both nip05.spec.ts (42 tests) and nip03.spec.ts (34 tests) perform HTTP/network operations:

  • Network calls even when mocked
  • Promise/async overhead
  • Timeout handling

These 76 combined tests are slow due to network I/O. Goal: Reduce execution time by at least 25% through improved mocking and test consolidation.

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions