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:
Matan Kushner
2020-01-26 17:37:18 -05:00
committed by Kevin Song
parent 5342dcc658
commit 3365beae09
14 changed files with 136 additions and 142 deletions
-5
View File
@@ -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: