WebTemplateStudio icon indicating copy to clipboard operation
WebTemplateStudio copied to clipboard

Add more unit tests for client

Open sibille opened this issue 5 years ago • 4 comments

Would be nice if we can increase the code coverage with some useful tests.

And more taking into account that most of them are commented out. See issue #1709

sibille avatar May 16 '19 08:05 sibille

@jsondoo is this one done?

jcoc611-microsoft avatar Jun 17 '19 20:06 jcoc611-microsoft

For this one, the testing environment and the build pipeline has been set. However, only 1 actual test has been written.

streetcoder123 avatar Aug 09 '19 20:08 streetcoder123

@sibille can this be closed?

jsondoo avatar Aug 09 '19 20:08 jsondoo

Currently there are two unit tests, one for App.tsx and one for Card.tsx. We added a new command to package.json test: react-scripts test --coverage which uses the react-scripts Jest testing framework. This command is also run in our build pipeline

jsondoo avatar Aug 09 '19 20:08 jsondoo