diff --git a/sdk/ts-compat/jest.config.cjs b/sdk/ts-compat/jest.config.cjs index f9861ef5a..03d7d1009 100644 --- a/sdk/ts-compat/jest.config.cjs +++ b/sdk/ts-compat/jest.config.cjs @@ -14,6 +14,7 @@ module.exports = { module: 'Node16', moduleResolution: 'Node16', types: ['node', 'jest'], + rootDir: '.', }, }, ], diff --git a/sdk/ts-compat/tsconfig.json b/sdk/ts-compat/tsconfig.json index 7cbe9defc..bccc14888 100644 --- a/sdk/ts-compat/tsconfig.json +++ b/sdk/ts-compat/tsconfig.json @@ -6,6 +6,7 @@ "declarationMap": true, "sourceMap": true, "outDir": "./dist", + "rootDir": "./src", "strict": true, "esModuleInterop": true, "skipLibCheck": true, diff --git a/sdk/ts/jest.config.cjs b/sdk/ts/jest.config.cjs index 849351440..28512a94e 100644 --- a/sdk/ts/jest.config.cjs +++ b/sdk/ts/jest.config.cjs @@ -17,6 +17,7 @@ module.exports = { module: 'Node16', moduleResolution: 'Node16', types: ['node', 'jest'], + rootDir: '.', }, }, ], diff --git a/sdk/ts/test/unit/rpc-drift.test.ts b/sdk/ts/test/unit/rpc-drift.test.ts index d5fe98182..79124bb93 100644 --- a/sdk/ts/test/unit/rpc-drift.test.ts +++ b/sdk/ts/test/unit/rpc-drift.test.ts @@ -73,7 +73,7 @@ describe('TS RPC drift guards', () => { it('keeps the TS raw RPC method surface aligned with live router registrations', () => { const routerMethods = extractRouterHandlers( - fs.readFileSync(path.join(repoRoot, 'clearnode/api/rpc_router.go'), 'utf8') + fs.readFileSync(path.join(repoRoot, 'nitronode/api/rpc_router.go'), 'utf8') ); const tsMethods = extractTsMethodLiterals( fs.readFileSync(path.join(repoRoot, 'sdk/ts/src/rpc/methods.ts'), 'utf8') diff --git a/sdk/ts/tsconfig.json b/sdk/ts/tsconfig.json index 1eb8fb7e4..66d3dbeb1 100644 --- a/sdk/ts/tsconfig.json +++ b/sdk/ts/tsconfig.json @@ -7,6 +7,7 @@ "declarationMap": true, "sourceMap": true, "outDir": "./dist", + "rootDir": "./src", "strict": true, "esModuleInterop": true, "skipLibCheck": true,