Closed AnthonyMed13 closed 2 months ago
Hello! Could you explain how to run these tests and what we should be looking out for?
Hello! Could you explain how to run these tests and what we should be looking out for?
I set it up to be able to run when you run "npm run test-jest" if it were to fail it would output the rendered page. If it doesnt fail it just says passed like this:
I was able to see the minigame tests pass, but had some issues with others. But that probably is because my loptop doesnt take nicely the firefox popups.
Implemented a property based test for the minigame component. This includes test to ensure that the number of questions given is inline with what we expected, generating values that are outside of our expected values and ensuring that even if other inputs are given the test can still detect them. This uses mocks of the expected data to function.