MCPcopy Create free account
hub / github.com/Niko1221/Strata / pick

Function pick

app/host/tests/python-resolver.test.mjs:9–9  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

7
8const none = () => false;
9const pick = (options) => resolvePython({ useCache: false, env: {}, exists: none, starts: none, ...options });
10
11test('an explicit STRATA_PYTHON wins over everything', () => {
12 assert.deepEqual(pick({ platform: 'win32', repo: 'C:\\r', env: { STRATA_PYTHON: 'D:\\py\\python.exe' }, exists: () => true }),

Callers 1

Calls 1

resolvePythonFunction · 0.90

Tested by

no test coverage detected