Skip to content

Commit 59838ee

Browse files
committed
add test checking that js deps are present
- which should make debugging somewhat less painful
1 parent 714d34d commit 59838ee

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Diff for: plotly/tests/test_optional/test_jupyter/test_jupyter.py

+7
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,17 @@
1212
import subprocess
1313

1414
PATH_ROOT = path.dirname(__file__)
15+
PATH_NODE_MODULES = path.join(PATH_ROOT, 'node_modules')
1516
PATH_FIXTURES = path.join(PATH_ROOT, 'fixtures')
1617
PATH_JS_TESTS = path.join(PATH_ROOT, 'js_tests')
1718

1819

20+
class PlotlyJupyterTestDeps(TestCase):
21+
22+
def test_node_modules(self):
23+
self.assertTrue(path.isdir(PATH_NODE_MODULES))
24+
25+
1926
class Common(TestCase):
2027
__test__ = False
2128
name = None

0 commit comments

Comments
 (0)