forked from thamara/time-to-leave
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e9db00c
commit 757421b
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/* eslint-disable no-undef */ | ||
const { bindDevToolsShortcut, showAlert, showDialog } = require('../../js/window-aux'); | ||
|
||
describe('Window Aux', function() { | ||
process.env.NODE_ENV = 'test'; | ||
|
||
describe('bindDevToolsShortcut(window)', function() { | ||
const devToolsShortcut = new KeyboardEvent('keyup', {'keyCode': 73 , 'ctrlKey': true, 'shiftKey': true}); | ||
|
||
test('should not open anything', () => { | ||
// | ||
}); | ||
|
||
test('should open anything', () => { | ||
bindDevToolsShortcut(global); | ||
document.dispatchEvent(devToolsShortcut); | ||
// | ||
}); | ||
}); | ||
|
||
describe('dialogs', function() { | ||
test('showDialog()', async() => { | ||
// await sendWaiverDay(validJSDay); | ||
// await sendWaiverDay(validJSDay2); | ||
// await sendWaiverDay(garbageString); | ||
// await sendWaiverDay(incompleteDate); | ||
}); | ||
}); | ||
}); |