Skip to content

Commit 61d743b

Browse files
committed
fix: test case
1 parent 1d2da4a commit 61d743b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/react-server-component/tests/fixture.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ fn fixture_server(input: PathBuf) {
1414
test_fixture(
1515
Default::default(),
1616
&|t| {
17-
react_server_component(FileName::Real("file_path.js".into()), true, t.comments.clone())
17+
react_server_component(FileName::Real("file_path.js".into()), true, false, t.comments.clone())
1818
},
1919
&input,
2020
&output,
@@ -32,7 +32,7 @@ fn fixture_client(input: PathBuf) {
3232
test_fixture(
3333
Default::default(),
3434
&|t| {
35-
react_server_component(FileName::Real("file_path.js".into()), false, t.comments.clone())
35+
react_server_component(FileName::Real("file_path.js".into()), false, false, t.comments.clone())
3636
},
3737
&input,
3838
&output,
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
/*__ice_internal_client_entry_do_not_use__ default*/ const { createClientModuleProxy } = require("react-server-dom-webpack/server.node");
1+
/*__ice_internal_client_entry_do_not_use__ default*/ const { createClientModuleProxy } = require("react-server-dom-webpack/server.edge");
22
module.exports = createClientModuleProxy("file_path.js");

0 commit comments

Comments
 (0)