MCPcopy
hub / github.com/langgenius/dify / createTempDir

Function createTempDir

packages/dev-proxy/src/config.spec.ts:12–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10const tempDirs: string[] = []
11
12const createTempDir = async () => {
13 const tempDir = await fs.mkdtemp(path.join(os.tmpdir(), 'dev-proxy-test-'))
14 tempDirs.push(tempDir)
15 return tempDir
16}
17
18describe('dev proxy config', () => {
19 afterEach(async () => {

Callers 1

config.spec.tsFile · 0.70

Calls 2

joinMethod · 0.45
pushMethod · 0.45

Tested by

no test coverage detected