We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be2c1cd commit c881d93Copy full SHA for c881d93
1 file changed
test-other/integration_check_lib.mjs
@@ -73,9 +73,7 @@ export async function sendMetric(metric) {
73
74
for (const [timestamp, value] of testPoints) {
75
datadogMetrics[metric.type](metric.name, value, metric.tags, timestamp);
76
- await new Promise((resolve, reject) => {
77
- datadogMetrics.flush(resolve, reject);
78
- });
+ await datadogMetrics.flush();
79
}
80
81
0 commit comments