astro-github-stats/test/README.md
2022-09-24 16:16:24 +02:00

695 B

test directory

This folder contain tests for your component(s). This templates makes no assumption regarding your way of writting code. You can either write the code first and then the tests or the reverse (known as Test-Driven Development). Ultimately, what's important is that your code works and is tested to prove it!

Included in this template is astro-component-tester, a tool made to help you test the output of your component(s), check out its GitHub page for more info on how to use it

A commented example test (see example.test.js) is included in this folder to help you learn how to write a basic test for your project