mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-11 10:05:41 +00:00
registration tests
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user