@graphitation/apollo-mock-client
Advanced tools
Comparing version 0.10.5 to 0.10.6-0
# Change Log - @graphitation/apollo-mock-client | ||
This log was last generated on Wed, 02 Mar 2022 13:32:03 GMT and should not be manually modified. | ||
This log was last generated on Tue, 25 Apr 2023 23:09:49 GMT and should not be manually modified. | ||
<!-- Start content --> | ||
## 0.10.5 | ||
## 0.10.6-0 | ||
Wed, 02 Mar 2022 13:32:03 GMT | ||
Tue, 25 Apr 2023 23:09:49 GMT | ||
### Patches | ||
### Changes | ||
- Bump @graphitation/graphql-js-tag to v0.9.0 | ||
- Bump @graphitation/graphql-js-operation-payload-generator to v0.8.5 | ||
- add support for context in request (52814187+ira-kaundal@users.noreply.github.com) | ||
## 0.10.4 | ||
Tue, 25 Jan 2022 10:04:40 GMT | ||
### Patches | ||
- Bump @graphitation/graphql-js-tag to v0.8.3 | ||
- Bump @graphitation/graphql-js-operation-payload-generator to v0.8.4 | ||
## 0.10.3 | ||
Mon, 24 Jan 2022 13:40:52 GMT | ||
### Patches | ||
- Fix Webpack 4 compat (mnovikov@microsoft.com) | ||
- Bump @graphitation/graphql-js-operation-payload-generator to v0.8.3 | ||
## 0.10.2 | ||
@@ -35,0 +16,0 @@ |
@@ -5,3 +5,3 @@ { | ||
"license": "MIT", | ||
"version": "0.10.5", | ||
"version": "0.10.6-0", | ||
"repository": { | ||
@@ -12,3 +12,3 @@ "type": "git", | ||
}, | ||
"main": "./lib/index", | ||
"main": "./lib/index.js", | ||
"scripts": { | ||
@@ -15,0 +15,0 @@ "build": "monorepo-scripts build", |
@@ -39,3 +39,3 @@ # ApolloMockClient | ||
<FeedbackApp /> | ||
</ApolloProvider>, | ||
</ApolloProvider> | ||
); | ||
@@ -93,4 +93,4 @@ }); | ||
client.mock.resolveMostRecentOperation((operation) => | ||
MockPayloadGenerator.generate(operation), | ||
), | ||
MockPayloadGenerator.generate(operation) | ||
) | ||
); | ||
@@ -107,3 +107,3 @@ | ||
const errorMessage = testRenderer.root.find( | ||
(node) => node.props.id === "error", | ||
(node) => node.props.id === "error" | ||
); | ||
@@ -164,3 +164,3 @@ expect(errorMessage.props.children).toBe("Uh-oh"); | ||
const likeButton = testRenderer.root.find( | ||
(node) => node.props.id === "likeButton", | ||
(node) => node.props.id === "likeButton" | ||
); | ||
@@ -181,4 +181,4 @@ await act(async () => { | ||
}, | ||
}), | ||
), | ||
}) | ||
) | ||
); | ||
@@ -191,3 +191,3 @@ | ||
const likeButton = testRenderer.root.find( | ||
(node) => node.props.id === "likeButton", | ||
(node) => node.props.id === "likeButton" | ||
); | ||
@@ -237,3 +237,3 @@ await act(async () => { | ||
const reaction = testRenderer.root.find( | ||
(node) => node.props.id === "reaction", | ||
(node) => node.props.id === "reaction" | ||
); | ||
@@ -244,3 +244,3 @@ expect(reaction.props.children).toBe("Viewer does not like it"); | ||
expect(getOperationName(operation.request.node)).toBe( | ||
"FeedbackLikeSubscription", | ||
"FeedbackLikeSubscription" | ||
); | ||
@@ -263,4 +263,4 @@ expect(operation.request.variables).toEqual({ | ||
}, | ||
}), | ||
), | ||
}) | ||
) | ||
); | ||
@@ -267,0 +267,0 @@ expect(reaction.props.children).toBe("Viewer likes it"); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10831
3
0
2