Skip to content

Commit 33e00ea

Browse files
captbaritonefacebook-github-bot
authored andcommitted
Add missing generated tests (#5058)
Summary: Not sure why these are missing, but they are causing GitHub CI to break Pull Request resolved: #5058 Reviewed By: jbonta Differential Revision: D80990215 Pulled By: captbaritone fbshipit-source-id: bb239f9a7498d348b8c58a870274548a2c89a1da
1 parent 689710d commit 33e00ea

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

compiler/crates/relay-transforms/tests/refetchable_fragment_test.rs

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.
66
*
7-
* @generated SignedSource<<733f08cd406c19e1403b12a718566e81>>
7+
* @generated SignedSource<<b5ce6ba653f419089b892dcdd3b4b32d>>
88
*/
99

1010
mod refetchable_fragment;
@@ -180,6 +180,20 @@ async fn refetchable_fragment_with_connection_unstable_path_invalid() {
180180
test_fixture(transform_fixture, file!(), "refetchable-fragment-with-connection-unstable-path.invalid.graphql", "refetchable_fragment/fixtures/refetchable-fragment-with-connection-unstable-path.invalid.expected", input, expected).await;
181181
}
182182

183+
#[tokio::test]
184+
async fn refetchable_fragment_with_connection_with_catch() {
185+
let input = include_str!("refetchable_fragment/fixtures/refetchable-fragment-with-connection-with-catch.graphql");
186+
let expected = include_str!("refetchable_fragment/fixtures/refetchable-fragment-with-connection-with-catch.expected");
187+
test_fixture(transform_fixture, file!(), "refetchable-fragment-with-connection-with-catch.graphql", "refetchable_fragment/fixtures/refetchable-fragment-with-connection-with-catch.expected", input, expected).await;
188+
}
189+
190+
#[tokio::test]
191+
async fn refetchable_fragment_with_connection_with_catch_to_null() {
192+
let input = include_str!("refetchable_fragment/fixtures/refetchable-fragment-with-connection-with-catch-to-null.graphql");
193+
let expected = include_str!("refetchable_fragment/fixtures/refetchable-fragment-with-connection-with-catch-to-null.expected");
194+
test_fixture(transform_fixture, file!(), "refetchable-fragment-with-connection-with-catch-to-null.graphql", "refetchable_fragment/fixtures/refetchable-fragment-with-connection-with-catch-to-null.expected", input, expected).await;
195+
}
196+
183197
#[tokio::test]
184198
async fn refetchable_fragment_with_connection_with_stream() {
185199
let input = include_str!("refetchable_fragment/fixtures/refetchable-fragment-with-connection-with-stream.graphql");

0 commit comments

Comments
 (0)