Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F12551383
index.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
436 B
Referenced Files
None
Subscribers
None
index.js
View Options
// require all test files (files that ends with .spec.js)
const
testsContext
=
require
.
context
(
'./specs'
,
true
,
/\.spec$/
)
testsContext
.
keys
().
forEach
(
testsContext
)
// require all src files except main.js for coverage.
// you can also change this to match only the subset of files that
// you want coverage for.
// const srcContext = require.context('../../src', true, /^\.\/(?!main(\.js)?$)/)
// srcContext.keys().forEach(srcContext)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 14, 10:57 PM (1 d, 1 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
568763
Default Alt Text
index.js (436 B)
Attached To
Mode
rPUFE pleroma-fe-upstream
Attached
Detach File
Event Timeline
Log In to Comment