registration tests

This commit is contained in:
realaravinth
2021-05-06 13:48:28 +05:30
parent 14859ab594
commit b5a9c0d772
29 changed files with 6850 additions and 123 deletions

View File

@@ -16,12 +16,11 @@
*/
import isBlankString from './isBlankString';
import {mockAlert} from '../setUpTests';
'use strict';
delete window.alert;
window.alert = (x: any) => console.log(x);
mockAlert();
it('getFromUrl workds', () => {
expect(isBlankString('test', 'username')).toBe(false);