unity-builder/src/model/input.test.js

14 lines
307 B
JavaScript
Raw Normal View History

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();
});
it('returns an object', () => {
expect(typeof Input.getFromUser()).toStrictEqual('object');
});
2019-12-22 17:07:55 +00:00
});
});