Show devtools on right click in specs window.
This commit is contained in:
parent
02de9c3b39
commit
52a3dc8c9d
1 changed files with 5 additions and 0 deletions
|
@ -8,6 +8,11 @@
|
|||
|
||||
<script type="text/javascript" charset="utf-8">
|
||||
(function() {
|
||||
// Show DevTools.
|
||||
document.oncontextmenu = function(e) {
|
||||
require('remote').getCurrentWindow().inspectElement(e.clientX, e.clientY);
|
||||
}
|
||||
|
||||
require('coffee-script'); // Supports .coffee tests.
|
||||
|
||||
var Mocha = require('mocha');
|
||||
|
|
Loading…
Add table
Reference in a new issue