devcontainers / devcontainers/cli
test: findUserArg has no unit tests
Abierto
- Lenguaje dominante
- TypeScript
- Estrellas
- 3k
- Forks
- 457
- Merge medio
- 13 h 17 min
- PR fusionados (30 d)
- 6
Descripción
`findUserArg` in `singleContainer.ts` is exported but has no test coverage.
No test file currently imports from `singleContainer`.
Proposing to add `src/test/singleContainer.test.ts` covering these cases:
- ['-u', 'myuser'] -> 'myuser'
- ['--user', 'myuser'] -> 'myuser'
- ['--user=myuser'] -> 'myuser'
- ['--user', 'a', '-u', 'b'] -> 'b' (last wins)
- [] -> undefined
Would this be helpful?
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.