Use hooks, support React 18, drop React < 16 #366
Annotations
10 errors
test/index.test.js#L26
AssertionError: expected { id: 169408731, …(21) } to match object { url: 'https://vimeo.com/179290396' }
(22 matching properties omitted from actual)
- Expected
+ Received
Object {
- "url": "https://vimeo.com/179290396",
+ "autopause": true,
+ "autoplay": false,
+ "background": false,
+ "byline": true,
+ "color": undefined,
+ "controls": true,
+ "dnt": false,
+ "height": undefined,
+ "id": 169408731,
+ "keyboard": true,
+ "loop": false,
+ "muted": false,
+ "pip": false,
+ "playsinline": true,
+ "portrait": true,
+ "quality": undefined,
+ "responsive": false,
+ "speed": false,
+ "texttrack": undefined,
+ "title": true,
+ "transparent": true,
+ "width": undefined,
}
❯ test/index.test.js:26:38
|
test/index.test.js#L37
AssertionError: expected { id: 169408731, …(21) } to match object { id: 404 }
(21 matching properties omitted from actual)
- Expected
+ Received
Object {
- "id": 404,
+ "id": 169408731,
}
❯ test/index.test.js:37:38
|
test/index.test.js#L51
AssertionError: expected "spy" to be called at least once
❯ test/index.test.js:51:34
|
test/index.test.js#L63
AssertionError: expected "spy" to not be called at all, but actually been called 1 times
Received:
1st spy call:
Array []
Number of calls: 1
❯ test/index.test.js:63:33
|
test/index.test.js#L77
AssertionError: expected "spy" to be called with arguments: [ 0.5 ]
Received:
1st spy call:
Array [
- 0.5,
+ 100,
]
Number of calls: 1
❯ test/index.test.js:77:34
|
test/index.test.js#L89
AssertionError: expected "spy" to be called with arguments: [ 60 ]
Received:
Number of calls: 0
❯ test/index.test.js:89:39
|
test/index.test.js#L105
AssertionError: expected { id: 169408731, …(21) } to match object { color: '#0000ff' }
(21 matching properties omitted from actual)
- Expected
+ Received
Object {
- "color": "#0000ff",
+ "color": undefined,
}
❯ test/index.test.js:105:38
|
test/index.test.js#L122
AssertionError: expected "spy" to be called with arguments: [ true ]
Received:
1st spy call:
Array [
- true,
+ false,
]
Number of calls: 1
❯ test/index.test.js:122:32
|
test/index.test.js#L133
AssertionError: expected { id: 169408731, …(21) } to match object { width: 640, height: 320 }
(20 matching properties omitted from actual)
- Expected
+ Received
Object {
- "height": 320,
- "width": 640,
+ "height": undefined,
+ "width": undefined,
}
❯ test/index.test.js:133:38
|
test/index.test.js#L153
AssertionError: expected "spy" to be called with arguments: [ 0.5 ]
Received:
1st spy call:
Array [
- 0.5,
+ 1,
]
Number of calls: 1
❯ test/index.test.js:153:40
|
This job failed
Loading