Add Unit Tests for UI modules

Proposer

Kiran Kashalkar (RIFT.io)

Type

Requirement (do not modify)

Target MDG/TF

UI

Description

A unit test framework (intern.js), unit tests and a test-runner (intern.js) with coverage analysis should be added for following components of the UI:

  1. Plugin Discovery Module
  2. Message Emmitter Module

Demo or definition of done

Should display results from the test-runner. Overall line coverage target should be 80%+.