Update jest-environment-jsdom #69
Annotations
3 errors and 1 warning
Run jest --shard=16/20:
__tests__/hooks/useSuggestedActions.js#L19
expect(received).resolves.toMatchInlineSnapshot(snapshot)
Snapshot name: `getter should get suggested actions 1`
- Snapshot - 10
+ Received + 10
@@ -1,46 +1,46 @@
- Array [
- Object {
+ [
+ {
"image": "https://corinagum.github.io/BotFramework-Offline-MockBot/assets/square-icon.png",
"title": "IM back as string",
"type": "imBack",
"value": "postback imback-string",
},
- Object {
+ {
"image": "https://corinagum.github.io/BotFramework-Offline-MockBot/assets/square-icon-red.png",
"title": "Post back as string",
"type": "postBack",
"value": "postback postback-string",
},
- Object {
+ {
"image": "https://corinagum.github.io/BotFramework-Offline-MockBot/assets/square-icon-green.png",
"text": "Some text",
"title": "Post back as JSON",
"type": "postBack",
- "value": Object {
+ "value": {
"hello": "World!",
},
},
- Object {
+ {
"displayText": "say Hello World!",
"image": "https://corinagum.github.io/BotFramework-Offline-MockBot/assets/square-icon-purple.png",
"text": "Some text",
"title": "Message back as JSON with display text",
"type": "messageBack",
- "value": Object {
+ "value": {
"hello": "World!",
},
},
- Object {
+ {
"image": "https://corinagum.github.io/BotFramework-Offline-MockBot/assets/square-icon-purple.png",
"title": "Message back as JSON without display text",
"type": "messageBack",
- "value": Object {
+ "value": {
"hello": "World!",
},
},
- Object {
+ {
"displayText": "Aloha",
"image": "https://corinagum.github.io/BotFramework-Offline-MockBot/assets/square-icon-purple.png",
"text": "echo Hello",
"title": "Message back as string with display text",
"type": "messageBack",
at Object.toMatchInlineSnapshot (node_modules/expect/build/index.js:174:22)
at toMatchInlineSnapshot (__tests__/hooks/useSuggestedActions.js:19:94)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:86:17)
at Generator._invoke (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:66:24)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:117:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
|
Run jest --shard=16/20:
__tests__/hooks/useActivity.js#L24
expect(received).toMatchInlineSnapshot(snapshot)
Snapshot name: `should return list of activities 1`
- Snapshot - 6
+ Received + 6
@@ -1,20 +1,20 @@
- Array [
- Object {
- "from": Object {
+ [
+ {
+ "from": {
"role": "user",
},
"speak": undefined,
"text": "Hello, World!",
"textFormat": "plain",
"type": "message",
},
- Object {
- "from": Object {
+ {
+ "from": {
"role": "bot",
},
- "speak": "Unknown command: I don't know Hello, World!. You can say \"help\" to learn more.",
+ "speak": "Unknown command: I don't know Hello, World!. You can say "help" to learn more.",
"text": "Unknown command: `Hello, World!`.
Type `help` to learn more.",
"textFormat": undefined,
"type": "message",
at toMatchInlineSnapshot (__tests__/hooks/useActivity.js:24:29)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:86:17)
at Generator._invoke (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:66:24)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:117:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
|
Run jest --shard=16/20
Process completed with exit code 1.
|
Upload test snapshot diffs
No files were found with the provided path: ./__tests__/__image_snapshots__/*/__diff_output__/*. No artifacts will be uploaded.
|
The logs for this run have expired and are no longer available.
Loading