mirror of
https://github.com/starship/starship.git
synced 2026-06-22 02:02:12 +07:00
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
This commit is contained in:
committed by
Kevin Song
parent
5342dcc658
commit
3365beae09
@@ -133,11 +133,6 @@ jobs:
|
||||
ARGS: --resolver nightly-2019-09-21
|
||||
run: stack $ARGS ghc -- --numeric-version --no-install-ghc
|
||||
|
||||
# Install Node.js at a fixed version
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: "12.0.0"
|
||||
|
||||
# Install Golang at a fixed version
|
||||
- uses: actions/setup-go@v1
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user