Add support for the --setup flag.
You can now tell api-bench-runner where to local the global setup script via the --setup flag if you choose to have a different folder structure. By default it will look for the setup.js script under the bench folder of the current working directory. If you choose a different convention you can use the --setup flag to explicitly select your setup script.
├── test
│ ├── nested-test-example.bench.js
│ └── simple-test-example.bench.js
├── setup.js
└── lib
└── server.js
Given the above structure you can execute the following command to find all the right scripts:
> node_modules/.bin/api-bench-runner ./test/*.bench.js --setup ./setup.js