2019-12-22 17:07:55 +00:00
|
|
|
import Input from './input';
|
|
|
|
|
|
|
|
describe('Input', () => {
|
|
|
|
describe('getFromUser', () => {
|
|
|
|
it('does not throw', () => {
|
|
|
|
expect(() => Input.getFromUser()).not.toThrow();
|
|
|
|
});
|
2020-01-27 22:03:29 +00:00
|
|
|
|
|
|
|
it('returns an object', () => {
|
|
|
|
expect(typeof Input.getFromUser()).toStrictEqual('object');
|
|
|
|
});
|
2019-12-22 17:07:55 +00:00
|
|
|
});
|
|
|
|
});
|