Skip to content

Commit 8bb3abc

Browse files
authored
test: recover assets with public path tests (#1349)
1 parent 0c00d14 commit 8bb3abc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/integration/asset/index.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ test('set the assets output path', async () => {
203203
`);
204204
});
205205

206-
test.skip('set the assets public path', async () => {
206+
test('set the assets public path', async () => {
207207
const fixturePath = join(__dirname, 'public-path');
208208
const { contents } = await buildAndGetResults({ fixturePath });
209209

@@ -221,7 +221,7 @@ test.skip('set the assets public path', async () => {
221221
if (process.env.ADVANCED_ESM) {
222222
const { content: runtimeJs } = queryContent(contents.esm0!, /runtime\.js/);
223223
expect(indexJs).toMatchInlineSnapshot(`
224-
"import { __webpack_require__ } from "./runtime.js";
224+
"import { __webpack_require__ } from "./rslib-runtime.js";
225225
const image_namespaceObject = __webpack_require__.p + "static/image/image.png";
226226
const src = image_namespaceObject;
227227
export default src;

0 commit comments

Comments
 (0)