Skip to content

Commit c14d59e

Browse files
committed
test: remove useless test
1 parent a2e0cbb commit c14d59e

1 file changed

Lines changed: 0 additions & 17 deletions

File tree

packages/plugin-rsc/src/transforms/proxy-export.test.ts

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -220,23 +220,6 @@ export { x as "my thing" }
220220
`)
221221
})
222222

223-
test('re-export all (resolved)', async () => {
224-
// when caller resolves names ahead of time, the source is rewritten so
225-
// the transform never sees a bare `export *`.
226-
const input = `export { x, y } from "./dep"`
227-
expect(await testTransform(input)).toMatchInlineSnapshot(`
228-
{
229-
"exportNames": [
230-
"x",
231-
"y",
232-
],
233-
"output": "export const x = /* #__PURE__ */ $$proxy("<id>", "x");
234-
export const y = /* #__PURE__ */ $$proxy("<id>", "y");
235-
",
236-
}
237-
`)
238-
})
239-
240223
test('re-export all (ignoreExportAllDeclaration)', async () => {
241224
const input = `export * from "./dep"`
242225
expect(await testTransform(input, { ignoreExportAllDeclaration: true }))

0 commit comments

Comments
 (0)