(e)
| 1033 | }; |
| 1034 | |
| 1035 | const extractCustomPendingMessage = function(e) { |
| 1036 | const fullMessage = e.toString(), |
| 1037 | boilerplateStart = fullMessage.indexOf(Spec.pendingSpecExceptionMessage), |
| 1038 | boilerplateEnd = |
| 1039 | boilerplateStart + Spec.pendingSpecExceptionMessage.length; |
| 1040 | |
| 1041 | return fullMessage.slice(boilerplateEnd); |
| 1042 | }; |
| 1043 | |
| 1044 | Spec.pendingSpecExceptionMessage = '=> marked Pending'; |
| 1045 |
no test coverage detected