mirror of https://github.com/lukechilds/rollup.git
Rich-Harris
9 years ago
4 changed files with 15 additions and 0 deletions
@ -0,0 +1,4 @@ |
|||||
|
module.exports = { |
||||
|
description: 'tracks mutations of aliased objects', |
||||
|
solo: true |
||||
|
}; |
@ -0,0 +1,6 @@ |
|||||
|
import { foo } from './foo'; |
||||
|
|
||||
|
var f = foo; |
||||
|
f.wasMutated = true; |
||||
|
|
||||
|
export var bar = 'whatever'; |
@ -0,0 +1 @@ |
|||||
|
export var foo = {}; |
@ -0,0 +1,4 @@ |
|||||
|
import { foo } from './foo'; |
||||
|
import { bar } from './bar'; |
||||
|
|
||||
|
assert.ok( foo.wasMutated ); |
Loading…
Reference in new issue