Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

fix timeout error occuring in test #49

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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: 1 addition & 1 deletion test/unit/test_application.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ exports['test express app listen is called'] = function(done) {
runApp();

mock.verify();
return done();
done();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the return should not make a difference here as long as done is called.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It only passes for me when return is removed?

};

exports['test all mbaas routes are mounted'] = function(done) {
Expand Down