Skip to content

Commit f1fead2

Browse files
authored
chore(api): manually read stream in test otherwise test is hanging
1 parent 76a938d commit f1fead2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

api/tests/certification/session-management/integration/domain/usecases/upload-cpf-files_test.js

+2
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ describe('Integration | UseCase | upload-cpf-files', function () {
2121
this.push(null);
2222
},
2323
});
24+
// we need to manually read stream otherwise test is hanging
25+
readableStream.read();
2426

2527
// when, then
2628
await uploadCpfFiles({

0 commit comments

Comments
 (0)