File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -68,6 +68,23 @@ const firstJohn = db.where('name = John').first()
6868npm run build
6969```
7070
71+ ## Testing
72+
73+ ** Type check** — format, lint, and type-check:
74+
75+ ``` bash
76+ deno task check
77+ ```
78+
79+ ** Unit tests** — format/lint tests and run all tests:
80+
81+ ``` bash
82+ deno task test
83+ ```
84+
85+ - Tests live under ` tests/ ` (public API tests in ` tests/jsonary.test.ts ` ).
86+ - The test task uses ` --allow-read ` , ` --allow-write ` , and ` --allow-env ` .
87+
7188## License
7289
7390This project is licensed under the MIT license. See the [ LICENSE] ( LICENSE ) file for details.
Original file line number Diff line number Diff line change 11{
22 "name" : " @neabyte/jsonary" ,
33 "description" : " File-based JSON database for TypeScript, with a simple query builder" ,
4- "version" : " 1.0.1 " ,
4+ "version" : " 1.1.0 " ,
55 "type" : " module" ,
66 "license" : " MIT" ,
77 "exports" : " ./src/index.ts" ,
Original file line number Diff line number Diff line change 11{
22 "name" : " @neabyte/jsonary" ,
3- "version" : " 1.0.1 " ,
3+ "version" : " 1.1.0 " ,
44 "description" : " File-based JSON database for TypeScript, with a simple query builder" ,
55 "type" : " module" ,
66 "main" : " dist/index.cjs" ,
You can’t perform that action at this time.
0 commit comments