We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The execution context is coming back as an empty object in the test case:
➜ denali-my-api git:(master) denali test cli v0.0.27 [local] | denali v0.0.46 [local] ✔ denali-my-api build complete (0.770s) ===> Running denali-my-api tests ... ExecutionContext {} 9 passed 2 failed 1 rejection linting › test/acceptance/index-test.js passes ESLint /Users/michael.herman/repos/github/denali-my-api/test/linting.js:29 test/acceptance/index-test.js should pass ESLint 6:3 - Unexpected console statement. (no-console) acceptance › index-test › GET / > should return a welcome message /Users/michael.herman/repos/github/denali-my-api/node_modules/source-map-support/source-map-support.js:453 Promise returned by test never resolved Unhandled Rejection TypeError: Cannot read property 'toLowerCase' of undefined Object._apply_rules (node_modules/inflection/lib/inflection.js:594:53) Object.pluralize (node_modules/inflection/lib/inflection.js:670:24) JSONAPISerializer.renderRecord (/Users/daw/oss/denali/denali/lib/render/json-api.ts:189:13) JSONAPISerializer.renderPrimaryObject (/Users/daw/oss/denali/denali/lib/render/json-api.ts:107:42) JSONAPISerializer.renderPrimary (/Users/daw/oss/denali/denali/lib/render/json-api.ts:93:18) JSONAPISerializer.serialize (/Users/daw/oss/denali/denali/lib/render/json-api.ts:73:16) JSONAPISerializer.render (/Users/daw/oss/denali/denali/lib/render/serializer.ts:91:23) IndexAction.render (/Users/daw/oss/denali/denali/lib/runtime/action.ts:242:29) IndexAction.respond (dist/app/actions/index.js:16:1) IndexAction.run (/Users/daw/oss/denali/denali/lib/runtime/action.ts:279:31) ===> Tests failed 💥
The text was updated successfully, but these errors were encountered:
Could you paste your test code?
Sorry, something went wrong.
It's from the base test. It happens when I run the tests right after starting a new project.
No branches or pull requests
The execution context is coming back as an empty object in the test case:
The text was updated successfully, but these errors were encountered: