rishabhsrao/voxel

View on GitHub
tasks/utils/notify-script-test-unit.js

Summary

Maintainability
A
0 mins
Test Coverage
var notify = require("./notify");

module.exports = function notifyScriptTestUnit (exitCode) {
  var message = null;

  if(0 !== exitCode) {
    message = "Some tests failed.";

    notify.showNotification({
      subtitle: "Task script:test:unit",
      message: message,
      appIcon: notify.appIcon.karma
    });
  }
};