issues
search
daniellockyer
/
mocha-github-actions-reporter
Custom reporter for Mocha which outputs Github Actions annotations
MIT License
7
stars
5
forks
source link
Simplified a few things
#8
Closed
fearphage
closed
4 years ago
fearphage
commented
4 years ago
removed the almost empty
index.js
at the root
removed single-use variables from
lib/index.js
: All the code here is run once so there's no performance improvement to worry about, and accessing the properties directly from
mocha
makes it obvious where they came from.
daniellockyer
commented
4 years ago
Thanks @fearphage!
index.js
at the rootlib/index.js
: All the code here is run once so there's no performance improvement to worry about, and accessing the properties directly frommocha
makes it obvious where they came from.