stonksjs
Version:
Algotrading utility scripts. To the moon!!! 🚀🚀🚀
16 lines (13 loc) • 405 B
JavaScript
const screener = require('../potential-breakouts');
describe('potential-breakouts', () => {
it('should resolve the promise', async () => {
await expect(screener()).toResolve();
});
it('should return an array of stings', async () => {
const response = await screener();
expect(response).toBeArray();
response.forEach((value) => {
expect(value).toBeString();
});
});
});