Skip to content

Commit

Permalink
fixup! test(async-flow): proper wake tests
Browse files Browse the repository at this point in the history
Co-authored-by: Michael FIG <[email protected]>
  • Loading branch information
mhofman and michaelfig committed Oct 4, 2024
1 parent 9948261 commit 332eb05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/async-flow/test/async-flow-wake.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { testAsyncLife } from './prepare-test-env-ava.js';

/** @param {Pick<import('./prepare-test-env-ava.js').AsyncLifeTools, 'makeVowKit' | 'zone'>} tools */
const makeTestKit = ({ zone, makeVowKit }) => {
const { resolver, vow } = zone.makeOnce('trigger', makeVowKit);
const { resolver, vow } = zone.makeOnce('trigger', () => makeVowKit());
const waiter = zone.exo('arg', undefined, {
wait(_ignoredArg) {
return vow;
Expand Down

0 comments on commit 332eb05

Please sign in to comment.