Skip to content

Commit 2fb19fe

Browse files
committed
chore: lint corrections
1 parent 4654169 commit 2fb19fe

File tree

3 files changed

+8
-12
lines changed

3 files changed

+8
-12
lines changed

test/consumer.integration.spec.ts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ const { expect } = chai;
2020

2121
const HOST = '127.0.0.1';
2222

23-
2423
describe('FFI integration test for the HTTP Consumer API', () => {
2524
setLogLevel('trace');
2625

@@ -188,10 +187,7 @@ describe('FFI integration test for the HTTP Consumer API', () => {
188187
interaction.withRequest('POST', '/dogs/1234');
189188
interaction.withRequestHeader('x-special-header', 0, 'header');
190189
interaction.withQuery('someParam', 0, 'someValue');
191-
interaction.withRequestBinaryBody(
192-
bytes,
193-
'application/gzip'
194-
);
190+
interaction.withRequestBinaryBody(bytes, 'application/gzip');
195191
interaction.withResponseBody(
196192
JSON.stringify({
197193
name: like('fido'),
@@ -320,7 +316,8 @@ describe('FFI integration test for the HTTP Consumer API', () => {
320316
pact.cleanupMockServer(port);
321317
});
322318
});
323-
});
319+
}
320+
);
324321

325322
describe('with multipart data', () => {
326323
const form = new FormData();

test/message.integration.spec.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,7 @@ describe('FFI integration test for the Message Consumer API', () => {
8989
message.expectsToReceive('a binary event');
9090
message.given('some state');
9191
message.givenWithParam('some state 2', 'state2 key', 'state2 val');
92-
message.withBinaryContents(
93-
bytes,
94-
'application/gzip'
95-
);
92+
message.withBinaryContents(bytes, 'application/gzip');
9693
message.withMetadata('meta-key', 'meta-val');
9794

9895
const reified = message.reifyMessage();
@@ -197,6 +194,7 @@ describe('FFI integration test for the Message Consumer API', () => {
197194

198195
pact.writePactFile(path.join(__dirname, '__testoutput__'));
199196
});
200-
});
197+
}
198+
);
201199
});
202200
});

test/plugin-verifier.integration.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,4 +135,5 @@ const skipPluginTests = process.env['SKIP_PLUGIN_TESTS'] === 'true';
135135
});
136136
});
137137
});
138-
});
138+
}
139+
);

0 commit comments

Comments
 (0)