@ -338,6 +338,7 @@ describe( 'rollup', function () {
if ( dir [ 0 ] === '.' ) return ; // .DS_Store...
if ( dir [ 0 ] === '.' ) return ; // .DS_Store...
describe ( dir , function ( ) {
describe ( dir , function ( ) {
process . chdir ( SOURCEMAPS + '/' + dir ) ;
var config = loadConfig ( SOURCEMAPS + '/' + dir + '/_config.js' ) ;
var config = loadConfig ( SOURCEMAPS + '/' + dir + '/_config.js' ) ;
var entry = path . resolve ( SOURCEMAPS , dir , 'main.js' ) ;
var entry = path . resolve ( SOURCEMAPS , dir , 'main.js' ) ;
@ -349,6 +350,7 @@ describe( 'rollup', function () {
PROFILES . forEach ( function ( profile ) {
PROFILES . forEach ( function ( profile ) {
( config . skip ? it . skip : config . solo ? it . only : it ) ( 'generates ' + profile . format , function ( ) {
( config . skip ? it . skip : config . solo ? it . only : it ) ( 'generates ' + profile . format , function ( ) {
process . chdir ( SOURCEMAPS + '/' + dir ) ;
return rollup . rollup ( options ) . then ( function ( bundle ) {
return rollup . rollup ( options ) . then ( function ( bundle ) {
var options = extend ( { } , {
var options = extend ( { } , {
format : profile . format ,
format : profile . format ,