@fluidframework/telemetry-utils
Advanced tools
Comparing version 2.0.0-rc.3.0.1 to 2.0.0-rc.3.0.2
@@ -50,3 +50,3 @@ "use strict"; | ||
if (!this.matchEvents(expectedEvents, inlineDetailsProp)) { | ||
throw new Error(`${message} | ||
throw new Error(`${message ?? "Logs don't match"} | ||
expected: | ||
@@ -78,3 +78,3 @@ ${JSON.stringify(expectedEvents)} | ||
if (!this.matchAnyEvent(expectedEvents, inlineDetailsProp)) { | ||
throw new Error(`${message} | ||
throw new Error(`${message ?? "Logs don't match"} | ||
expected: | ||
@@ -105,3 +105,3 @@ ${JSON.stringify(expectedEvents)} | ||
if (!this.matchEventStrict(expectedEvents, inlineDetailsProp)) { | ||
throw new Error(`${message} | ||
throw new Error(`${message ?? "Logs don't match"} | ||
expected: | ||
@@ -120,3 +120,3 @@ ${JSON.stringify(expectedEvents)} | ||
if (this.matchAnyEvent(disallowedEvents, inlineDetailsProp)) { | ||
throw new Error(`${message} | ||
throw new Error(`${message ?? "Logs don't match"} | ||
disallowed events: | ||
@@ -123,0 +123,0 @@ ${JSON.stringify(disallowedEvents)} |
@@ -47,3 +47,3 @@ /*! | ||
if (!this.matchEvents(expectedEvents, inlineDetailsProp)) { | ||
throw new Error(`${message} | ||
throw new Error(`${message ?? "Logs don't match"} | ||
expected: | ||
@@ -75,3 +75,3 @@ ${JSON.stringify(expectedEvents)} | ||
if (!this.matchAnyEvent(expectedEvents, inlineDetailsProp)) { | ||
throw new Error(`${message} | ||
throw new Error(`${message ?? "Logs don't match"} | ||
expected: | ||
@@ -102,3 +102,3 @@ ${JSON.stringify(expectedEvents)} | ||
if (!this.matchEventStrict(expectedEvents, inlineDetailsProp)) { | ||
throw new Error(`${message} | ||
throw new Error(`${message ?? "Logs don't match"} | ||
expected: | ||
@@ -117,3 +117,3 @@ ${JSON.stringify(expectedEvents)} | ||
if (this.matchAnyEvent(disallowedEvents, inlineDetailsProp)) { | ||
throw new Error(`${message} | ||
throw new Error(`${message ?? "Logs don't match"} | ||
disallowed events: | ||
@@ -120,0 +120,0 @@ ${JSON.stringify(disallowedEvents)} |
{ | ||
"name": "@fluidframework/telemetry-utils", | ||
"version": "2.0.0-rc.3.0.1", | ||
"version": "2.0.0-rc.3.0.2", | ||
"description": "Collection of telemetry relates utilities for Fluid", | ||
@@ -70,5 +70,5 @@ "homepage": "https://fluidframework.com", | ||
"dependencies": { | ||
"@fluid-internal/client-utils": ">=2.0.0-rc.3.0.1 <2.0.0-rc.3.1.0", | ||
"@fluidframework/core-interfaces": ">=2.0.0-rc.3.0.1 <2.0.0-rc.3.1.0", | ||
"@fluidframework/core-utils": ">=2.0.0-rc.3.0.1 <2.0.0-rc.3.1.0", | ||
"@fluid-internal/client-utils": ">=2.0.0-rc.3.0.2 <2.0.0-rc.3.1.0", | ||
"@fluidframework/core-interfaces": ">=2.0.0-rc.3.0.2 <2.0.0-rc.3.1.0", | ||
"@fluidframework/core-utils": ">=2.0.0-rc.3.0.2 <2.0.0-rc.3.1.0", | ||
"@fluidframework/protocol-definitions": "^3.2.0", | ||
@@ -81,3 +81,3 @@ "debug": "^4.3.4", | ||
"@biomejs/biome": "^1.6.2", | ||
"@fluid-internal/mocha-test-setup": ">=2.0.0-rc.3.0.1 <2.0.0-rc.3.1.0", | ||
"@fluid-internal/mocha-test-setup": ">=2.0.0-rc.3.0.2 <2.0.0-rc.3.1.0", | ||
"@fluid-tools/build-cli": "^0.37.0", | ||
@@ -84,0 +84,0 @@ "@fluidframework/build-common": "^2.0.3", |
@@ -70,3 +70,3 @@ /*! | ||
if (!this.matchEvents(expectedEvents, inlineDetailsProp)) { | ||
throw new Error(`${message} | ||
throw new Error(`${message ?? "Logs don't match"} | ||
expected: | ||
@@ -110,3 +110,3 @@ ${JSON.stringify(expectedEvents)} | ||
if (!this.matchAnyEvent(expectedEvents, inlineDetailsProp)) { | ||
throw new Error(`${message} | ||
throw new Error(`${message ?? "Logs don't match"} | ||
expected: | ||
@@ -148,3 +148,3 @@ ${JSON.stringify(expectedEvents)} | ||
if (!this.matchEventStrict(expectedEvents, inlineDetailsProp)) { | ||
throw new Error(`${message} | ||
throw new Error(`${message ?? "Logs don't match"} | ||
expected: | ||
@@ -168,3 +168,3 @@ ${JSON.stringify(expectedEvents)} | ||
if (this.matchAnyEvent(disallowedEvents, inlineDetailsProp)) { | ||
throw new Error(`${message} | ||
throw new Error(`${message ?? "Logs don't match"} | ||
disallowed events: | ||
@@ -171,0 +171,0 @@ ${JSON.stringify(disallowedEvents)} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
771270