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

Tests alongside code #23

Open
hisuwh opened this issue Sep 11, 2018 · 0 comments
Open

Tests alongside code #23

hisuwh opened this issue Sep 11, 2018 · 0 comments
Assignees

Comments

@hisuwh
Copy link
Contributor

hisuwh commented Sep 11, 2018

I think we should move the tests alongside the code:

  • it makes them easier to find
  • easier to import the SUT
  • really obvious if a file doesn't have tests
  • also just to standardise the structure to follow our other packages and internal projects (Momenta, TTC and TeamPrevent are all doing this for there front end code)

Also then build all the test files into another directory to keep the working directory clean.

Example of tsconfig setup: https://github.com/NewOrbit/redux-authorisation

@Jameskmonger Jameskmonger self-assigned this Sep 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants