Skip to content

Add unit tests for javascript code #71

@hmshwt

Description

@hmshwt

Issue:
There are no unit tests for JS code and running the current tests requires the developer to manually check if all notifications are displayed or not.

Proposed Solution:

  • Write unit tests for JS code with ( mocha, chai)
  • Use the library BATS for testing the shell commands generated by growl.
  • We can also borrow ideas from tests in node-notifier library

I would like to open a pull request for this issue. Please suggest another testing framework or any other libraries that you think will be a better alternative than the choices listed above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions