From 0ccb1efdeda4642afedf4e3565f63b290df6c145 Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Fri, 7 Jul 2023 16:39:48 +0100 Subject: [PATCH] Enable rust-sdk tracing for device tests ... because knowing why your tests are failing is nice --- bindings/matrix-sdk-crypto-js/tests/device.test.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bindings/matrix-sdk-crypto-js/tests/device.test.js b/bindings/matrix-sdk-crypto-js/tests/device.test.js index 175a160b9..ccfdac13b 100644 --- a/bindings/matrix-sdk-crypto-js/tests/device.test.js +++ b/bindings/matrix-sdk-crypto-js/tests/device.test.js @@ -27,7 +27,9 @@ const { QrCodeScan, } = require("../pkg/matrix_sdk_crypto_js"); const { zip, addMachineToMachine } = require("./helper"); -const { VerificationRequestPhase } = require("../pkg"); +const { Tracing, LoggerLevel, VerificationRequestPhase } = require("../pkg"); + +new Tracing(LoggerLevel.Trace).turnOn(); describe("LocalTrust", () => { test("has the correct variant values", () => {