diff --git a/test/form/samples/quote-id/_config.js b/test/form/samples/quote-id/_config.js index 9a2bbccf800..b78285b3a0f 100644 --- a/test/form/samples/quote-id/_config.js +++ b/test/form/samples/quote-id/_config.js @@ -22,14 +22,8 @@ module.exports = { plugins: [ { resolveId(id) { - if (id === 'external1') { - return { id: external1, external: true }; - } - if (id === 'external2') { - return { id: external2, external: true }; - } - if (id === 'external3') { - return { id: external3, external: true }; + if (id.startsWith('external')) { + return { id, external: true }; } } }