mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-27 05:00:48 +08:00
3 lines
166 B
JavaScript
3 lines
166 B
JavaScript
|
// require all test files (files that ends with .spec.js)
|
||
|
const testsContext = require.context('./specs', true, /\.spec$/);
|
||
|
testsContext.keys().forEach(testsContext);
|