diff --git a/src/run-examples.ts b/src/run-examples.ts index c32e9a2..270017b 100644 --- a/src/run-examples.ts +++ b/src/run-examples.ts @@ -139,7 +139,7 @@ const main = async () => { checkCallBy("via", viaResult, (res) => res.every( (val, i, arr) => deepEqual(val, arr[0]) ), cb) - checkCall("nestedFuncsCall", optionResult, "some-str", cb) + checkCall("nestedFuncsCall", nestedFuncsResult, "some-str", cb) if (success) { process.exit(0)