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.
13 lines
394 B
13 lines
394 B
var assert = require( 'assert' );
|
|
|
|
module.exports = {
|
|
description: 'does not hang on missing module (#53)',
|
|
options: {
|
|
onwarn: function ( msg ) {
|
|
assert.equal( "Treating 'unlessYouCreatedThisFileForSomeReason' as external dependency", msg );
|
|
}
|
|
},
|
|
runtimeError: function ( error ) {
|
|
assert.equal( "Cannot find module 'unlessYouCreatedThisFileForSomeReason'", error.message );
|
|
}
|
|
};
|
|
|