test(core): fix layer node type assertion
This commit is contained in:
parent
b9fa63a0bc
commit
4c1c374a41
1 changed files with 1 additions and 1 deletions
|
|
@ -69,8 +69,8 @@ void invalidNodeReplacement
|
|||
// @ts-expect-error Replacement cannot introduce a new error
|
||||
LayerNode.compile(a, [[a, Layer.effect(A, Effect.fail(new OtherError()))]])
|
||||
|
||||
// @ts-expect-error Node replacement cannot introduce a new error
|
||||
const invalidNodeErrorReplacement = () =>
|
||||
// @ts-expect-error Node replacement cannot introduce a new error
|
||||
LayerNode.compile(a, [[a, make({ service: A, layer: Layer.effect(A, Effect.fail(new OtherError())), deps: [] })]])
|
||||
void invalidNodeErrorReplacement
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue