posit-dev / publisher

MIT License
5 stars 1 forks source link

Add start of Vitest infrastructure for Home webview #2048

Closed dotNomad closed 3 months ago

dotNomad commented 3 months ago

This PR adds the beginnings of test infrastructure, in Vitest, for our Vue Home webview view

Type of Change

Approach

The approach here was to identify some utilities that didn't require much work at all to begin testing, and grab a core piece of code - in this case the HostConduitService and get some more complicated tests in place.

This sets up how we can use the Home store, the HostConduitService, and sending some messages (using Mocks where needed)

jonkeane commented 3 months ago

Totally unrelated to the code but is this /vi:.tεst/ or /vit.εst/ (testing vi or the most vit?)

dotNomad commented 3 months ago

Totally unrelated to the code but is this /vi:.tεst/ or /vit.εst/

I've heard and have been saying it as /vi:.tεst/ - Vee Test. Unfortunately their getting started doesn't have a pronunciation clip right at the start 😆