You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// async-spec.jsconstsnapshot=require('.')it.only('promise to snapshot (does nothing!)',()=>{// straight into snapshot comparison does not workreturnPromise.resolve(20).then(snapshot)})
The reported stack does not have "async-spec.js" at all, instead only has
functionsnapshot(what,update){constsites=stackSites()if(sites.length<3){// hmm, maybe there is test (like we are inside Cypress)if(this&&this.test&&this.test.title){debug('no callsite, but have test title "%s"',this.test.title)returnthis.test.title}debug(sites)constmsg='Do not have caller function callsite'thrownewError(msg)}
See src/async-spec.js test "promise to snapshot"
The reported stack does not have "async-spec.js" at all, instead only has
The text was updated successfully, but these errors were encountered: