core tests
This commit is contained in:
@@ -396,7 +396,7 @@ describe('AsyncUseCase', () => {
|
||||
expect(customResult.isOk()).toBe(true);
|
||||
const customStream = customResult.unwrap();
|
||||
expect(customStream.chunks).toHaveLength(4);
|
||||
expect(customStream.totalSize).toBe(48);
|
||||
expect(customStream.totalSize).toBe(57);
|
||||
|
||||
// Error case - source not found
|
||||
const notFoundResult = await useCase.execute({ source: 'not-found' });
|
||||
|
||||
Reference in New Issue
Block a user