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.
11 lines
458 B
11 lines
458 B
var assert = require( 'assert' );
|
|
|
|
module.exports = {
|
|
skip: true,
|
|
description: 'resolves pathological cyclical dependencies gracefully',
|
|
buble: true,
|
|
warnings: warnings => {
|
|
assert.equal( warnings.length, warnings );
|
|
assert.ok( /Module .+B\.js may be unable to evaluate without .+A\.js, but is included first due to a cyclical dependency. Consider swapping the import statements in .+main\.js to ensure correct ordering/.test( warnings[0] ) );
|
|
}
|
|
};
|
|
|