Skip to content

Commit c0a3f29

Browse files
author
Emmanouil Konstantinidis
committed
NPM install before tests
1 parent 9f599dc commit c0a3f29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: runtests.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def flake8_main(args):
2525

2626
def run_tests_eslint():
2727
print('Running: eslint')
28-
command = subprocess.call(['cd rest_framework_docs/static/ && npm test'], shell=True)
28+
command = subprocess.call(['cd rest_framework_docs/static/ && npm install && npm test'], shell=True)
2929
print("" if command else "Success. eslint passed.")
3030
return command
3131

0 commit comments

Comments
 (0)