Skip to content

Commit

Permalink
PP-12028 Upgrade pact library (#4165)
Browse files Browse the repository at this point in the history
* PP-12028 Upgrade pact js library

- Upgraded PactJS library to the latest
- Removed pact-node library
- Installed pact-core library which replaces pact-node library to publish pacts
- And fixed failing test
  • Loading branch information
kbottla authored Jan 4, 2024
1 parent 85befb2 commit b9baa7e
Show file tree
Hide file tree
Showing 5 changed files with 931 additions and 1,400 deletions.
2 changes: 1 addition & 1 deletion bin/publish-pacts.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env node
const { unlink, readdir } = require('fs').promises
const path = require('path')
const pact = require('@pact-foundation/pact-node')
const pact = require('@pact-foundation/pact-core')
const pactDirPath = `${__dirname}/../pacts/`
const opts = {
pactFilesOrDirs: [ pactDirPath ],
Expand Down
Loading

0 comments on commit b9baa7e

Please sign in to comment.