titef icon indicating copy to clipboard operation
titef copied to clipboard

TypeError: Cannot read property 'processed' of undefined

Open cebaa opened this issue 5 years ago • 1 comments

Using empty string in spec name, e.g.:

suite('abc,' () =>
  spec('', () => {})
)

produces this error:

TypeError: Cannot read property 'processed' of undefined

Easy workaround, just unexpected :)

Thanks for the awesome small library btw! Joy to work with!

cebaa avatar May 30 '20 20:05 cebaa

Hello @cebaa and thanks for taking time to file this issue (:

I think the job to be done on that closely relates to what needs to be done in https://github.com/shikaan/titef/issues/27 so we might be working on a fix for both at the same time :)

If you want to jump on the fix yourself, be my guest! I'd be happy to clarify and help, should anything be unclear

shikaan avatar May 31 '20 19:05 shikaan