Skip to content

Commit

Permalink
fix RelayResolverModel-test
Browse files Browse the repository at this point in the history
Summary: This test does not actually add the todo object to the `TODO_STORE` that it reads (and expects to exist), but the current implementation of `RelayReader` creates the todo record regardless so the test is passing. After the fix for T162471299 lands, we need the changes in this diff so that the test passes.

Reviewed By: voideanvalue

Differential Revision: D51436475

fbshipit-source-id: ac4ff215c9d2b7e14b2ac2359dbe038da7c20c87
  • Loading branch information
monicatang authored and facebook-github-bot committed Nov 21, 2023
1 parent 3f8c9e5 commit d48a0e0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/react-relay/__tests__/RelayResolverModel-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,7 @@ describe.each([
? 'NULL!'
: 'NOT NULL!';
}
addTodo('Test todo');

const renderer = TestRenderer.create(
<EnvironmentWrapper environment={environment}>
Expand Down

0 comments on commit d48a0e0

Please sign in to comment.