johnpapa / johnpapa/angular-what-if

A question on test file placement

Open
#1 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
57
Forks
12
PR merge metrics
No merged PRs in 30d

Description

With the SFC approach, would you still favor having the test specs directly adjacent to the code? Or with the case of using Jest, for example, would you place them within a `__tests__` directory?

```
src/app/
app.component.ts
app.component.spec.ts
```
OR
```
src/app/
__tests__/
app.component.spec.ts
app.component.ts
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.