Socket
Socket
Sign inDemoInstall

jest-pact

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jest-pact - npm Package Compare versions

Comparing version 0.0.9 to 0.0.10

1

index.js

@@ -40,4 +40,3 @@ "use strict";

var url = "http://localhost:" + port;
console.log(url);
return supertest(url);
};

19

package.json
{
"name": "jest-pact",
"version": "0.0.9",
"version": "0.0.10",
"description": "a pact adaptor for jest",

@@ -10,6 +10,6 @@ "main": "dist/lib/index.js",

"release": "npm run build && mv dist/index.* . && npm publish"
},
},
"repository": {
"type": "git",
"url": "git+https://github.com/you54f/jestpact.git"
"url": "git+https://github.com/you54f/jest-pact.git"
},

@@ -19,11 +19,12 @@ "author": "YOU54F",

"bugs": {
"url": "https://github.com/you54f/jestpact/issues"
"url": "https://github.com/you54f/jest-pact/issues"
},
"homepage": "https://github.com/you54f/jestpact#readme",
"homepage": "https://github.com/you54f/jest-pact#readme",
"devDependencies": {
"@pact-foundation/pact": "8.2.2",
"@types/jest": "^24.0.12",
"@types/supertest": "^2.0.7",
"jest-junit": "6.3.0",
"rimraf": "^2.6.3",
"@types/jest": "24.0.12",
"@types/supertest": "2.0.7",
"jest": "24.7.1",
"jest-junit": "6.4.0",
"rimraf": "2.6.3",
"supertest": "4.0.2",

@@ -30,0 +31,0 @@ "ts-jest": "24.0.2",

@@ -1,3 +0,6 @@

# JestPact
# JestPact
[![npm version](https://badge.fury.io/js/jest-pact.svg)](https://badge.fury.io/js/jest-pact)
[![CircleCI](https://circleci.com/gh/YOU54F/jest-pact.svg?style=svg)](https://circleci.com/gh/YOU54F/jest-pact)
## Jest Adaptor to help write Pact files with ease

@@ -8,9 +11,9 @@

- [x] Jest Adaptor For Pact
- [ ] Package for npm
- [ ] Publish to npm
- [X] Package for npm
- [X] Publish to npm
- [ ] Assign random ports but pass port back to user for thier http agent
- [x] Jest Adaptor For Pact with SuperTest
- [ ] Package for npm
- [ ] Publish to npm
- [ ] Add Supertest typings
- [X] Package for npm
- [X] Publish to npm
- [X] Add Supertest typings
- [ ] Assign random ports

@@ -23,3 +26,3 @@ - [ ] user configurable paths

- [ ] example pact stub service docker templates
- [ ] circleci config
- [X] circleci config
- [ ] npm publish automation inc versioning

@@ -147,1 +150,10 @@ - [ ] tslint / husky / lint-staged

```
## Example Repository using this adaptor, and showing other jest pact examples
[jest-pact-typescript](https://github.com/YOU54F/jest-pact-typescript)
## Credits
- [Pact Foundation](https://github.com/pact-foundation)
- [Pact JS](https://github.com/pact-foundation/pact-js)
- [Initial Proposal](https://github.com/pact-foundation/pact-js/issues/215#issuecomment-437237669) by [TimothyJones](https://github.com/TimothyJones)
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