mirror of https://github.com/lukechilds/rollup.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
285 B
10 lines
285 B
9 years ago
|
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' ) );
|
||
|
}
|
||
|
};
|