MCPcopy Index your code
hub / github.com/serverless/serverless / setup

Function setup

packages/sf-core/tests/python/test.js:92–95  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

90const npm = mkCommand('npm')
91
92const setup = () => {
93 removeSync(getUserCachePath())
94 process.chdir(initialWorkingDir)
95}
96
97const teardown = () => {
98 const cwd = process.cwd()

Callers 1

testFunction · 0.85

Calls 1

getUserCachePathFunction · 0.70

Tested by 1

testFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…