What is instrumentation in nyc istanbul?
问题 What is instumentation used in nyc? nyc's instrument command can be used to instrument source files outside of the context of your unit-tests: I assume it will do coverage outside unit-testing. I tried it with nyc instrument src coverage/instrument then run the application and tries hitting an endpoint npm start but when I do above, it doesn't generate a file in nyc_output thus can't report anything. Do I have to finish the nyc instrument command? how to do so? 回答1: nyc instrument is used to