Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

Commit

Permalink
Fixed test with correct input type
Browse files Browse the repository at this point in the history
  • Loading branch information
TiuSh committed Sep 7, 2017
1 parent 961ad46 commit 6494d28
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions test/typescript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,10 @@ type MutationPayload = {
};

type MutationInput = {
id: string;
newDelta: string;
input: {
id: string;
newDelta: string;
};
};

type Props = {
Expand Down Expand Up @@ -86,8 +88,10 @@ class UpdateHistoryView extends React.Component<
updateHistory() {
this.props.updateHistory({
variables: {
id: 'historyId',
newDelta: 'newDelta',
input: {
id: 'historyId',
newDelta: 'newDelta',
},
},
});
}
Expand Down

0 comments on commit 6494d28

Please sign in to comment.