hitontology / gui

Erneuerung der Benutzungsoberflächen von HITO
https://hitontology.github.io/gui/
MIT License
0 stars 0 forks source link

add unit tests for hashing #36

Closed KonradHoeffner closed 7 months ago

KonradHoeffner commented 7 months ago

For #33.

KonradHoeffner commented 7 months ago

According to https://2022.stateofjs.com/en-US/libraries/testing/ and a quick search, vitest seems to be the best testing framework for us.

KonradHoeffner commented 7 months ago

Ugh, vitest doesn't support our module loading strategy of importing ES6 modules from CDN URLs, trying the workaround described in https://github.com/vitest-dev/vitest/issues/4949.

KonradHoeffner commented 7 months ago

Workaround works, test is in.