diff --git a/test/e2e/helper.js b/test/e2e/helper.js index 0f0a9cf44a..6d9fd7cab0 100644 --- a/test/e2e/helper.js +++ b/test/e2e/helper.js @@ -1,4 +1,9 @@ import fs from 'fs'; +import { resetHabiticaDB } from '../helpers/api-integration/mongo'; + +before(async () => { + await resetHabiticaDB(); +}) // based on https://github.com/angular/protractor/issues/114#issuecomment-29046939 afterEach(async function () {