Skip to content

Commit 11bdd62

Browse files
committed
docs(e2e): improve comment
1 parent abd2cde commit 11bdd62

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/e2e/src/init.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ export const init = async (
131131
if (_network === 'naga-local') {
132132
const localContextPath = process.env['NAGA_LOCAL_CONTEXT_PATH'];
133133
if (localContextPath) {
134+
// Type guard: verify the module exposes withLocalContext so TypeScript narrows it to NagaLocal.
134135
const isNagaLocalModule = (
135136
module: unknown
136137
): module is NagaLocalModule =>

0 commit comments

Comments
 (0)