Skip to content

Commit

Permalink
remove unused var from test
Browse files Browse the repository at this point in the history
Summary: Fixes a simple lint issue.

Reviewed By: jstejada

Differential Revision: D21331424

fbshipit-source-id: ba5f179988dcd170cd148413de00c2e7f109d709
  • Loading branch information
kassens authored and facebook-github-bot committed Apr 30, 2020
1 parent d256726 commit 92b110b
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions packages/relay-runtime/store/__tests__/RelayModernStore-test.js
Expand Up @@ -1452,7 +1452,6 @@ function assertIsDeeplyFrozen(value: ?{...} | ?$ReadOnlyArray<{...}>) {
});

describe('invalidation state', () => {
let UserQuery;
let data;
let source;
let store;
Expand Down Expand Up @@ -1490,20 +1489,6 @@ function assertIsDeeplyFrozen(value: ?{...} | ?$ReadOnlyArray<{...}>) {
};
source = getRecordSourceImplementation(data);
store = new RelayModernStore(source);
({UserQuery} = generateAndCompile(`
fragment UserFragment on User {
name
profilePicture(size: $size) {
uri
}
}
query UserQuery($id: ID!, $size: [Int]) {
node(id: $id) {
...UserFragment
}
}
`));
environment = createMockEnvironment({store});
});

Expand Down

0 comments on commit 92b110b

Please sign in to comment.