mirror of https://github.com/lukechilds/rollup.git
13 lines
321 B
13 lines
321 B
9 years ago
|
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 ) );
|
||
|
}
|
||
|
};
|