Skip to content

Commit

Permalink
style: applied prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikBjare committed Nov 15, 2023
1 parent c84c6cb commit b25b209
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/test/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ describe("Basic API usage", () => {
// Check that the event is correct
assert.equal(
replacedEvent.timestamp.toISOString(),
testevent.timestamp.toISOString()
testevent.timestamp.toISOString(),
);
assert.equal(replacedEvent.data.label, newLabel);

Expand Down Expand Up @@ -148,7 +148,7 @@ describe("Basic API usage", () => {
};

return awc.heartbeat(bucketId, 5, newEvent);
})
}),
);
const events = await awc.getEvents(bucketId);
assert.equal(events.length, 1);
Expand All @@ -171,12 +171,12 @@ describe("Basic API usage", () => {
const resp_e2: IEvent = resp[0][1];
assert.equal(
e1.timestamp.toISOString(),
new Date(resp_e2.timestamp).toISOString()
new Date(resp_e2.timestamp).toISOString(),
);
assert.equal(e1.data.label, resp_e2.data.label);
assert.equal(
e2.timestamp.toISOString(),
new Date(resp_e1.timestamp).toISOString()
new Date(resp_e1.timestamp).toISOString(),
);
assert.equal(e2.data.label, resp[0][0].data.label);
});
Expand Down

0 comments on commit b25b209

Please sign in to comment.