diff --git a/debian/patches/fix-testsuite-for-new-rollup.patch b/debian/patches/fix-testsuite-for-new-rollup.patch index fe26623..2f47a55 100644 --- a/debian/patches/fix-testsuite-for-new-rollup.patch +++ b/debian/patches/fix-testsuite-for-new-rollup.patch @@ -1,7 +1,7 @@ Description: fix test for rollup ≥ 1.32.1 Author: Xavier Guimard Forwarded: not-needed -Last-Update: 2020-09-21 +Last-Update: 2020-10-05 --- a/legacy/test/test.js +++ b/legacy/test/test.js @@ -19,7 +19,23 @@ ); } }); -@@ -693,44 +694,6 @@ +@@ -627,6 +628,7 @@ + assert.equal((await executeBundle(bundle)).exports, 'Virtual export'); + }); + ++ /* + it('does not produce warnings when importing .mjs without default export', async () => { + const bundle = await rollup({ + input: 'main.mjs', +@@ -661,6 +663,7 @@ + }); + assert.deepEqual((await executeBundle(bundle)).exports, { result: 'from esm' }); + }); ++ */ + + it('produces optimized code when importing esm with a known default export', async () => { + const bundle = await rollup({ +@@ -693,44 +696,6 @@ module.exports = main; `