New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@apollo/react-testing

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@apollo/react-testing - npm Package Compare versions

Comparing version 0.1.0-beta.2 to 0.1.0-beta.3

lib/react-testing.cjs.js.map

3

lib/index.d.ts
export { MockedProvider } from './mocks/MockedProvider';
export { MockLink, mockSingleLink } from './mocks/mockLink';
export { MockSubscriptionLink, mockObservableLink } from './mocks/mockSubscriptionLink';
export { catchAsyncError } from './utils/catchAsyncError';
export { createClient } from './utils/createClient';
export { stripSymbols } from './utils/stripSymbols';
export { wrap } from './utils/wrap';
export { wait } from './utils/wait';
export { compose } from './utils/flowRight';
export * from './mocks/types';
export { MockedProvider } from './mocks/MockedProvider';
export { MockLink, mockSingleLink } from './mocks/mockLink';
export { MockSubscriptionLink, mockObservableLink } from './mocks/mockSubscriptionLink';
export { catchAsyncError } from './utils/catchAsyncError';
export { createClient } from './utils/createClient';
export { stripSymbols } from './utils/stripSymbols';
export { wrap } from './utils/wrap';
export { wait } from './utils/wait';
export { compose } from './utils/flowRight';
//# sourceMappingURL=index.js.map

@@ -1,2 +0,2 @@

import { Operation, ApolloLink, Observable } from 'apollo-link';
import { Operation, ApolloLink, FetchResult, Observable } from 'apollo-link';
import { MockedResponse } from './types';

@@ -8,5 +8,5 @@ export declare class MockLink extends ApolloLink {

addMockedResponse(mockedResponse: MockedResponse): void;
request(operation: Operation): Observable<{}>;
request(operation: Operation): Observable<FetchResult> | null;
private normalizeMockedResponse;
}
export declare function mockSingleLink(...mockedResponses: Array<any>): ApolloLink;
export function wait(ms) {
return new Promise(function (resolve) { return setTimeout(function () { return resolve(); }, ms); });
return new Promise(function (resolve) { return setTimeout(resolve, ms); });
}
//# sourceMappingURL=wait.js.map
{
"name": "@apollo/react-testing",
"description": "React Apollo testing utilities.",
"version": "0.1.0-beta.2",
"version": "0.1.0-beta.3",
"author": "opensource@apollographql.com",

@@ -22,13 +22,13 @@ "keywords": [

"scripts": {
"clean": "rm -Rf ./node_modules ./lib/* ./meta/coverage/*",
"clean": "rm -Rf ./lib/* ./meta/coverage/*",
"prepare": "npm run build",
"prebuild": "npm run clean",
"build": "npx -p typescript tsc -p ./config",
"build": "npx tsc -p ./config",
"postbuild": "npx rollup -c ./config/rollup.config.js",
"watch": "node ../../node_modules/tsc-watch/lib/tsc-watch.js --onSuccess \"npm run postbuild\" -p ./config",
"watch": "npx tsc-watch --onSuccess \"npm run postbuild\" -p ./config",
"predeploy": "npm run build",
"deploy": "npm publish --tag beta",
"test": "npx jest --config ./config/jest.config.js",
"test:watch": "npx jest --config ./config/jest.config.js --watch",
"test:full": "npm run type-check && npx jest --config ./config/jest.config.js --coverage"
"test": "npx jest --config ../../config/jest.config.js --testPathPattern packages/testing",
"test:watch": "npm run test -- --watch",
"test:full": "npm run type-check && npm run test -- --coverage"
},

@@ -41,6 +41,6 @@ "peerDependencies": {

"graphql": "^14.2.1",
"react": "^16.8.6"
"react": "^16.8.0"
},
"dependencies": {
"@apollo/react-common": "^0.1.0-beta.5",
"@apollo/react-common": "^0.1.0-beta.6",
"tslib": "^1.9.3"

@@ -54,3 +54,9 @@ },

},
"gitHead": "5c3632c2db18a93173c00933fd1ad6cc88da8ed2"
"devDependencies": {
"jest": "^24.8.0",
"rollup": "^1.15.5",
"tsc-watch": "^2.2.1",
"typescript": "^3.5.2"
},
"gitHead": "f0ad14e4304a9b58381b292fe8ad739a0ab4534b"
}

@@ -1,3 +0,9 @@

# React Apollo - Testing
# <a href="https://www.apollographql.com/"><img src="https://user-images.githubusercontent.com/841294/53402609-b97a2180-39ba-11e9-8100-812bab86357c.png" height="100" alt="React Apollo"></a>
## React Apollo - Testing
[![npm version](https://badge.fury.io/js/%40apollo%2Freact-testing.svg)](https://badge.fury.io/js/%40apollo%2Freact-testing)
[![Build Status](https://circleci.com/gh/apollographql/react-apollo.svg?style=svg)](https://circleci.com/gh/apollographql/react-apollo)
[![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/apollo)
React Apollo testing utilities.

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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