Skip to content

Commit

Permalink
Remove console.info statements
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuscardosodeveloper committed Aug 20, 2024
1 parent 9553bd0 commit b6f9a04
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion decoders/connector/milesight/wt201/v1.0.0/payload.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ describe("WT201 Payload Validation", () => {
test("Check all output variables - history", () => {
payload = [{ variable: "payload", value: "20CE5C470A65D09EC091", unit: "", metadata: {} }];
const result = eval(transpiledCode);
console.info(result);

expect(result).toEqual(
expect.arrayContaining([
Expand Down
1 change: 0 additions & 1 deletion decoders/connector/milesight/wt201/v1.0.0/payload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1017,7 +1017,6 @@ if (payload_raw) {
try {
const buffer = Buffer.from(payload_raw.value as string, "hex");
const decoded = mileSightDeviceDecode(buffer);
console.info(decoded);

const time = payload_raw.time || new Date().toISOString();
const group = payload_raw.group || `${new Date().getTime()}-${Math.random().toString(36).substring(2, 5)}`;
Expand Down

0 comments on commit b6f9a04

Please sign in to comment.