Skip to content

Commit

Permalink
Merge branch 'master' into matt-ball-patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-ball authored Oct 19, 2023
2 parents 797f53b + 8a87c35 commit 729176c
Show file tree
Hide file tree
Showing 3 changed files with 9,090 additions and 1,399 deletions.
10 changes: 6 additions & 4 deletions newman.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@ const newman = require('newman')

const config = [{
collection: 'postman_collection.json',
environment: 'postman_environment.json'
environment: 'postman_environment.json',
reporters: 'htmlextra'
}, {
collection: 'postman_echo.json'
collection: 'postman_echo.json',
reporters: 'htmlextra'
}]

const runs = config.map((cfg, i) => {
Expand All @@ -16,6 +18,6 @@ const runs = config.map((cfg, i) => {
})
})

Promise.all(runs).then((results) => {
console.log(results)
Promise.all(runs).then(() => {
console.log('Done')
})
Loading

0 comments on commit 729176c

Please sign in to comment.