UNPKG

newman-run

Version:

Run multiple postman collections along with predefined configs using single feed file. Reduces commandline arguments since reporting (allure, json, cli and html) is embeded internally

13 lines (10 loc) 290 B
const fs = require('fs'); const path = require('path'); module.exports = { getCurrentDirectoryBase: () => { return path.dirname(process.cwd()) + '/' + path.basename(process.cwd()) + '/'; }, directoryExists: (filePath) => { return fs.existsSync(filePath); } };