This test is done using mysql, so please ensure a mysql instance is reachable, and configure the connection in the tests.ts file.
Node and npm
-
run the command
npm installto install all dependencies -
Ensure typescript is running in watch mode (Ctrl+shift+B / CMD+shift+B in VSCode to start the task)
-
Uncomment the test you want to run, in the tests.ts file, especially the sync part, during the 1st run.
-
execute the command
node tests.js