Skip to content

Instantly share code, notes, and snippets.

@avantassel
Created February 10, 2017 17:24
Show Gist options
  • Save avantassel/319bce34a0c304bbd4b15bdb91b48707 to your computer and use it in GitHub Desktop.
Save avantassel/319bce34a0c304bbd4b15bdb91b48707 to your computer and use it in GitHub Desktop.
Bash script for load testing npm test
#!/bin/bash
for x in {1..100} ; do echo "$x runs"; npm test ||break;sleep 5; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment