@erikbrandon-fs/test
v1.0.2
Published
A collection of seven JEST tests for a backend signup API project in the Programming for Web Applications class at Full Sail University.
Downloads
2
Readme
About This Package
This package contains a collection of seven JEST tests for a backend signup API project in the Programming for Web Applications class at Full Sail University.
Installation via NPM
npm install @erikbrandon-fs/test
Usage
// Step 1 - Create an index.test.js in the same folder as your index.js containing the line below.
const userTests = require('@erikbrandon-fs/test/jest/user.test.js')
// Step 2 - Add a test script to your package.json file that calls JEST.
scripts = {
"test": "jest",
}
// Step 3 - Run JEST Tests like you normally would.
npm test