Skip to content
This repository

mocha:app must look for the test dir? #1017

Closed
hemanth opened this Issue April 10, 2013 · 4 comments

2 participants

hemanth.hm Pascal Hartig
hemanth.hm
Collaborator
$ yo --version 
1.0.0-beta.4

$ yo generator test
   create test/index.js
   create test/templates/readme.md

$ yo mocha:app
   create test/index.html
   create test/lib/chai.js
   create test/lib/expect.js
   create test/lib/mocha/mocha.css
   create test/lib/mocha/mocha.js
   create test/spec/test.js
Pascal Hartig
Owner
passy commented April 11, 2013

yo generator creates a new generator, mocha:app generates a mocha test suite.

Pascal Hartig passy closed this April 11, 2013
hemanth.hm
Collaborator

@passy yes, aware of that. But I have a generator by name test and mocha:app will create test suites in them. Should not it say that there is a dir by name test already?

Pascal Hartig
Owner
passy commented April 11, 2013

@hemanth Conflict resolution is only supposed to warn if you override files. The mocha generator is supposed to create a test setup in the test/ subdirectory of your CWD, which is does. If you already have a test suite, you shouldn't need the generator.

hemanth.hm
Collaborator

Roger that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.