Kristian Heitkamp

Results 4 comments of Kristian Heitkamp

Hi Malte, I've created a unit test for the Button component. If you would give me the proper rights, I could push it into a new branch called issue13_add_unit_tests

I used the following tutorial: https://testing-library.com/docs/svelte-testing-library/intro I had to add the following packages to the package.json to make the tutorial work: "@testing-library/jest-dom": "^5.16.1", "@testing-library/svelte": "^3.0.3", I also needed to add...

I've created a new fork and added the changes there in the main branch.

For better unit testing I would recommend to break the quiz.ts file into a module which imports all the classes currently included in the quiz.ts file. Like with java, where...