naive-ui/test/unit/index.js

11 lines
418 B
JavaScript
Raw Normal View History

2019-07-02 18:08:59 +08:00
// import 'core-js/stable'
import 'regenerator-runtime/runtime'
2019-06-21 23:23:58 +08:00
// require all coverage files
// const packagesContext = require.context('../../packages', true, /\.js$/)
// packagesContext.keys().forEach(packagesContext)
2019-05-24 14:41:33 +08:00
// require all test files (files that ends with .spec.js)
2019-10-15 15:52:47 +08:00
const testsContext = require.context('./specs/packages/common/Pagination', true, /\.spec.js$/)
2019-06-04 11:30:56 +08:00
testsContext.keys().forEach(testsContext)