Update jest-environment-jsdom #69
Annotations
6 errors and 1 warning
Run jest --shard=3/20:
__tests__/hooks/useTrackEvent.js#L45
expect(received).resolves.toMatchInlineSnapshot(snapshot)
Snapshot name: `useTrackEvent should track simple event 1`
- Snapshot - 3
+ Received + 3
@@ -1,9 +1,9 @@
- Array [
- Object {
+ [
+ {
"data": null,
- "dimensions": Object {
+ "dimensions": {
"capability:downscaleImage:workerType": "web worker",
"capability:renderer": "html",
"prop:locale": "en-US",
"prop:speechRecognition": "false",
"prop:speechSynthesis": "false",
at Object.toMatchInlineSnapshot (node_modules/expect/build/index.js:174:22)
at toMatchInlineSnapshot (__tests__/hooks/useTrackEvent.js:45:16)
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=3/20:
__tests__/hooks/useTrackEvent.js#L71
expect(received).resolves.toMatchInlineSnapshot(snapshot)
Snapshot name: `useTrackEvent should track simple event using info explicitly 1`
- Snapshot - 3
+ Received + 3
@@ -1,9 +1,9 @@
- Array [
- Object {
+ [
+ {
"data": null,
- "dimensions": Object {
+ "dimensions": {
"capability:downscaleImage:workerType": "web worker",
"capability:renderer": "html",
"prop:locale": "en-US",
"prop:speechRecognition": "false",
"prop:speechSynthesis": "false",
at Object.toMatchInlineSnapshot (node_modules/expect/build/index.js:174:22)
at toMatchInlineSnapshot (__tests__/hooks/useTrackEvent.js:71:16)
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=3/20:
__tests__/hooks/useTrackEvent.js#L97
expect(received).resolves.toMatchInlineSnapshot(snapshot)
Snapshot name: `useTrackEvent should track numeric event 1`
- Snapshot - 3
+ Received + 3
@@ -1,9 +1,9 @@
- Array [
- Object {
+ [
+ {
"data": 123,
- "dimensions": Object {
+ "dimensions": {
"capability:downscaleImage:workerType": "web worker",
"capability:renderer": "html",
"prop:locale": "en-US",
"prop:speechRecognition": "false",
"prop:speechSynthesis": "false",
at Object.toMatchInlineSnapshot (node_modules/expect/build/index.js:174:22)
at toMatchInlineSnapshot (__tests__/hooks/useTrackEvent.js:97:16)
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=3/20:
__tests__/hooks/useTrackEvent.js#L123
expect(received).resolves.toMatchInlineSnapshot(snapshot)
Snapshot name: `useTrackEvent should track numeric event 2`
- Snapshot - 3
+ Received + 3
@@ -1,9 +1,9 @@
- Array [
- Object {
+ [
+ {
"data": "aloha",
- "dimensions": Object {
+ "dimensions": {
"capability:downscaleImage:workerType": "web worker",
"capability:renderer": "html",
"prop:locale": "en-US",
"prop:speechRecognition": "false",
"prop:speechSynthesis": "false",
at Object.toMatchInlineSnapshot (node_modules/expect/build/index.js:174:22)
at toMatchInlineSnapshot (__tests__/hooks/useTrackEvent.js:123:16)
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=3/20:
__tests__/hooks/useTrackEvent.js#L149
expect(received).resolves.toMatchInlineSnapshot(snapshot)
Snapshot name: `useTrackEvent should track complex event 1`
- Snapshot - 4
+ Received + 4
@@ -1,12 +1,12 @@
- Array [
- Object {
- "data": Object {
+ [
+ {
+ "data": {
"hello": "aloha",
"one": 1,
},
- "dimensions": Object {
+ "dimensions": {
"capability:downscaleImage:workerType": "web worker",
"capability:renderer": "html",
"prop:locale": "en-US",
"prop:speechRecognition": "false",
"prop:speechSynthesis": "false",
at Object.toMatchInlineSnapshot (node_modules/expect/build/index.js:174:22)
at toMatchInlineSnapshot (__tests__/hooks/useTrackEvent.js:149:16)
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=3/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