Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

noop.js 449B

12345678910111213141516171819202122
  1. 'use strict'
  2. function NOOP () {
  3. const { readInitialCoverage } = require('istanbul-lib-instrument')
  4. return {
  5. instrumentSync (code, filename) {
  6. const extracted = readInitialCoverage(code)
  7. if (extracted) {
  8. this.fileCoverage = extracted.coverageData
  9. } else {
  10. this.fileCoverage = null
  11. }
  12. return code
  13. },
  14. lastFileCoverage () {
  15. return this.fileCoverage
  16. }
  17. }
  18. }
  19. module.exports = NOOP