Skip to content

Commit 8420793

Browse files
committed
fix: add process object and clarify built-in node API comment in valid-scope-use-return-object test
1 parent 8595ea9 commit 8420793

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

packages/eslint-plugin-qwik/tests/scope-use-task/valid-scope-use-return-object.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,15 @@ export default component$(() => {
66
if (isBrowser) {
77
track(() => {
88
if (state.value) {
9-
// `path` will be treated as a built-in node API under isBrowser
109
const values = [
1110
{
11+
// `path` will be treated as a built-in node API under isBrowser
1212
path: '1',
1313
},
1414
];
1515
}
1616
});
17+
const process = { cwd: 'hi' };
1718
}
1819
});
1920
return <></>;

0 commit comments

Comments
 (0)