Skip to content

An assortment of specs testing each library in the NERDS stack.

Notifications You must be signed in to change notification settings

sammorrow/unit-tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unit Tests

A sample of unit tests for each slice of the NERDS stack. Try to pass them all! Solutions included.

To run:

Setup a testing db, preferably using postgreSQL:

psql
(in psql shell): CREATE DATABASE expresstests;

Then install NPM dependencies and you're good to go:

npm i
npm t

If you'd prefer to run one set of tests at a time...

npm run test-frontend
npm run test-db
npm rubn test-routes

About

An assortment of specs testing each library in the NERDS stack.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published