Simple adhoc tests with sequelize-typescript
Switch branches/tags
Nothing to show
Clone or download
Latest commit 7763a3b Feb 1, 2018
Permalink
Failed to load latest commit information.
.vscode initial commit Jan 31, 2018
model initial commit Jan 31, 2018
.gitignore initial commit Jan 31, 2018
npm-debug.log initial commit Jan 31, 2018
package.json initial commit Jan 31, 2018
readme.md initial commit Jan 31, 2018
tests.ts initial commit Jan 31, 2018
tsconfig.json initial commit Jan 31, 2018

readme.md

Simple ad-hoc tests using sequelize-typescript

This test is done using mysql, so please ensure a mysql instance is reachable, and configure the connection in the tests.ts file.

Requirements

Node and npm

Run the sample tests

  • run the command npm install to 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