From 58d222ab3bc7000566d1e4c3cb8f9855a37cf2e9 Mon Sep 17 00:00:00 2001 From: Jeremy Thomas Date: Wed, 23 Oct 2019 11:45:39 -0700 Subject: [PATCH] add docs for filtering tests and viewing samples --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 27f4b3d..e24be6d 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,22 @@ npm run serve npm run test ``` +## Viewing Individual Samples Used For Tests + +Once the server has been started, you can view each component's sample that is used within the test suite by appending the name of the sample to the served url. + +``` +http://localhost:8080/ +``` + +## Filtering Tests + +### Filtering by Component + +```bash +npm test -- +``` + ## Adding Tests This project works a bit differently than a regular test suite for now. We have Jest installed more as a test runner, but we don't really use assertions for now. We use it more to gather and report numbers.