Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
fengmk2 committed Dec 9, 2023
1 parent 5043902 commit b73a9b9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/asyncDispose.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ describe('test/asyncDispose.test.ts', () => {

describe('dataWithAsyncDispose()', () => {
it('should mock async function with asyncDispose', async () => {
await using data0 = await foo.echo();
assert.equal(data0.hi, 'yes');

mm.dataWithAsyncDispose(foo, 'echo', {
hi: 'no',
});
Expand Down

0 comments on commit b73a9b9

Please sign in to comment.