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
maybe the behaviour could be specified by calling esmock this way
constmainWithPartialMockedModules=awaitesmock.px('../src/main.js',{},{fs : {readFileSync : ()=>'this function will be merged with other fs definitions';}});constmainWithStrictMockedModules=awaitesmock('../src/main.js',{},{fs : {readFileSync : ()=>'only this function will be defined on fs';}});
the situation reported in this ticket should not happen unless it is specified somehow #51
so instead of something like this
we want something like this to happen instead
The text was updated successfully, but these errors were encountered: