npm i -D cli-e2e
const cliPath = path.join(__dirname, 'cli.js');
const cliProcess = cmd.create(cliPath, '.');
test('should return "Hello"', async () => {
const response = await cliProcess.execute(['Hello']);
expect(response).toEqual('Hello');
});
For more documentation, please check ./doc/index.html
.
Please consult CONTRIBUTING for guidelines on contributing to this project.
Thanks goes to these wonderful people (emoji key):
Maximilian Berkmann 💻 🚇 📖 🚧 🤔 |
Andrés Zorro 🤔 💻 |
This project follows the all-contributors specification. Contributions of any kind welcome!
Special thanks to @zorrodg for making the original JS code