mirror of
https://github.com/sveltejs/svelte.git
synced 2024-12-01 17:30:59 +01:00
11 lines
264 B
JavaScript
11 lines
264 B
JavaScript
const glob = require( 'glob' );
|
|
|
|
require( './setup' );
|
|
|
|
glob.sync( '**/__test__.js', { cwd: 'src' }).forEach( function ( file ) {
|
|
require( '../src/' + file );
|
|
});
|
|
|
|
glob.sync( '*/index.js', { cwd: 'test' }).forEach( function ( file ) {
|
|
require( './' + file );
|
|
}); |