MCPcopy Create free account
hub / github.com/getsentry/sentry-javascript / createTempDir

Function createTempDir

scripts/bump-version.test.ts:8–10  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6const { bumpVersions } = require('./bump-version');
7
8function createTempDir(): string {
9 return fs.mkdtempSync(path.join(os.tmpdir(), 'bump-version-test-'));
10}
11
12function writePackageJson(dir: string, content: Record<string, unknown>): void {
13 fs.mkdirSync(dir, { recursive: true });

Callers 2

setupFixtureFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected