diff options
| author | Filip Wandzio <contact@philw.dev> | 2025-11-02 01:44:05 +0100 |
|---|---|---|
| committer | Filip Wandzio <contact@philw.dev> | 2025-11-02 01:44:05 +0100 |
| commit | ba940047eb099fc18315d4cafd55300995a76894 (patch) | |
| tree | db4ae932ba798f0f15d3648d9950c05c6eae5b7e /src/test/App.test.ts | |
| parent | d1fec5cf2df51c5260bbe877672a55d86de68b0d (diff) | |
| download | philw.dev-ba940047eb099fc18315d4cafd55300995a76894.tar.gz philw.dev-ba940047eb099fc18315d4cafd55300995a76894.zip | |
Implement unit testing with vitest
Signed-off-by: Filip Wandzio <contact@philw.dev>
Diffstat (limited to 'src/test/App.test.ts')
| -rw-r--r-- | src/test/App.test.ts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/App.test.ts b/src/test/App.test.ts new file mode 100644 index 0000000..64fae7d --- /dev/null +++ b/src/test/App.test.ts | |||
| @@ -0,0 +1,8 @@ | |||
| 1 | import { render } from '@testing-library/svelte'; | ||
| 2 | import App from '../App.svelte'; | ||
| 3 | |||
| 4 | describe('App component', () => { | ||
| 5 | test('it renders the App component', () => { | ||
| 6 | render(App); | ||
| 7 | }); | ||
| 8 | }); | ||
