mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-21 04:50:14 +08:00
8 lines
326 B
JavaScript
8 lines
326 B
JavaScript
// require all coverage files
|
|
// const packagesContext = require.context('../../packages', true, /\.js$/)
|
|
// packagesContext.keys().forEach(packagesContext)
|
|
|
|
// require all test files (files that ends with .spec.js)
|
|
const testsContext = require.context('./specs', true, /\.spec.js$/)
|
|
testsContext.keys().forEach(testsContext)
|