[NPMBUILD-5] Add a JS test case Created: 04/Feb/16  Updated: 15/Feb/16  Resolved: 15/Feb/16

Status: Closed
Project: Magnolia light-module build tools
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Neutral
Reporter: Maxime Michel Assignee: Maxime Michel
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Sprint: Basel 30
Story Points: 5

 Description   

Like all quality Node modules, npm-build-tools should be testable with 'npm test'. This is an attempt at it, covering every method with unit tests. I used Mocha as a testing framework, and should.js as assertion library.



 Comments   
Comment by Maxime Michel [ 12/Feb/16 ]

Node isn't installed on Jenkins, which tries to run the test case automatically: https://jenkins.magnolia-cms.com/job/build_npm-build-tools/9/console

Generated at Mon Feb 12 06:00:53 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.