UNPKG

mayank-unit-test

Version:

this package can be used for unit testing of ionic and angular app

31 lines (10 loc) 389 B
# unit-test Used for Unit testing ## Usage Install the package using npm : npm install mayank-unit-test --save Then, require the package and use it: [Comment: To check if this usage is proper] var isNullOrEmpty = require('mayank-unit-test'); console.log(isNullOrEmpty("")); // true console.log(isNullOrEmpty("Hello World")); // false