chore(tests): add Chat model tests (#784)

* add search and status tests

* reset to previous status in test

* move version to its own test

* add tests for Chat model

* keep hooks at the top

* run tests recursively in default script
This commit is contained in:
Pedro S. Lopez 2022-02-05 22:05:42 -04:00 • committed by GitHub
commit f149516d0d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 246 additions and 4 deletions

View file

@ -5,7 +5,8 @@
"main": "./index.js",
"typings": "./index.d.ts",
"scripts": {
"test": "mocha tests",
"test": "mocha tests --recursive",
"test-single": "mocha",
"shell": "node --experimental-repl-await ./shell.js",
"generate-docs": "node_modules/.bin/jsdoc --configure .jsdoc.json --verbose"
},