Skip to content
This repository has been archived by the owner on Mar 26, 2018. It is now read-only.

The require.js version doesn't generate tests. #252

Open
cicloon opened this issue Apr 21, 2014 · 6 comments
Open

The require.js version doesn't generate tests. #252

cicloon opened this issue Apr 21, 2014 · 6 comments

Comments

@cicloon
Copy link

cicloon commented Apr 21, 2014

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

@revathskumar
Copy link
Member

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

@nnance
Copy link
Contributor

nnance commented Sep 10, 2014

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

@revathskumar
Copy link
Member

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

@arthurvr
Copy link
Member

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?

@mteodori
Copy link
Contributor

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

@ruyadorno
Copy link
Contributor

@mteodori 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants