FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
JavaScriptButtons/test/lib/runner.js at master · rv0/JavaScriptButtons · GitHub
rv0
JavaScriptButtons
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
JavaScriptButtons
/
test
/
lib
/
runner.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
40 lines (32 loc) · 647 Bytes
Breadcrumbs
JavaScriptButtons
/
test
/
lib
/
runner.js
Copy path
File metadata and controls
40 lines (32 loc) · 647 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*global require, window, module */
require
.
config
(
{
paths
:
{
"mocha"
:
"../../node_modules/mocha/mocha"
,
"chai"
:
"../../node_modules/chai/chai"
}
}
)
;
(
function
(
module
)
{
'use strict'
;
if
(
typeof
window
!==
'undefined'
)
{
require
.
config
(
{
shim
:
{
'mocha'
:
{
init
:
function
(
)
{
return
this
.
mocha
;
}
}
}
}
)
;
require
(
[
'require'
,
'chai'
,
'mocha'
]
,
function
(
require
,
chai
,
mocha
)
{
var
should
=
chai
.
should
(
)
;
mocha
.
setup
(
'bdd'
)
;
require
(
[
'../spec/test'
]
,
function
(
)
{
mocha
.
run
(
)
;
}
)
;
}
)
;
}
}
(
typeof
module
===
'undefined'
?
{
}
:
module
)
)
;
/*global module:false */
Back
|
FazBrowse Home
|
New Git URL