@@ -121,7 +121,7 @@ describe("do-try.ts", () => {
121121 } ) ;
122122
123123 describe ( "Do.configure" , ( ) => {
124- it ( "When defaultErrorHandler configured and no catch() in call chain, then defaultErrorHandler is still executed" , async ( ) => {
124+ it ( "When defaultErrorHandler configured and catch() is in call chain, then defaultErrorHandler is still executed" , async ( ) => {
125125 // Arrange
126126 const defaultErrorHandler : CatchHandler < any > = jest . fn ( ) ;
127127 Do . configure ( { defaultErrorHandler } ) ;
@@ -140,7 +140,7 @@ describe("do-try.ts", () => {
140140 expect . assertions ( 2 ) ;
141141 } ) ;
142142
143- it ( "When defaultErrorHandler configured and catch() is in call chain, the defaultErrorHandler is still executed" , async ( ) => {
143+ it ( "When defaultErrorHandler configured and no catch() is in call chain, the defaultErrorHandler is still executed" , async ( ) => {
144144 // Arrange
145145 const defaultErrorHandler : CatchHandler < any > = jest . fn ( ) ;
146146 Do . configure ( { defaultErrorHandler } ) ;
@@ -243,7 +243,7 @@ describe("do-try.ts", () => {
243243 } ) ;
244244
245245 describe ( "DoSync.configure" , ( ) => {
246- it ( "When defaultErrorHandler configured and no catch() in call chain, then defaultErrorHandler is still executed" , ( ) => {
246+ it ( "When defaultErrorHandler configured and catch() in call chain, then defaultErrorHandler is still executed" , ( ) => {
247247 // Arrange
248248 const defaultErrorHandler : CatchHandler < any > = jest . fn ( ) ;
249249 DoSync . configure ( { defaultErrorHandler } ) ;
@@ -262,7 +262,7 @@ describe("do-try.ts", () => {
262262 expect ( defaultErrorHandler ) . toHaveBeenCalled ( ) ;
263263 } ) ;
264264
265- it ( "When defaultErrorHandler configured and catch() is in call chain, the defaultErrorHandler is still executed" , ( ) => {
265+ it ( "When defaultErrorHandler configured and no catch() is in call chain, the defaultErrorHandler is still executed" , ( ) => {
266266 // Arrange
267267 const defaultErrorHandler : CatchHandler < any > = jest . fn ( ) ;
268268 DoSync . configure ( { defaultErrorHandler } ) ;
0 commit comments