hypercore-protocol / hypercore-next

Hypercore 10 is an append only log with multi-writer primitives built in.
MIT License
150 stars 15 forks source link

Use inverted flow for testing multiple `core.close()` calls #41

Closed kasperisager closed 2 years ago

kasperisager commented 2 years ago

This makes it a little more obvious that the test is testing the order of the close event and core.close() promise resolutions.