diff --git a/tests/integration/asset/index.test.ts b/tests/integration/asset/index.test.ts index 47b2ab99c..c2587b6df 100644 --- a/tests/integration/asset/index.test.ts +++ b/tests/integration/asset/index.test.ts @@ -203,7 +203,7 @@ test('set the assets output path', async () => { `); }); -test.skip('set the assets public path', async () => { +test('set the assets public path', async () => { const fixturePath = join(__dirname, 'public-path'); const { contents } = await buildAndGetResults({ fixturePath }); @@ -221,7 +221,7 @@ test.skip('set the assets public path', async () => { if (process.env.ADVANCED_ESM) { const { content: runtimeJs } = queryContent(contents.esm0!, /runtime\.js/); expect(indexJs).toMatchInlineSnapshot(` - "import { __webpack_require__ } from "./runtime.js"; + "import { __webpack_require__ } from "./rslib-runtime.js"; const image_namespaceObject = __webpack_require__.p + "static/image/image.png"; const src = image_namespaceObject; export default src;