mirror of
https://github.com/wassname/talk.git
synced 2026-08-14 12:50:17 +08:00
Lint for test.
This commit is contained in:
@@ -1,10 +1,7 @@
|
||||
// Modified from https://github.com/elliotf/mocha-mongoose
|
||||
|
||||
var mongoose = require('mongoose');
|
||||
|
||||
|
||||
// ensure the NODE_ENV is set to 'test'
|
||||
// this is helpful when you would like to change behavior when testing
|
||||
// Ensure the NODE_ENV is set to 'test',
|
||||
// this is helpful when you would like to change behavior when testing.
|
||||
process.env.NODE_ENV = 'test';
|
||||
|
||||
beforeEach(function (done) {
|
||||
|
||||
Reference in New Issue
Block a user