mirror of https://github.com/lukechilds/rollup.git
Rich-Harris
8 years ago
4 changed files with 17 additions and 4 deletions
@ -0,0 +1,3 @@ |
|||||
|
module.exports = { |
||||
|
description: 'does not give cryptic error when calling uncallable things (#1257)' |
||||
|
}; |
@ -0,0 +1,3 @@ |
|||||
|
function foo() {} |
||||
|
|
||||
|
export default { foo }; |
@ -0,0 +1,5 @@ |
|||||
|
import foo from './foo.js'; |
||||
|
|
||||
|
assert.throws( function () { |
||||
|
foo(); |
||||
|
}, /is not a function/ ); |
Loading…
Reference in new issue