pulsar-edit / package-backend

Pulsar Server Backend for Packages
https://api.pulsar-edit.dev
MIT License
11 stars 11 forks source link

Implement true integration tests - Find & Resolve bugs discovered due to it #238

Closed confused-Techie closed 5 months ago

confused-Techie commented 5 months ago

Requirements

Description of the Change

Originally this PR aimed to implement nock to achieve true 100% integration tests. By simple mocking the external endpoints we had to hit, setting up a database, and hitting our own backend to see what it would do.

A valiant goal in and of itself, but in doing so, I was able to go ahead and resolve one known bug, another unknown bug, as well as improve the user experience considerably.

Fixes #236