From e221f0f0c9e0c1fd125291c84b4703e1e8e6e12d Mon Sep 17 00:00:00 2001 From: mohtelsayed Date: Sun, 27 Oct 2024 22:04:37 +0300 Subject: [PATCH] Add Stryker Tool --- .gitignore | 4 +++- stryker.config.json | 14 ++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 stryker.config.json diff --git a/.gitignore b/.gitignore index bcf9d6fe94..b2d687a4b2 100644 --- a/.gitignore +++ b/.gitignore @@ -73,4 +73,6 @@ link-plugins.sh test.sh .docker/** -!**/.gitkeep \ No newline at end of file +!**/.gitkeep +# stryker temp files +.stryker-tmp diff --git a/stryker.config.json b/stryker.config.json new file mode 100644 index 0000000000..ad6f82654d --- /dev/null +++ b/stryker.config.json @@ -0,0 +1,14 @@ +{ + "$schema": "./node_modules/@stryker-mutator/core/schema/stryker-schema.json", + "_comment": "This config was generated using 'stryker init'. Please take a look at: https://stryker-mutator.io/docs/stryker-js/configuration/ for more information.", + "packageManager": "npm", + "reporters": [ + "html", + "clear-text", + "progress", + "dashboard" + ], + "testRunner": "mocha", + "testRunner_comment": "Take a look at https://stryker-mutator.io/docs/stryker-js/mocha-runner for information about the mocha plugin.", + "coverageAnalysis": "perTest" +} \ No newline at end of file