Rename withRuntime to withContext
Lint / lint (push) Successful in 39s

This commit is contained in:
Julien Valverdé
2026-07-19 18:44:01 +02:00
parent f22743eefe
commit 1dc8368750
10 changed files with 23 additions and 23 deletions
@@ -22,7 +22,7 @@ describe("Component", () => {
const value = yield* Component.useOnMount(onMount)
return <div>{value}</div>
}).pipe(
Component.withRuntime(runtime.context)
Component.withContext(runtime.context)
)
const view = render(
@@ -58,7 +58,7 @@ describe("Component", () => {
return <div>{result}</div>
}).pipe(
Component.withRuntime(runtime.context)
Component.withContext(runtime.context)
)
const view = render(
@@ -109,7 +109,7 @@ describe("Component", () => {
return <div>{result}</div>
}).pipe(
Component.withRuntime(runtime.context)
Component.withContext(runtime.context)
)
const view = render(
@@ -153,7 +153,7 @@ describe("Component", () => {
return <div>{props.value}</div>
}).pipe(
Component.withRuntime(runtime.context)
Component.withContext(runtime.context)
)
const view = render(
@@ -208,7 +208,7 @@ describe("Component", () => {
return <div>{callback(1)}</div>
}).pipe(
Component.withRuntime(runtime.context)
Component.withContext(runtime.context)
)
const view = render(
@@ -263,7 +263,7 @@ describe("Component", () => {
return <div>{result}</div>
}).pipe(
Component.withRuntime(runtime.context)
Component.withContext(runtime.context)
)
const view = render(
@@ -324,7 +324,7 @@ describe("Component", () => {
return <Child />
}).pipe(
Component.withRuntime(runtime.context)
Component.withContext(runtime.context)
)
const view = render(