Update jest-environment-jsdom #69
Annotations
10 errors
Run jest --testPathPattern packages/:
packages/bundle/src/createCognitiveServicesSpeechServicesPonyfillFactory.spec.js#L137
expect(received).toMatchInlineSnapshot(snapshot)
Snapshot name: `supplying both audioConfig and audioInputDeviceId 1`
- Snapshot - 1
+ Received + 1
- "botframework-webchat: \"audioConfig\" and \"audioInputDeviceId\" cannot be set at the same time; ignoring \"audioInputDeviceId\"."
+ "botframework-webchat: "audioConfig" and "audioInputDeviceId" cannot be set at the same time; ignoring "audioInputDeviceId"."
at Object.toMatchInlineSnapshot (packages/bundle/src/createCognitiveServicesSpeechServicesPonyfillFactory.spec.js:137:27)
|
Run jest --testPathPattern packages/:
packages/directlinespeech/src/playCognitiveServicesStream.spec.js#L104
expect(received).toMatchInlineSnapshot(snapshot)
Snapshot name: `should play 16-bit chunked stream to AudioContext 1`
- Snapshot - 5
+ Received + 5
@@ -1,8 +1,8 @@
- Array [
- Object {
- "channelData": Array [
+ [
+ {
+ "channelData": [
Float32Array [
0,
0,
0,
0,
@@ -15,12 +15,12 @@
],
],
"samplesPerSec": 48000,
"startAtTime": 0,
},
- Object {
- "channelData": Array [
+ {
+ "channelData": [
Float32Array [
-1,
-1,
-1,
0,
at toMatchInlineSnapshot (packages/directlinespeech/src/playCognitiveServicesStream.spec.js:104:17)
at tryCatch (packages/directlinespeech/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:86:17)
at Generator._invoke (packages/directlinespeech/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:66:24)
at Generator.next (packages/directlinespeech/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:117:21)
at asyncGeneratorStep (packages/directlinespeech/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (packages/directlinespeech/node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
|
Run jest --testPathPattern packages/:
packages/bundle/src/__tests__/renderMarkdown.spec.js#L56
expect(received).toMatchInlineSnapshot(snapshot)
Snapshot name: `renderMarkdown should render aria-labels 1`
- Snapshot - 1
+ Received + 1
- "<p><a href=\"https://sample.com\" aria-label=\"Sample label\" rel=\"noopener noreferrer\" target=\"_blank\">example<img src=\"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7\" alt class=\"webchat__render-markdown__external-link-icon\" title /></a></p>
+ "<p><a href="https://sample.com" aria-label="Sample label" rel="noopener noreferrer" target="_blank">example<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" alt class="webchat__render-markdown__external-link-icon" title /></a></p>
"
at Object.toMatchInlineSnapshot (packages/bundle/src/__tests__/renderMarkdown.spec.js:56:8)
|
Run jest --testPathPattern packages/:
packages/bundle/src/__tests__/renderMarkdown.spec.js#L67
expect(received).toMatchInlineSnapshot(snapshot)
Snapshot name: `renderMarkdown should render "open in new window" icon 1`
- Snapshot - 1
+ Received + 1
- "<p><a href=\"https://sample.com\" aria-label=\"Sample label\" rel=\"noopener noreferrer\" target=\"_blank\">example<img src=\"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7\" alt class=\"webchat__render-markdown__external-link-icon\" title=\"Opens in a new window, external.\" /></a></p>
+ "<p><a href="https://sample.com" aria-label="Sample label" rel="noopener noreferrer" target="_blank">example<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" alt class="webchat__render-markdown__external-link-icon" title="Opens in a new window, external." /></a></p>
"
at Object.toMatchInlineSnapshot (packages/bundle/src/__tests__/renderMarkdown.spec.js:67:8)
|
Run jest --testPathPattern packages/:
packages/component/src/Utils/addTargetBlankToHyperlinksMarkdown.spec.js#L17
expect(received).toMatchInlineSnapshot(snapshot)
Snapshot name: `add to external links 1`
- Snapshot - 1
+ Received + 1
- "Hello, <a href=\"https://microsoft.com/\" rel=\"noopener noreferrer\" target=\"_blank\">Microsoft</a>!"
+ "Hello, <a href="https://microsoft.com/" rel="noopener noreferrer" target="_blank">Microsoft</a>!"
at Object.toMatchInlineSnapshot (packages/component/src/Utils/addTargetBlankToHyperlinksMarkdown.spec.js:17:16)
|
Run jest --testPathPattern packages/:
packages/component/src/Utils/addTargetBlankToHyperlinksMarkdown.spec.js#L29
expect(received).toMatchInlineSnapshot(snapshot)
Snapshot name: `don't add for hashes 1`
- Snapshot - 1
+ Received + 1
- "Hello, <a href=\"#microsoft\">Microsoft</a>!"
+ "Hello, <a href="#microsoft">Microsoft</a>!"
at Object.toMatchInlineSnapshot (packages/component/src/Utils/addTargetBlankToHyperlinksMarkdown.spec.js:29:16)
|
Run jest --testPathPattern packages/:
packages/component/src/Utils/addTargetBlankToHyperlinksMarkdown.spec.js#L39
expect(received).toMatchInlineSnapshot(snapshot)
Snapshot name: `don't add for searches 1`
- Snapshot - 1
+ Received + 1
- "Hello, <a href=\"?q=microsoft\">Microsoft</a>!"
+ "Hello, <a href="?q=microsoft">Microsoft</a>!"
at Object.toMatchInlineSnapshot (packages/component/src/Utils/addTargetBlankToHyperlinksMarkdown.spec.js:39:16)
|
Run jest --testPathPattern packages/:
packages/component/src/Utils/addTargetBlankToHyperlinksMarkdown.spec.js#L49
expect(received).toMatchInlineSnapshot(snapshot)
Snapshot name: `don't add for cross references 1`
- Snapshot - 1
+ Received + 1
- "Hello, <a href=\"#microsoft\">Microsoft</a>!"
+ "Hello, <a href="#microsoft">Microsoft</a>!"
at Object.toMatchInlineSnapshot (packages/component/src/Utils/addTargetBlankToHyperlinksMarkdown.spec.js:49:16)
|
Run jest --testPathPattern packages/:
packages/component/src/Utils/updateMarkdownAttrs.spec.js#L16
expect(received).toMatchInlineSnapshot(snapshot)
Snapshot name: `add "rel" and "target" attributes 1`
- Snapshot - 5
+ Received + 5
- Object {
- "attrs": Array [
- Array [
+ {
+ "attrs": [
+ [
"href",
"https://example.org/",
],
- Array [
+ [
"rel",
"noopener noreferrer",
],
- Array [
+ [
"target",
"_blank",
],
],
}
at Object.toMatchInlineSnapshot (packages/component/src/Utils/updateMarkdownAttrs.spec.js:16:18)
|
Run jest --testPathPattern packages/:
packages/component/src/Utils/updateMarkdownAttrs.spec.js#L36
expect(received).toMatchInlineSnapshot(snapshot)
Snapshot name: `add "rel" and "target" attributes 2`
- Snapshot - 3
+ Received + 3
- Object {
- "attrs": Array [
- Array [
+ {
+ "attrs": [
+ [
"href",
"https://example.org/",
],
],
}
at Object.toMatchInlineSnapshot (packages/component/src/Utils/updateMarkdownAttrs.spec.js:36:17)
|
The logs for this run have expired and are no longer available.
Loading