You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
i would have expected the unit test to run inside the completely generated app but that isn't the case, which is great for performance, but puts the actual number of declared dependencies in package.json out of reach of the testsuite.
Expected behavior
The fully modified package.json to be present when the tests are running.
To Reproduce
add this to any of the generated app specs.
constassert=require('yeoman-assert')consthelpers=require('yeoman-test')constfs=require('fs-extra')// this is a dummy test describe('npm Install succeeds',function(){it('package json has 8 dev deps',function(done){assert.fileContent('package.json','supertest')done()})
Describe the bug
i would have expected the unit test to run inside the completely generated app but that isn't the case, which is great for performance, but puts the actual number of declared dependencies in
package.json
out of reach of the testsuite.Expected behavior
The fully modified
package.json
to be present when the tests are running.To Reproduce
add this to any of the generated app specs.
result
The text was updated successfully, but these errors were encountered: