January 2019
Intermediate to advanced
460 pages
10h 33m
English
When we want to run a test, the server should start automatically. There are two options to implement this behavior:
The best option is to start the server within our test and not rely on a second command, because we can run further tests on the back end. We to import a further package to allow the server to start within our test:
require('babel-plugin-require-context-hook/register')();
We use and execute this package because we load the Sequelize models using the require.context ...
Read now
Unlock full access