How do I determine at run time if the cjs or mjs version is being used from a published module in an app that uses it?

后端 未结 0 1819
一个人的身影
一个人的身影 2021-01-20 13:50

I am attempting to use Jest to mock out middleware from a node module template I created that exports both cjs and mjs versions designated inside sub folders named after tho

相关标签:
回答
  • 消灭零回复
提交回复
热议问题