diff --git a/test/function/samples/resolveid-is-entry/_config.js b/test/function/samples/resolveid-is-entry/_config.js index 2cbc44ca45e..fc810508a42 100644 --- a/test/function/samples/resolveid-is-entry/_config.js +++ b/test/function/samples/resolveid-is-entry/_config.js @@ -1,7 +1,7 @@ const assert = require('assert'); const path = require('path'); -const ID_MAIN = path.join(__dirname, 'main.js'); +const ID_MAIN = path.resolve(__dirname, 'main.js'); module.exports = { description: 'sends correct isEntry information to resolveId hooks',