MCPcopy Index your code
hub / github.com/pre-commit/pre-commit / test_node_additional_deps

Function test_node_additional_deps

tests/languages/node_test.py:149–152  ·  view source on GitHub ↗
(tmp_path)

Source from the content-addressed store, hash-verified

147
148
149def test_node_additional_deps(tmp_path):
150 _make_local_repo(str(tmp_path))
151 ret, out = run_language(tmp_path, node, 'npm ls -g', deps=('lodash',))
152 assert b' lodash@' in out

Callers

nothing calls this directly

Calls 2

_make_local_repoFunction · 0.90
run_languageFunction · 0.90

Tested by

no test coverage detected