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
342 B
13 lines
342 B
9 years ago
|
var assert = require( 'assert' );
|
||
|
|
||
|
module.exports = {
|
||
|
solo: true,
|
||
|
|
||
|
error: function ( err ) {
|
||
|
console.log( err.message );
|
||
|
// assert.equal( path.normalize(err.file), path.resolve( __dirname, 'main.js' ) );
|
||
|
// assert.deepEqual( err.loc, { line: 8, column: 0 });
|
||
|
assert.ok( /Export "foo" is not defined by/.test( err.message ) );
|
||
|
}
|
||
|
};
|