Skip to content

Commit

Permalink
chore: add .dockerignore
Browse files Browse the repository at this point in the history
  • Loading branch information
martinkaintas committed Jul 20, 2022
1 parent 63a5046 commit 03d466b
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 30 deletions.
3 changes: 3 additions & 0 deletions client/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules/*
coverage
dist
27 changes: 13 additions & 14 deletions client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion client/tests/sdk.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,5 +90,5 @@ describe('SDK', () => {
verifyContractBytecode(sdk, contract.bytecode, wrongSource)
).rejects.toThrow();
});
});
}, 10000);
});
3 changes: 3 additions & 0 deletions server/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules/*
coverage
dist
27 changes: 13 additions & 14 deletions server/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion server/test/integration/bot.service.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,14 @@ describe('botService', () => {

await waitForChannelReady(playerChannel);
expect(playerChannel.status()).toBe('open');
await timeout(2000);
await timeout(4000);
const contractAddress = buildContractId(
responderConfig.initiatorId,
parseInt(contractCreationRound, 10),
);
expect(await playerChannel.getContractState(contractAddress)).toBeDefined();
await playerChannel.shutdown(playerSdk.signTransaction.bind(playerSdk));
await timeout(4000);
});

it('bot service returns its balance back to the faucet', async () => {
Expand Down

0 comments on commit 03d466b

Please sign in to comment.