diff --git a/packages/node-loader/test/index.js b/packages/node-loader/test/index.js index e160f0a30..9c68167e1 100644 --- a/packages/node-loader/test/index.js +++ b/packages/node-loader/test/index.js @@ -89,7 +89,7 @@ test('@mdx-js/node-loader', async function (t) { assert.equal(error.message, 'Boom') // Source maps are off. // The column should be 26, not 8. - assert(error.stack?.includes('/crash.mdx:2:8)')) + assert(error.stack?.includes('crash.mdx:2:8)')) return true } )