@fluidframework/telemetry-utils
Advanced tools
Comparing version 2.0.0-rc.2.0.3 to 2.0.0-rc.2.0.4
@@ -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.2.0.3", | ||
"version": "2.0.0-rc.2.0.4", | ||
"description": "Collection of telemetry relates utilities for Fluid", | ||
@@ -80,5 +80,5 @@ "homepage": "https://fluidframework.com", | ||
"dependencies": { | ||
"@fluid-internal/client-utils": ">=2.0.0-rc.2.0.3 <2.0.0-rc.2.1.0", | ||
"@fluidframework/core-interfaces": ">=2.0.0-rc.2.0.3 <2.0.0-rc.2.1.0", | ||
"@fluidframework/core-utils": ">=2.0.0-rc.2.0.3 <2.0.0-rc.2.1.0", | ||
"@fluid-internal/client-utils": ">=2.0.0-rc.2.0.4 <2.0.0-rc.2.1.0", | ||
"@fluidframework/core-interfaces": ">=2.0.0-rc.2.0.4 <2.0.0-rc.2.1.0", | ||
"@fluidframework/core-utils": ">=2.0.0-rc.2.0.4 <2.0.0-rc.2.1.0", | ||
"@fluidframework/protocol-definitions": "^3.2.0", | ||
@@ -90,3 +90,3 @@ "debug": "^4.3.4", | ||
"@arethetypeswrong/cli": "^0.13.3", | ||
"@fluid-internal/mocha-test-setup": ">=2.0.0-rc.2.0.3 <2.0.0-rc.2.1.0", | ||
"@fluid-internal/mocha-test-setup": ">=2.0.0-rc.2.0.4 <2.0.0-rc.2.1.0", | ||
"@fluid-tools/build-cli": "^0.34.0", | ||
@@ -93,0 +93,0 @@ "@fluidframework/build-common": "^2.0.3", |
@@ -69,3 +69,3 @@ /*! | ||
if (!this.matchEvents(expectedEvents, inlineDetailsProp)) { | ||
throw new Error(`${message} | ||
throw new Error(`${message ?? "Logs don't match"} | ||
expected: | ||
@@ -109,3 +109,3 @@ ${JSON.stringify(expectedEvents)} | ||
if (!this.matchAnyEvent(expectedEvents, inlineDetailsProp)) { | ||
throw new Error(`${message} | ||
throw new Error(`${message ?? "Logs don't match"} | ||
expected: | ||
@@ -147,3 +147,3 @@ ${JSON.stringify(expectedEvents)} | ||
if (!this.matchEventStrict(expectedEvents, inlineDetailsProp)) { | ||
throw new Error(`${message} | ||
throw new Error(`${message ?? "Logs don't match"} | ||
expected: | ||
@@ -167,3 +167,3 @@ ${JSON.stringify(expectedEvents)} | ||
if (this.matchAnyEvent(disallowedEvents, inlineDetailsProp)) { | ||
throw new Error(`${message} | ||
throw new Error(`${message ?? "Logs don't match"} | ||
disallowed events: | ||
@@ -170,0 +170,0 @@ ${JSON.stringify(disallowedEvents)} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1413202