Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Maximum call stack size exceeded on gulp test:server #1855

Copy link
Copy link
Open
@ingoncalves

Description

@ingoncalves
Issue body actions

After generate my app and run it normally, I simulated an error on server/api/user/user.integration.js adding code:
res.body.foo.should.equal('bar');
on line 54.

The test froze and I got the following error:

GET /api/users/me 200 12.153 ms - 102
/home/user/myapp/node_modules/gulp-mocha/index.js:47
                    stack: err.stack,
                              ^
RangeError: Maximum call stack size exceeded
  at Array.join (native)
  at Function.Error.prepareStackTrace (/home/user/myapp/node_modules/coffee-script/lib/coffee-script/coffee-script.js:373:46)
  at Domain.handleException (/home/user/myapp/node_modules/gulp-mocha/index.js:47:16)
  at emitOne (events.js:90:13)
  at Domain.emit (events.js:182:7)
  at emitError (domain.js:66:24)
  at Domain.errorHandler [as _errorHandler] (domain.js:110:18)
  at process._fatalException (node.js:234:33)
  at Domain.errorHandler [as _errorHandler] (domain.js:137:26)
  at process._fatalException (node.js:234:33)
  at Domain.errorHandler [as _errorHandler] (domain.js:137:26)
  at process._fatalException (node.js:234:33)
...
Item Version
OS Ubuntu 16.04
generator-angular-fullstack 3.6.1
node 5.11.0
npm 3.8.8
yo 1.7.0
mocha 2.4.5
Item Answer
Transpiler Babel
Markup Jade
CSS SCSS
Router ui-router
Build Tool Gulp
Client Tests Mocha
DB MongoDB
Auth Y

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.