Skip to content

Commit 1d4fd40

Browse files
committed
test: fix
1 parent 612223d commit 1d4fd40

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

packages/plugin-rsc/src/transforms/cjs.test.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ exports.ok = true;
2323
expect(await testTransform(input)).toMatchInlineSnapshot(`
2424
"const exports = {}; const module = { exports };
2525
exports.ok = true;
26-
;
27-
export const ok = exports["ok"];
2826
"
2927
`)
3028
})
@@ -44,7 +42,6 @@ if (true) {
4442
} else {
4543
module.exports = (await import('./cjs/use-sync-external-store.development.js'));
4644
}
47-
;
4845
"
4946
`)
5047
})
@@ -66,8 +63,6 @@ if (true) {
6663
var ReactDOM = __cjs_to_esm_hoist_1;
6764
exports.useSyncExternalStoreWithSelector = function () {}
6865
})()
69-
;
70-
export const useSyncExternalStoreWithSelector = exports["useSyncExternalStoreWithSelector"];
7166
"
7267
`)
7368
})
@@ -85,7 +80,6 @@ if (true) {
8580
const require = () => {};
8681
require("test");
8782
}
88-
;
8983
"
9084
`)
9185
})

0 commit comments

Comments
 (0)