We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 06df61f commit 93c7955Copy full SHA for 93c7955
globalTeardown.js
@@ -1,8 +1,7 @@
1
const Pyroscope = require('@pyroscope/nodejs');
2
3
-module.exports = (config) => {
+module.exports = async (config) => {
4
if (process.env.CI) {
5
- Pyroscope.stopCpuProfiling();
6
- Pyroscope.stopHeapProfiling();
+ await Pyroscope.stop();
7
}
8
};
package.json
@@ -165,7 +165,7 @@
165
"zod": "^3.22.3"
166
},
167
"optionalDependencies": {
168
- "@pyroscope/nodejs": "^0.2.9"
+ "@pyroscope/nodejs": "0.4.5"
169
170
"resolutions": {
171
"jquery": "^3.6.4",
0 commit comments