mirror of https://github.com/lukechilds/rollup.git
Rich Harris
10 years ago
2 changed files with 10 additions and 0 deletions
@ -0,0 +1,8 @@ |
|||||
|
var assert = require( 'assert' ); |
||||
|
|
||||
|
module.exports = { |
||||
|
description: 'does not hang on missing module (#53)', |
||||
|
error: function ( error ) { |
||||
|
assert.ok( /Could not find package unlessYouCreatedThisFileForSomeReason/.test( error.message ) ); |
||||
|
} |
||||
|
}; |
@ -0,0 +1,2 @@ |
|||||
|
import doesNotExist from 'unlessYouCreatedThisFileForSomeReason'; |
||||
|
doesNotExist(); |
Loading…
Reference in new issue