+"const { tracingChannel: tr_ch_apm_tracingChannel } = require(\"diagnostics_channel\");\nconst tr_ch_apm$unitTestCjs = tr_ch_apm_tracingChannel(\"orchestrion:pkg-1:unitTestCjs\");\nclass Foo {\n    constructor(){\n        this.name = 'foo';\n    }\n    doStuff() {\n        const __apm$original_args = arguments;\n        const __apm$traced = async ()=>{\n            const __apm$wrapped = async ()=>{\n                return 'doing stuff';\n            };\n            return __apm$wrapped.apply(null, __apm$original_args);\n        };\n        if (!tr_ch_apm$unitTestCjs.hasSubscribers) return __apm$traced();\n        return tr_ch_apm$unitTestCjs.tracePromise(__apm$traced, {\n            arguments,\n            self: this,\n            moduleVersion: \"1.0.0\"\n        });\n    }\n}\nmodule.exports = Foo;\n"
0 commit comments