Skip to content

Commit

Permalink
chore: fix build on latest typings (open-telemetry#1035)
Browse files Browse the repository at this point in the history
  • Loading branch information
dyladan authored May 7, 2020
1 parent c454d6c commit 8a29221
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -522,8 +522,5 @@ describe('PrometheusExporter', () => {
});

function errorHandler(done: Mocha.Done): (err: Error) => void {
return () => {
assert.ok(false, 'error getting metrics');
done();
};
return err => done(err);
}

0 comments on commit 8a29221

Please sign in to comment.