From f6c9317cef71f235bdb5ac8f067b0b767b1fd748 Mon Sep 17 00:00:00 2001 From: Remco Haszing Date: Thu, 4 Apr 2024 16:08:42 +0200 Subject: [PATCH] Fix test failure on Windows --- packages/node-loader/test/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } )