mercredi 5 décembre 2018

Mocha tests, clean disk database before every file runs

Is it possible to reset the Sails.js database before each test file runs? I want it to be in state after sails.lift() completes before each run. I followed the docs here - https://sailsjs.com/documentation/concepts/testing - but did not end up with any solution like this.

Aucun commentaire:

Enregistrer un commentaire