FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
patternfly-react/.github/split.mjs at main · patternfly/patternfly-react · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
patternfly
/
patternfly-react
Public
Notifications
You must be signed in to change notification settings
Fork
392
Star
862
Code
Issues
215
Pull requests
24
Discussions
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
patternfly-react
/
.github
/
split.mjs
Copy path
More file actions
More file actions
Latest commit
History
History
History
15 lines (12 loc) · 470 Bytes
Breadcrumbs
patternfly-react
/
.github
/
split.mjs
Copy path
File metadata and controls
15 lines (12 loc) · 470 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
/* eslint-disable no-console */
import
fs
from
'node:fs'
;
import
path
from
'node:path'
;
const
BASE_DIR
=
path
.
resolve
(
import
.
meta
.
dirname
,
'../packages/react-integration/cypress/integration'
)
;
const
WORKER_NUM
=
+
process
.
env
.
WORKER_NUM
;
const
WORKER_COUNT
=
+
process
.
env
.
WORKER_COUNT
;
const
testFiles
=
fs
.
readdirSync
(
BASE_DIR
)
.
sort
(
)
.
filter
(
(
_
,
i
)
=>
i
%
WORKER_COUNT
===
WORKER_NUM
)
.
map
(
(
f
)
=>
path
.
join
(
BASE_DIR
,
f
)
)
;
console
.
log
(
testFiles
.
join
(
' '
)
)
;
Back
|
FazBrowse Home
|
New Git URL