Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@graphitation/apollo-mock-client

Package Overview
Dependencies
Maintainers
5
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@graphitation/apollo-mock-client - npm Package Compare versions

Comparing version 0.10.5 to 0.10.6-0

29

CHANGELOG.md
# 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 @@

4

package.json

@@ -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");

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc