Update to react-mosaic-component upstream #2
Annotations
4 errors
|
|
|
Run npm test -- --coverage
The operation was canceled.
|
|
Run npm test -- --coverage:
src/lib/MosaicLayout.js#L75
Error: Cannot find parent for removal
❯ createRemoveUpdate node_modules/react-mosaic-component/lib/util/mosaicUpdates.mjs:56:11
❯ src/lib/MosaicLayout.js:75:9
❯ MosaicLayout.removeWindows src/lib/MosaicLayout.js:74:8
❯ __tests__/src/lib/MosaicLayout.test.js:47:16
|
|
Run npm test -- --coverage:
__tests__/src/lib/MosaicLayout.test.js#L26
AssertionError: expected { direction: 'row', …(2) } to deeply equal { Object (direction, first, ...) }
- Expected
+ Received
{
"direction": "row",
- "first": "foo",
- "second": {
+ "first": {
"direction": "column",
- "first": {
- "direction": "row",
"first": "bat",
- "second": "bark",
+ "second": {
+ "direction": "row",
+ "first": "foo",
+ "second": "bar",
},
- "second": "bar",
},
+ "second": "bark",
}
❯ __tests__/src/lib/MosaicLayout.test.js:26:31
|
Loading