jesseduffield.lazygit/pkg
Jesse Duffield 7b302d8c29 Write unit tests with the help of afero
Afero is a package that lets you mock out a filesystem with an in-memory filesystem.
It allows us to easily create the files required for a given test without worrying about
a cleanup step or different tests tripping on eachother when run in parallel.

Later on I'll standardise on using afero over the vanilla os package
2023-07-30 18:35:36 +10:00
..
app Write unit tests with the help of afero 2023-07-30 18:35:36 +10:00
cheatsheet Initial addition of support for worktrees 2023-07-30 18:35:21 +10:00
commands Write unit tests with the help of afero 2023-07-30 18:35:36 +10:00
common Write unit tests with the help of afero 2023-07-30 18:35:36 +10:00
config Support opening worktree in editor 2023-07-30 18:35:23 +10:00
constants update release notes 2021-04-20 18:34:47 +10:00
env Centralise logic for obtaining repo paths 2023-07-30 18:35:24 +10:00
fakes cleanup integration test code 2023-02-26 12:54:13 +11:00
gui Fix bug where worktree view would take over window upon switching branches 2023-07-30 18:35:24 +10:00
i18n Add more i18n for worktrees 2023-07-30 18:35:24 +10:00
integration Fix bug where worktree view would take over window upon switching branches 2023-07-30 18:35:24 +10:00
logs Allow global logging when developing 2023-05-25 18:31:32 +10:00
secureexec Cache binary paths 2023-05-23 19:15:33 +10:00
snake integrate snake game into lazygit 2022-12-30 12:18:59 +11:00
tasks Fix crash caused by simultaneous read/write of scanner buffer 2023-07-23 13:17:37 +10:00
theme Color view frame differently when searching/filtering 2023-07-03 12:54:14 +10:00
updates Construct arg vector manually rather than parse string 2023-05-23 19:49:19 +10:00
utils Write unit tests with the help of afero 2023-07-30 18:35:36 +10:00