File tree Expand file tree Collapse file tree
packages/plugin-rsc/src/transforms Expand file tree Collapse file tree Original file line number Diff line number Diff 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 } ) )
You can’t perform that action at this time.
0 commit comments