Skip to content

Commit 5f7b1b8

Browse files
authored
Merge pull request #19 from nicholasdly/tests
Added tests via Vitest
2 parents 24bee02 + 8585898 commit 5f7b1b8

File tree

9 files changed

+677
-13
lines changed

9 files changed

+677
-13
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,6 @@ jobs:
2626

2727
- name: Formatting
2828
run: npm run format:check
29+
30+
- name: Tests
31+
run: npm run test

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
- Vite + TypeScript + SWC
88
- Tailwind CSS + shadcn/ui
99
- IndexedDB + Dexie.js
10-
- Prettier + ESLint
10+
- ESLint + Prettier
11+
- Vitest
1112

1213
## Getting Started
1314

@@ -17,11 +18,12 @@ There aren't many _mandatory_ prerequisites other than **npm**.
1718
2. Download dependencies via `npm i`.
1819
3. Start a local development server via `npm run dev`.
1920

20-
Before making a contribution, be sure to run the typechecker and linter:
21+
Before making a contribution, be sure to run the following scripts:
2122

2223
1. Run a typecheck via `npm run typecheck`.
2324
2. Run ESLint via `npm run lint`.
2425
3. Run Prettier via `npm run format`.
26+
4. Run Vitest via `npm run test`.
2527

2628
## License
2729

0 commit comments

Comments
 (0)