Skip to content

Commit

Permalink
test: improve boostraps
Browse files Browse the repository at this point in the history
  • Loading branch information
lykmapipo committed Aug 15, 2019
1 parent 8d75f20 commit 830073f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 0 additions & 3 deletions test/bootstrap.spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
import '@lykmapipo/mongoose-test-helpers';

/* set environment variables */
process.env.NODE_ENV = 'test';
3 changes: 3 additions & 0 deletions test/integration/boostrap.spec.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
import { connect, clear, drop } from '@lykmapipo/mongoose-test-helpers';

process.env.DEFAULT_LOCALE = 'en';
process.env.LOCALES = 'en,sw';

/* setup database */
before(done => connect(done));

Expand Down

0 comments on commit 830073f

Please sign in to comment.