2
I want to organize my javascript tests in separate files, but these can be part of a common module. For example:
describe("Controllers", function () {
describe('Move list Controller', function () {
//ListController its
});
describe('Movie Detail Controller', function () {
describe('must activate with', function () {
//details controller its when activates
});
//other details controller's its
});
describe('Reserve Controller', function () {
// reserve controller its
});
});
I have the describe('Controllers'), and under it all controllers. But here you can see the proportion that the files will take because each controller will have several its. What I need is to break these tests into a file by controller, but still keeping them as part of describe('controllers')
I tried to call the same describe in different files and it generated redundancy:

Any idea how separate into files without breaking the describe?
It worked, so I separated a file
describe.apply.jsjust to do that. Thank you very much!– anisanwesley