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

graphql-mock

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphql-mock - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

2

package.json
{
"name": "graphql-mock",
"version": "1.1.0",
"version": "1.1.1",
"description": "GraphQL endpoint mockery library for testing",

@@ -5,0 +5,0 @@ "files": [

@@ -51,3 +51,3 @@ # GraphQL Client Side Mocking

it('responds to failures gracefuly', () => {
graphqlMock.expect(query).fails('everything is terrible');
graphqlMock.expect(query).fail('everything is terrible');
expect(render().html()).toEqual('<div>everything is terrible</div>');

@@ -54,0 +54,0 @@ });

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