mirror of https://github.com/lukechilds/rollup.git
12 lines
321 B
12 lines
321 B
var assert = require( 'assert' );
|
|
|
|
module.exports = {
|
|
description: 'does not export aliased binding under original name (#438)',
|
|
exports: function ( exports ) {
|
|
assert.equal( exports.number, 0 );
|
|
assert.equal( exports.incr(), 1 );
|
|
assert.equal( exports.number, 1 );
|
|
|
|
assert.ok( !( 'count' in exports ) );
|
|
}
|
|
};
|
|
|