Bloomca / veles

UI library with main focus on performance
https://bloomca.github.io/veles/
MIT License
40 stars 0 forks source link

introduce initial tests #1

Closed Bloomca closed 1 month ago

Bloomca commented 1 month ago

Description

Initially I planned to go with Vitest, but after some research it seems the gains are pretty marginal compared to Jest, so no reason to bring another technology in that case.

This is a basic setup for proper JSDOM initialization; I anticipate most tests to be integration tests, as it is simply easier to mount everything without mocking anything. The overhead should be relatively simple even for pretty elaborate tests.