Skip to content

Commit

Permalink
fix: correct binary matching behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
mefellows committed Aug 19, 2022
1 parent 14b79ac commit 5794c74
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/ffi/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import bindings = require('bindings');

const ffiLib: Ffi = bindings('pact.node');

export const PACT_FFI_VERSION = '0.3.5';
export const PACT_FFI_VERSION = '0.3.8';

let ffi: typeof ffiLib;
let ffiLogLevel: LogLevel;
Expand Down
6 changes: 4 additions & 2 deletions test/consumer.integration.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -210,12 +210,14 @@ describe('FFI integration test for the HTTP Consumer API', () => {

// TODO: find out what's going on here. Suspect binary matching has changed in the core?
// See https://github.com/pact-foundation/pact-reference/issues/171
it.skip('generates a pact with success', () => {
it('generates a pact with success', () => {
return axios
.request({
baseURL: `http://${HOST}:${port}`,
headers: {
'content-type': 'application/octet-stream',
'content-type': isWin
? 'application/octet-stream'
: 'application/gzip',
Accept: 'application/json',
'x-special-header': 'header',
},
Expand Down

0 comments on commit 5794c74

Please sign in to comment.