1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-12-01 09:13:54 +00:00
starship/src/modules
Matan Kushner 3365beae09 test(nodejs): Port nodejs module tests from E2E to integraton (#867)
Replaces the existing nodejs module end-to-end tests with integration tests that don't require preinstalled environmental dependencies.

- Moved the tests to the same file as the module they test
- Created a render_module utility function for rendering modules within tests
- Removed Node.js installation during CI setup
- Add Shell to Context to allow for tests to not run shell-specific code
2020-01-26 16:37:18 -06:00
..
utils test(nodejs): Port nodejs module tests from E2E to integraton (#867) 2020-01-26 16:37:18 -06:00
aws.rs perf: Dereference before to_string in aws module 2019-12-20 12:58:59 -05:00
battery.rs test(nodejs): Port nodejs module tests from E2E to integraton (#867) 2020-01-26 16:37:18 -06:00
character.rs test(nodejs): Port nodejs module tests from E2E to integraton (#867) 2020-01-26 16:37:18 -06:00
cmd_duration.rs fix: Fix incorrect prefix usage in cmd_duration module (#832) 2020-01-18 01:15:08 -06:00
conda.rs fix: Truncate long paths in conda environment names (#694) 2019-12-09 12:59:02 -05:00
directory.rs fix: Truncate long paths in conda environment names (#694) 2019-12-09 12:59:02 -05:00
dotnet.rs refactor(dotnet): Use exec_cmd util (#826) 2020-01-15 13:52:38 -05:00
env_var.rs refactor: Cleanup after module config refactor (#630) 2019-11-07 12:38:30 +09:00
git_branch.rs refactor: Remove to remove unneeded mutability (#577) 2019-10-24 19:31:17 +09:00
git_commit.rs feat: Add git_commit module (#673) 2019-12-06 11:57:42 -05:00
git_state.rs refactor: Refactor git state module to use module config (#605) 2019-11-06 22:00:31 +09:00
git_status.rs feat(git_status): Add a stash count segment (#598) 2019-12-28 22:20:36 -05:00
golang.rs refactor: Refactor modules to use the exec_cmd util (#676) 2019-12-02 17:42:55 -05:00
haskell.rs feat: add Haskell Stack support (#546) 2020-01-25 00:48:39 -06:00
hg_branch.rs perf(hg_branch): Replace direct calls to hg (#803) 2020-01-03 17:51:45 -05:00
hostname.rs refactor: Cleanup after module config refactor (#630) 2019-11-07 12:38:30 +09:00
java.rs fix(java): Add detection for *.gradle files (#871) 2020-01-24 10:22:30 -05:00
jobs.rs refactor: improve as-a-library usage by removing ArgMatches depe… (#547) 2019-10-20 17:26:27 +09:00
kubernetes.rs fix: Add support for multiple Kubeconfig files (#635) 2019-11-12 14:34:01 +09:00
line_break.rs refactor: Rewrite hostname, jobs and line_break module to use mo… (#462) 2019-10-10 17:21:52 +09:00
memory_usage.rs test(nodejs): Port nodejs module tests from E2E to integraton (#867) 2020-01-26 16:37:18 -06:00
mod.rs test(nodejs): Port nodejs module tests from E2E to integraton (#867) 2020-01-26 16:37:18 -06:00
nix_shell.rs refactor: Refactor nix_shell and java module to use module config (#606) 2019-11-06 21:59:12 +09:00
nodejs.rs test(nodejs): Port nodejs module tests from E2E to integraton (#867) 2020-01-26 16:37:18 -06:00
package.rs fix(package): Use specified directory instead of current working directory (#774) 2019-12-23 22:38:00 -05:00
php.rs refactor(php): Use exec_cmd util(#825) 2020-01-12 17:50:25 -05:00
python.rs fix(python): Trim "Anaconda, Inc." from version (#861) 2020-01-21 11:14:40 -05:00
ruby.rs refactor: Refactor modules to use the exec_cmd util (#676) 2019-12-02 17:42:55 -05:00
rust.rs chore: Import shared types from super (#492) 2019-10-05 16:13:03 -05:00
terraform.rs feat: Implement terraform module with workspace and version (#644) 2019-12-08 20:42:51 -05:00
time.rs feat: Implement timezone offset config option for the time module (#463) 2019-10-10 13:42:57 +09:00
username.rs refactor: Refactor modules to use the exec_cmd util (#676) 2019-12-02 17:42:55 -05:00