Add action logic

This commit is contained in:
Webber
2020-01-29 22:22:26 +01:00
committed by Webber Takken
parent d105f8c891
commit d6c937fe37
14 changed files with 346 additions and 0 deletions

13
src/model/input.test.js Normal file
View File

@@ -0,0 +1,13 @@
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');
});
});
});