FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
pie-lib/scripts/test at develop · pie-framework/pie-lib · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
pie-framework
/
pie-lib
Public
Notifications
You must be signed in to change notification settings
Fork
4
Star
4
Code
Issues
4
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
pie-lib
/
scripts
/
test
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
15 lines (13 loc) · 425 Bytes
Breadcrumbs
pie-lib
/
scripts
/
test
Copy path
File metadata and controls
executable file
·
15 lines (13 loc) · 425 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
#!/usr/bin/env node
const
argv
=
require
(
'minimist'
)
(
process
.
argv
.
slice
(
2
)
)
;
const
{
execSync
}
=
require
(
'child_process'
)
;
const
{
resolve
,
join
}
=
require
(
'path'
)
;
const
cmd
=
`./node_modules/.bin/jest
${
argv
.
scope
?
`packages/
${
argv
.
scope
}
/src`
:
''
}
`
;
console
.
log
(
'cmd: '
,
cmd
)
;
execSync
(
cmd
,
{
stdio
:
'inherit'
,
cwd
:
resolve
(
join
(
__dirname
,
'..'
)
)
,
env
:
Object
.
assign
(
process
.
env
,
{
NODE_ENV
:
'test'
}
)
}
)
;
Back
|
FazBrowse Home
|
New Git URL