Code coverage report for newline-regex/index.js

Statements: 100% (2 / 2)      Branches: 100% (0 / 0)      Functions: 100% (0 / 0)      Lines: 100% (2 / 2)      Ignored: none     

All files » newline-regex/ » index.js
1 2 3 4 5 6 7 8 9 10        1       1  
'use strict';
 
// default export
// good for split() and test()
module.exports = /\r?\n/;
 
// export global option
// good for match()
module.exports.g = /\r?\n+/g;