|
@ -464,7 +464,7 @@ describe( 'rollup', function () { |
|
|
return rollup.rollup({ |
|
|
return rollup.rollup({ |
|
|
entry: path.join( INCREMENTAL, 'not-transform-twice', 'main.js' ), |
|
|
entry: path.join( INCREMENTAL, 'not-transform-twice', 'main.js' ), |
|
|
plugins: [counter], |
|
|
plugins: [counter], |
|
|
bundle |
|
|
cache: bundle |
|
|
}); |
|
|
}); |
|
|
}).then( function ( bundle ) { |
|
|
}).then( function ( bundle ) { |
|
|
assert.equal( calls, 2 ); |
|
|
assert.equal( calls, 2 ); |
|
@ -509,7 +509,7 @@ describe( 'rollup', function () { |
|
|
return rollup.rollup({ |
|
|
return rollup.rollup({ |
|
|
entry: path.join( INCREMENTAL, 'transform-changed', 'main.js' ), |
|
|
entry: path.join( INCREMENTAL, 'transform-changed', 'main.js' ), |
|
|
plugins: [counter], |
|
|
plugins: [counter], |
|
|
bundle |
|
|
cache: bundle |
|
|
}); |
|
|
}); |
|
|
}).then( function ( bundle ) { |
|
|
}).then( function ( bundle ) { |
|
|
assert.equal( calls, 3 ); |
|
|
assert.equal( calls, 3 ); |
|
|