Skip to content

Instantly share code, notes, and snippets.

@neverendingqs
Created August 18, 2018 01:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save neverendingqs/93751ca85e79c79ac3f835a0cae3e85a to your computer and use it in GitHub Desktop.
Save neverendingqs/93751ca85e79c79ac3f835a0cae3e85a to your computer and use it in GitHub Desktop.
2017/03/13/ensure-all-nock-interceptors-are-used.html - testfix.js
return Promise.all(
Array(5).fill(0).map(i =>
request(app)
.get('/')
.then(res => assert.equal(res.text, uniqueValue));
)
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment