diff --git a/conda/meta.yaml b/conda/meta.yaml
index 2e8a62bf5e83e156a3ff03aba7248e79185124e5..c529939d2c4b6f5102175758177dd1d0813fddd6 100644
--- a/conda/meta.yaml
+++ b/conda/meta.yaml
@@ -59,10 +59,10 @@ test:
     - beat editor --help
     - beat editor serve --help
     - nosetests --with-coverage --cover-package={{ name }} -sv {{ name }}
-    - if [ -n "${BEAT_DOCKER_TESTS}" ]; then cd {{ project_dir }}/conda/js; fi
-    - if [ -n "${BEAT_DOCKER_TESTS}" ]; then npm install; fi
-    - if [ -n "${BEAT_DOCKER_TESTS}" ]; then npm test; fi
-    - if [ -n "${BEAT_DOCKER_TESTS}" ]; then cd -; fi
+    - if [ -n "${BEAT_BROWSER_TESTS}" ]; then cd {{ project_dir }}/conda/js; fi
+    - if [ -n "${BEAT_BROWSER_TESTS}" ]; then npm install; fi
+    - if [ -n "${BEAT_BROWSER_TESTS}" ]; then npm test; fi
+    - if [ -n "${BEAT_BROWSER_TESTS}" ]; then cd -; fi
     - sphinx-build -aEW {{ project_dir }}/doc {{ project_dir }}/sphinx
     - sphinx-build -aEb doctest {{ project_dir }}/doc sphinx
     - conda inspect linkages -p $PREFIX {{ name }}  # [not win]