diff --git a/index.js b/index.js index 24c2147..2b38ee0 100644 --- a/index.js +++ b/index.js @@ -13,7 +13,7 @@ const cfg = {}; try { const config = (require(path.join(process.cwd(), 'package.json')) || {})['jest-junit']; if (config) { - Object.assign(pgk, config); + Object.assign(cfg, config); } } catch (e) { //don't blowup if there was an error...just skip