Skip to content

Commit 1a84e53

Browse files
committed
test(dryBinary): fix typescript error, because it somehow does not find it anymore
1 parent c7c7303 commit 1a84e53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/mongodb-memory-server-core/src/util/__tests__/dryBinary.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ describe('DryBinary', () => {
6767
// @ts-expect-error expected, because function "homedir" is private
6868
'homedir'
6969
)
70-
.mockReturnValue(path.resolve(tmpDir.name, 'homedir'));
70+
.mockReturnValue(path.resolve(tmpDir.name, 'homedir') as any); // casting is needed, since around "@types/[email protected]~4" private values do not seem to be exposed anymore
7171

7272
// Create all directories
7373
{

0 commit comments

Comments
 (0)