Skip to content

Commit

Permalink
Fixed exercise test
Browse files Browse the repository at this point in the history
  • Loading branch information
guillemcordoba committed Oct 10, 2021
1 parent 1484c9a commit 1abce5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 1.basic/4.source-chain/exercise/tests/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const installation: InstallAgentsHapps = [
const sleep = (ms) =>
new Promise((resolve) => setTimeout(() => resolve(null), ms));

const millisToTimestamp = (ms) => [Math.floor(ms / 1000), ms % 1000];
const millisToTimestamp = (ms) => ms * 1_000;

const orchestrator = new Orchestrator();

Expand Down

0 comments on commit 1abce5a

Please sign in to comment.