mousinho-testlibrary-mse-2103
v1.0.3
Published
Antony Mousinho's self built test library
Downloads
3
Readme
mousinho-testlibrary-mse-2103
A custom JavaScript test library built during the Digital Futures MSE course 2021
How to install
In the command line, navigate to your project directory and type:
npm install mousinho-testlibrary-mse-2103
How to use test functions
To access the built in functions require them within your spec.js
file:
const test = require('mousinho-testlibrary-mse-2103/src/library')
Now you can use the built in functions from the packages library.js
file. These functions have been modelled from the jasmine
node package.
The functions are:
describe()
it()
expect()
assertEquals()