opencaesar / oml-vision

A VS Code extension providing UI viewpoints for OML models
Other
4 stars 2 forks source link

Create unit tests for controller directory #75

Open pogi7 opened 4 months ago

pogi7 commented 4 months ago

Checklist before submitting a feature request

Is your feature request related to a problem? If yes, describe the problem

I am annoyed that there are limited unit tests for the code in the controller directory.

Describe the desired feature

I want there to be a unit test for every exported function in the controller directory. This will allow for high code quality as these tests can be used to verify that the function behaves as expected while under test.

Additional context

Currently the test suite uses jest as their testing engine. Use this test suite for the controller code https://jestjs.io