lens-vm / lens

Mozilla Public License 2.0
169 stars 5 forks source link

refactor: Use util func to init test runtime #55

Closed AndrewSisley closed 8 months ago

AndrewSisley commented 8 months ago

Resolves #54

Uses a new test util func to init test runtime instead of hardcoding it in each test individually.

This should make it quite easy to change the runtime used for tests in the future, either via env var, or simply by changing the hardcoded value.

Note: I'm not excluding Keenan from reviewing this, but I don't seem to be able to add his user atm - he has not yet accepted the collaboration invite.