12 lines
212 B
JavaScript
12 lines
212 B
JavaScript
'use strict';
|
|
|
|
const os = require('os');
|
|
|
|
// This function simply provides roundabout way of getting os.EOL
|
|
// so we can mock this for Jest tests
|
|
function getOsEl() {
|
|
return os.EOL;
|
|
}
|
|
|
|
module.exports = getOsEl;
|