generator-backbone icon indicating copy to clipboard operation
generator-backbone copied to clipboard

The require.js version doesn't generate tests.

Open cicloon opened this issue 10 years ago • 6 comments

Without require.js: yo backbone:model computer create app/scripts/models/computer.js invoke backbone-mocha:model create test/models/computer.spec.js

With require.js: yo backbone:model computer create app/scripts/models/computer.js

cicloon avatar Apr 21 '14 11:04 cicloon

the tests are generated by generator-backbone-mocha which doesn't support for requirejs now.

revathskumar avatar Apr 21 '14 16:04 revathskumar

@revathskumar has this support been added yet? If not would you like help? I am interested in this feature

nnance avatar Sep 10 '14 13:09 nnance

@nnance Sorry for the late reply. If you like to help please send us a PR.

revathskumar avatar Sep 28 '14 15:09 revathskumar

the tests are generated by generator-backbone-mocha which doesn't support for requirejs now.

This issue should probably be ported over to that repo, then?

arthurvr avatar Mar 23 '15 15:03 arthurvr

@ruyadorno wouldn't it be better if we were breaking the dependency on generator-backbone-mocha and rather implement the test templates here?

mteodori avatar Mar 21 '16 19:03 mteodori

@mteodori :+1:

ruyadorno avatar Mar 25 '16 19:03 ruyadorno