Skip to content
This repository was archived by the owner on Aug 30, 2021. It is now read-only.

Mocha test timeouts [fixes #955] #956

Merged
merged 1 commit into from
Oct 3, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions modules/articles/tests/server/article.server.model.tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ var user, article;
* Unit tests
*/
describe('Article Model Unit Tests:', function () {
this.timeout(10000);

beforeEach(function (done) {
user = new User({
firstName: 'Full',
Expand Down
2 changes: 2 additions & 0 deletions modules/articles/tests/server/article.server.routes.tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ var app, agent, credentials, user, article;
* Article routes tests
*/
describe('Article CRUD tests', function () {
this.timeout(10000);

before(function (done) {
// Get application
app = express.init(mongoose);
Expand Down
2 changes: 2 additions & 0 deletions modules/chat/tests/server/chat.socket.tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
* Chat socket tests
*/
describe('Chat Socket Tests:', function () {
this.timeout(10000);

// TODO: Add chat socket tests
});
1 change: 1 addition & 0 deletions modules/core/tests/server/core.server.config.tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ var should = require('should'),
seed = require(path.resolve('./config/lib/seed'));

describe('Configuration tests', function () {
this.timeout(10000);

describe('Testing default seedDB:', function () {
before(function(done) {
Expand Down
2 changes: 2 additions & 0 deletions modules/users/tests/server/user.server.model.tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ var user1, user2, user3;
* Unit tests
*/
describe('User Model Unit Tests:', function () {
this.timeout(10000);

before(function () {
user1 = {
firstName: 'Full',
Expand Down
2 changes: 2 additions & 0 deletions modules/users/tests/server/user.server.routes.tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ var app, agent, credentials, user, _user, admin;
* User routes tests
*/
describe('User CRUD tests', function () {
this.timeout(10000);

before(function (done) {
// Get application
app = express.init(mongoose);
Expand Down