mirror of https://github.com/lukechilds/rollup.git
Rich-Harris
10 years ago
5 changed files with 35 additions and 5 deletions
@ -1,6 +1,5 @@ |
|||
module.exports = { |
|||
description: 'does not bind default exports', |
|||
skip: true |
|||
description: 'does not bind default exports' |
|||
}; |
|||
|
|||
// test copied from https://github.com/esnext/es6-module-transpiler/tree/master/test/examples/export-default
|
|||
|
@ -1,6 +1,6 @@ |
|||
import value from './foo'; |
|||
import { change } from './foo'; |
|||
|
|||
assert.equal(value, 42); |
|||
assert.equal( value, 42 ); |
|||
change(); |
|||
assert.equal( value, 42, 'default export should not be bound' ); |
|||
|
Loading…
Reference in new issue