MCPcopy Index your code
hub / github.com/getsentry/sentry-javascript / getCwdFor

Function getCwdFor

packages/bundler-plugins/test/core/utils.test.ts:20–22  ·  view source on GitHub ↗
(dirName: string)

Source from the content-addressed store, hash-verified

18type PackageJson = Record<string, unknown>;
19
20function getCwdFor(dirName: string): string {
21 return path.resolve(__dirname + dirName);
22}
23
24describe('getPackageJson', () => {
25 test('it works for this package', () => {

Callers 1

utils.test.tsFile · 0.85

Calls 1

resolveMethod · 0.65

Tested by

no test coverage detected