Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check project configuration to control generation standards #3

Open
eddiesholl opened this issue Jun 9, 2017 · 2 comments
Open

Check project configuration to control generation standards #3

eddiesholl opened this issue Jun 9, 2017 · 2 comments

Comments

@eddiesholl
Copy link
Owner

We can infer a lot of the subject project's standards and conventions by inspecting it. For example, reading the package.json file can tell us which expectation library is in use. Project paths for tests could be estimated by checking if a test folder exists, or checking if test files live next to source files.

@eddiesholl
Copy link
Owner Author

Actionable items

  • Import expect from chai if being used
  • Use jasmine matcher syntax if using jasmine

@eddiesholl
Copy link
Owner Author

There's some deepEqual references to fix, I think in the tests generated for a straight function

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

No branches or pull requests

1 participant