fireproof-storage / fireproof

Realtime database, runs anywhere. Install Fireproof in your front-end app or edge function, and sync data via any backend.
https://fireproof.storage
Other
219 stars 16 forks source link

Local REST server for connect integration tests #84

Open jchris opened 5 months ago

jchris commented 5 months ago

We have the beginnings of a REST server here: https://github.com/fireproof-storage/fireproof/blob/main/packages/fireproof/scripts/server.js

It would be fairly easy to write a connector to use it, and then use all that to integration test the Connection class.

Happy to provide more detail on discord: https://discord.gg/DbSXGqvxFc

jchris commented 5 months ago

From the alpha https://github.com/fireproof-storage/fireproof-alpha/blob/39ac8ca83ce44f76189e64478a68882d6eacfaf8/packages/fireproof/test/dataset.test.js#L8