Added test for node_modules in parent directory
Showing
2 changed files
with
8 additions
and
0 deletions
... | @@ -198,6 +198,10 @@ class RequireWithRelativeScriptPathTest(CasperExecTestBase): | ... | @@ -198,6 +198,10 @@ class RequireWithRelativeScriptPathTest(CasperExecTestBase): |
198 | def test_node_module_require_json(self): | 198 | def test_node_module_require_json(self): |
199 | self.assertCommandOutputEquals('./test_node_json.js', '42') | 199 | self.assertCommandOutputEquals('./test_node_json.js', '42') |
200 | 200 | ||
201 | @timeout(20) | ||
202 | def test_node_module_require_subdir(self): | ||
203 | self.assertCommandOutputEquals('./test_node_subdir/test_node_mod.js', '42') | ||
204 | |||
201 | 205 | ||
202 | class ScriptOutputTest(CasperExecTestBase): | 206 | class ScriptOutputTest(CasperExecTestBase): |
203 | @timeout(20) | 207 | @timeout(20) | ... | ... |
-
Please register or sign in to post a comment