-
Notifications
You must be signed in to change notification settings - Fork 85
Conversation
I have opened an issue with rollup to investigate this further as it seems you have stumbled across a bug here: rollup/rollup#1992 |
I just cloned this and linked in the current build of Rollup and it is definitely working for me with that test. |
Ah, spoke too soon... looking into it :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As the latest rollup release should now contain the proper fix for the test regression, I would like you to revert the test changes as IMO, the old version much better showed what the test was about.
test/test.js
Outdated
@@ -369,7 +369,7 @@ describe( 'rollup-plugin-node-resolve', function () { | |||
}) | |||
] | |||
}).then( bundle => { | |||
assert.deepEqual( bundle.imports.sort(), [] ); | |||
assert.equal( bundle.modules.length, 2 ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The latest release of rollup should fix these test regressions.
I reverted the test changes. |
Unblocks #140
Not sure why the test change was necessary, but the new assertion tests the same thing.