We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1704b73 commit 5a4c8e3Copy full SHA for 5a4c8e3
packages/e2e-tests/test/e2e.spec.ts
@@ -777,12 +777,17 @@ describe('e2e', function () {
777
'db._mongo._instanceState.evaluationListener.ioProvider.loggingAndTelemetry.deviceId'
778
)
779
780
- .replace(/test>/g, '')
781
- .trim();
+ .split('\n')[0]
+ // Remove all whitespace
782
+ .replace(/\s+/g, '');
783
784
expect(deviceId).not.to.equal('unknown');
785
// Our hashed key is 64 hex chars
- expect(deviceId).to.match(/^[a-f0-9]{64}$/);
786
+
787
+ expect(deviceId).to.match(
788
+ /^[a-f0-9]{64}$/,
789
+ `deviceId did not match: |${deviceId}|`
790
+ );
791
});
792
793
context('post-4.2', function () {
0 commit comments