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

14 lines
307 B
JavaScript
Raw Normal View History

2020-01-29 21:22:26 +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');
});
});
});