mirror of https://github.com/lukechilds/rollup.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
277 B
14 lines
277 B
var assert = require( 'assert' );
|
|
|
|
var Math = {};
|
|
|
|
module.exports = {
|
|
description: 'side-effects to assumed globals are included',
|
|
context: {
|
|
Math: Math
|
|
},
|
|
exports: function ( exports ) {
|
|
assert.equal( Math.square( 3 ), 9 );
|
|
assert.equal( Math.cube( 3 ), 27 );
|
|
}
|
|
};
|
|
|