diff --git a/src/lib/cypress-testrail-reporter.ts b/src/lib/cypress-testrail-reporter.ts index 9e5f91c..6cea85f 100644 --- a/src/lib/cypress-testrail-reporter.ts +++ b/src/lib/cypress-testrail-reporter.ts @@ -85,7 +85,7 @@ ${test.err}`, ); return; } - let executionDateTime = moment().format('MMM Do YYYY, HH:mm') + let executionDateTime = moment().format('MMM Do YYYY, HH:mm'); let total = this.passes + this.fails + this.pending; let name = `${reporterOptions.runName || 'Automated test run'} ${executionDateTime}`; let description = `Automated test run executed on ${executionDateTime} diff --git a/tsconfig.json b/tsconfig.json index d7806c3..6a8abb3 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -10,7 +10,8 @@ "noImplicitAny": false, "pretty": true, "outDir": "dist", - "typeRoots": ["node_modules/@types"] + "typeRoots": ["node_modules/@types"], + "lib": [ "es2017", "dom" ] }, "exclude": [ "node_modules",