-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mocha 5: Sails is failing to lift inside Mocha tests due captains-log issue #4395
Comments
@leosuncin Thanks for posting, we'll take a look as soon as possible. For help with questions about Sails, click here. If you’re interested in hiring @sailsbot and her minions in Austin, click here. |
@leosuncin thanks! And, interesting- we use mocha 3.0.2 across the board over here and so hadn't noticed this. When time allows, I'll try to recreate this with mocha 5 |
@mikermcneil please review this, I can't use CI/CD due the tests won't run successfully even if are right. |
published as captains-log@2.0.1 |
Sails version: 1.0.1
Node version: 10.0.0
NPM version: 6.0.0
DB adapter name: N/A
DB adapter version: N/A
Operating system: Linux 4.14.36-1-MANJARO x86_64
I'm using mocha for run my E2E against my API (WIP) build it with sails and I followed the steps on the documentation, but I'm getting a error when try to lift sails via mocha (if I run
sails lift
outside mocha works).Stack trace
Is an issue related to
captains-log
and can be fixed with:You can see my repo with the issue here https://github.com/leosuncin/writtr-api-sails/tree/testing
The text was updated successfully, but these errors were encountered: