jpedroschmitz / jest-mongodb

An example of a simple API, that uses MongoDB as a database and Jest for testing.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Jest e MongoDB

This repository contains an example of a simple API, that uses mongo as a database, and Jest for testing.

Packages used for testing:

  • mongodb-memory-server: Downloads and spins up a real MongoDB server and holds the data in memory;
  • supertest: Library for testing node.js HTTP servers;

About

An example of a simple API, that uses MongoDB as a database and Jest for testing.


Languages

Language:JavaScript 100.0%