https://github.com/peterdee/mongoose-mocha
A simple showcase of how Mongoose can be tested with Mocha, Chai and MongoDB Memory Server
https://github.com/peterdee/mongoose-mocha
chaijs mochajs mongodb mongodb-mocking mongoose
Last synced: 4 months ago
JSON representation
A simple showcase of how Mongoose can be tested with Mocha, Chai and MongoDB Memory Server
- Host: GitHub
- URL: https://github.com/peterdee/mongoose-mocha
- Owner: peterdee
- License: mit
- Created: 2021-10-19T13:17:01.000Z (over 4 years ago)
- Default Branch: release
- Last Pushed: 2021-10-25T12:53:57.000Z (over 4 years ago)
- Last Synced: 2025-10-07T01:36:49.209Z (9 months ago)
- Topics: chaijs, mochajs, mongodb, mongodb-mocking, mongoose
- Language: JavaScript
- Homepage:
- Size: 138 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
## Testing Mongoose with Mocha
A simple showcase of how [Mongoose](https://mongoosejs.com) can be tested with [Mocha](https://mochajs.org), [Chai](https://www.chaijs.com) and [MongoDB Memory Server](https://github.com/nodkz/mongodb-memory-server)
### Deploy
```shell script
git clone https://github.com/peterdee/mongoose-mocha
cd ./mongoose-mocha
nvm use 16
npm i
```
### Testing
```shell script
npm run test
```
### Linting
```shell script
npm run lint
```
Using [ESLint](https://eslint.org)
### License
[MIT](./LICENSE.md)