diff --git a/.eslintrc.json b/.eslintrc.json old mode 100644 new mode 100755 diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml old mode 100644 new mode 100755 diff --git a/.npmignore b/.npmignore old mode 100644 new mode 100755 diff --git a/README.md b/README.md old mode 100644 new mode 100755 diff --git a/docs/mutation/bind-mutation-test-report.js b/docs/mutation/bind-mutation-test-report.js old mode 100644 new mode 100755 diff --git a/docs/mutation/index.html b/docs/mutation/index.html old mode 100644 new mode 100755 diff --git a/docs/mutation/mutation-test-elements.js b/docs/mutation/mutation-test-elements.js old mode 100644 new mode 100755 diff --git a/docs/mutation/stryker-80x80.png b/docs/mutation/stryker-80x80.png old mode 100644 new mode 100755 diff --git a/docs/test-report.html b/docs/test-report.html old mode 100644 new mode 100755 diff --git a/examples/src/app.ts b/examples/src/app.ts old mode 100644 new mode 100755 diff --git a/examples/src/server.ts b/examples/src/server.ts old mode 100644 new mode 100755 diff --git a/jest.config.js b/jest.config.js old mode 100644 new mode 100755 diff --git a/package-lock.json b/package-lock.json old mode 100644 new mode 100755 diff --git a/package.json b/package.json old mode 100644 new mode 100755 diff --git a/src/index.spec.ts b/src/index.spec.ts old mode 100644 new mode 100755 diff --git a/src/index.ts b/src/index.ts old mode 100644 new mode 100755 index b6e90c7292e9de9397b6516b9909581b6f01ef76..035498097113282b7daf9ba6f53c29445511dcbe --- a/src/index.ts +++ b/src/index.ts @@ -141,5 +141,9 @@ export class Metrics { res.status(200) res.end(this._client.register.metrics()) } + + public resetMetrics = (): void => { + this._client.register.resetMetrics() + } } export default Metrics diff --git a/stryker.conf.json b/stryker.conf.json old mode 100644 new mode 100755