mirror of https://github.com/lukechilds/rollup.git
Rich-Harris
10 years ago
5 changed files with 30 additions and 7 deletions
@ -0,0 +1,3 @@ |
|||
module.exports = { |
|||
description: 'assumes functions may mutate objects passed in' |
|||
}; |
@ -0,0 +1,3 @@ |
|||
import object from './object'; |
|||
assert.ok( object.mutated ); |
|||
|
@ -0,0 +1,3 @@ |
|||
export default function mutate ( object ) { |
|||
object.mutated = true; |
|||
} |
@ -0,0 +1,6 @@ |
|||
import mutate from './mutate'; |
|||
|
|||
var object = {}; |
|||
mutate( object ); |
|||
|
|||
export default object; |
Loading…
Reference in new issue