FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
rxjs/wallaby.js at master · javascriptDC/rxjs · GitHub
javascriptDC
/
rxjs
Public
forked from
ReactiveX/rxjs
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
rxjs
/
wallaby.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
44 lines (36 loc) · 968 Bytes
Breadcrumbs
rxjs
/
wallaby.js
Copy path
File metadata and controls
44 lines (36 loc) · 968 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
41
42
43
44
module
.
exports
=
wallaby
=>
(
{
files
:
[
'src/**/*.ts'
,
{
pattern
:
'spec/helpers/*.ts'
,
instrument
:
false
}
]
,
tests
:
[
'spec/**/*-spec.ts'
]
,
compilers
:
{
'**/*.ts'
:
wallaby
.
compilers
.
typeScript
(
{
module
:
1
,
// commonjs
target
:
1
,
// ES5
preserveConstEnums
:
true
,
}
)
}
,
testFramework
:
{
type
:
'mocha'
,
path
:
'mocha'
}
,
env
:
{
type
:
'node'
}
,
workers
:
{
initial
:
1
,
regular
:
1
}
,
bootstrap
:
function
(
w
)
{
// Global test helpers
global
.
mocha
=
require
(
'mocha'
)
;
global
.
Suite
=
global
.
mocha
.
Suite
;
global
.
Test
=
global
.
mocha
.
Test
;
//delete global context due to avoid issue by reusing process
//https://github.com/wallabyjs/public/issues/536
if
(
global
.
asDiagram
)
{
delete
global
.
asDiagram
;
}
const
mocha
=
wallaby
.
testFramework
;
const
path
=
require
(
'path'
)
;
mocha
.
ui
(
path
.
resolve
(
w
.
projectCacheDir
,
'spec/helpers/testScheduler-ui'
)
)
;
}
}
)
;
Back
|
FazBrowse Home
|
New Git URL