mirror of https://github.com/lukechilds/rollup.git
Rich Harris
9 years ago
4 changed files with 21 additions and 1 deletions
@ -0,0 +1,8 @@ |
|||||
|
var assert = require( 'assert' ); |
||||
|
|
||||
|
module.exports = { |
||||
|
description: 'reexporting a missing identifier should print an error', |
||||
|
error: function ( error ) { |
||||
|
assert.ok( /^'foo' is not exported/.test( error.message ) ); |
||||
|
} |
||||
|
}; |
@ -0,0 +1 @@ |
|||||
|
// this space left intentionally blank
|
@ -0,0 +1 @@ |
|||||
|
export { foo as bar } from './empty.js'; |
Loading…
Reference in new issue