Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolving Eslint Errors #634

Draft
wants to merge 13 commits into
base: main
Choose a base branch
from
Draft
1 change: 1 addition & 0 deletions docker/dev/.eslintignore
braughtg marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"**/*.js
1 change: 1 addition & 0 deletions docker/dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ RUN npm install -d \
path@0.12.7 \
axios@0.24.0
WORKDIR /home/$USERNAME
COPY ./.eslintignore .
FutzMonitor marked this conversation as resolved.
Show resolved Hide resolved

# Configure the VNC server so that it allows fd2dev to connect without
# a login.
Expand Down
34 changes: 17 additions & 17 deletions farmdata2/test_runner.bash
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,23 @@ fi

if [[ "$1" != "e2e" && "$1" != "ct" && "$1" != "all" ]];
then
echo "Usage: test_runner.bash [<type> [<args>]]"
echo " Run the Cypress test suite."
echo " <type>:"
echo " If no <type> is provided the Cypress GUI test runner will be opened."
echo " If <type> is provided the terminal-based Cypress test runner is used:"
echo " e2e - to run the end to end tests headless (*.spec.js)."
echo " ct - to run the component tests headless (*.spec.comp.js)."
echo " all - to run both the end-to-end and component tests in sequence."
echo " <args>:"
echo " Ignored if no <type> is provided."
echo " Otherwise, all remaining <args> are passed directly to cypress run."
echo " Several useful <args> include:"
echo " --browser <electron | firefox | chrome | chromium | ...>"
echo " --spec <blob>"
echo " e.g. --spec \"**/fd2_example/ui/*.spec.js\""
echo " e.g. --spec \"**/fd2_field_kit/**/*.spec.js\""
exit -1
echo "Usage: test_runner.bash [<type> [<args>]]"
echo " Run the Cypress test suite."
echo " <type>:"
echo " If no <type> is provided the Cypress GUI test runner will be opened."
echo " If <type> is provided the terminal-based Cypress test runner is used:"
echo " e2e - to run the end to end tests headless (*.spec.js)."
echo " ct - to run the component tests headless (*.spec.comp.js)."
echo " all - to run both the end-to-end and component tests in sequence."
echo " <args>:"
echo " Ignored if no <type> is provided."
echo " Otherwise, all remaining <args> are passed directly to cypress run."
echo " Several useful <args> include:"
echo " --browser <electron | firefox | chrome | chromium | ...>"
echo " --spec <blob>"
echo " e.g. --spec \"**/fd2_example/ui/*.spec.js\""
echo " e.g. --spec \"**/fd2_field_kit/**/*.spec.js\""
exit -1
fi

ARGS=${@:2}
Expand Down