Skip to content

Commit

Permalink
Update asyncComputed.spec.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsoncodehk committed Dec 24, 2024
1 parent 22b1986 commit d1a14c0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/asyncComputed.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import { expect, test } from 'vitest';
import { asyncComputed, asyncEffect } from '../src';
import { unstable } from '../src';
import { signal } from './api';

const { asyncComputed, asyncEffect } = unstable;

test('should track dep after await', async () => {
const src = signal(0);
const c = asyncComputed(async function* () {
Expand Down

0 comments on commit d1a14c0

Please sign in to comment.