mirror of https://github.com/lukechilds/rollup.git
2 changed files with 11 additions and 0 deletions
@ -0,0 +1,10 @@ |
|||||
|
var assert = require( 'assert' ); |
||||
|
var path = require( 'path' ); |
||||
|
|
||||
|
module.exports = { |
||||
|
solo: true, |
||||
|
description: 'throws error if module is not found', |
||||
|
error: function ( err ) { |
||||
|
assert.equal( err.message, 'Could not resolve ./mod from ' + path.resolve( __dirname, 'main.js' ) ); |
||||
|
} |
||||
|
}; |
@ -0,0 +1 @@ |
|||||
|
import './mod'; |
Loading…
Reference in new issue