MCPcopy Create free account
hub / github.com/easydiffusion/easydiffusion / extractCustomPendingMessage

Function extractCustomPendingMessage

ui/plugins/ui/jasmine/jasmine.js:990–996  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

988 }
989
990 const extractCustomPendingMessage = function(e) {
991 const fullMessage = e.toString(),
992 boilerplateStart = fullMessage.indexOf(Spec.pendingSpecExceptionMessage),
993 boilerplateEnd = boilerplateStart + Spec.pendingSpecExceptionMessage.length
994
995 return fullMessage.slice(boilerplateEnd)
996 }
997
998 Spec.pendingSpecExceptionMessage = "=> marked Pending"
999

Callers 1

jasmine.jsFile · 0.85

Calls 1

toStringMethod · 0.80

Tested by

no test coverage detected