Skip to content

Commit 01dc066

Browse files
committed
chore: formatting
1 parent f44283d commit 01dc066

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

test/matt.provider.integration.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ const startTCPServer = (host: string, port: number) => {
6969
sock.on('data', (data) => {
7070
const msg = parseMattMessage(data.toString());
7171

72-
if (msg === "hellotcp") {
72+
if (msg === 'hellotcp') {
7373
sock.write(generateMattMessage('tcpworld'));
7474
} else {
7575
sock.write(generateMattMessage('message not understood'));

test/message.integration.spec.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ describe('FFI integration test for the Message Consumer API', () => {
2424
const bytes: Buffer = zlib.gzipSync(secret);
2525

2626
before(() => {
27-
rimraf.sync(path.join(__dirname, '__testoutput__', 'message-consumer*'))
27+
rimraf.sync(path.join(__dirname, '__testoutput__', 'message-consumer*'));
2828
});
2929

3030
beforeEach(() => {
@@ -51,7 +51,10 @@ describe('FFI integration test for the Message Consumer API', () => {
5151

5252
const reified = message.reifyMessage();
5353

54-
expect(JSON.parse(reified).contents.content).to.have.property('foo', 'bar');
54+
expect(JSON.parse(reified).contents.content).to.have.property(
55+
'foo',
56+
'bar'
57+
);
5558

5659
pact.writePactFile(path.join(__dirname, '__testoutput__'));
5760
});

0 commit comments

Comments
 (0)