Add action logic

This commit is contained in:
Webber
2020-01-29 20:46:51 +01:00
committed by Webber Takken
parent 8269c18142
commit 02967cea9e
12 changed files with 299 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');
});
});
});