From 4608167dea02e98fa95cbf14acd01738ef043246 Mon Sep 17 00:00:00 2001 From: ryan-collingham <43373633+ryan-collingham@users.noreply.github.com> Date: Wed, 11 Sep 2019 14:08:22 +0100 Subject: [PATCH] Update to react-scripts 3 Fixes security vulnerabilities reported by npm audit and gives us latest react-scripts features and updates. Update Snapshot tests to work with latest Jest 24 required by react-scripts 3 by using the enzyme-to-json package (see https://github.com/facebook/jest/issues/7802). --- testplan/web_ui/testing/package.json | 26 +- .../DictButtonGroup.test.js.snap | 697 +- .../DictLogAssertion.test.js.snap | 688 +- .../DictMatchAssertion.test.js.snap | 538 +- .../FixCellRenderer.test.js.snap | 273 +- .../FixLogAssertion.test.js.snap | 988 +- .../FixMatchAssertion.test.js.snap | 2650 +- .../DiscreteChartAssertion.test.js.snap | 611 +- .../XYGraphAssertion.test.js.snap | 870 +- .../ColumnContainAssertion.test.js.snap | 308 +- .../TableLogAssertion.test.js.snap | 194 +- .../TableMatchAssertion.test.js.snap | 390 +- .../__snapshots__/BasicAssertion.test.js.snap | 50987 ++-------------- .../NotImplementedAssertion.test.js.snap | 219 +- .../__snapshots__/Assertion.test.js.snap | 502 +- .../AssertionHeader.test.js.snap | 370 +- .../__snapshots__/AssertionPane.test.js.snap | 684 +- .../__snapshots__/InfiniteScroll.test.js.snap | 172 +- .../__snapshots__/Message.test.js.snap | 103 +- .../__snapshots__/Column.test.js.snap | 199 +- .../__tests__/__snapshots__/Nav.test.js.snap | 442 +- .../__snapshots__/NavBreadcrumbs.test.js.snap | 290 +- .../__snapshots__/NavEntry.test.js.snap | 383 +- .../__snapshots__/NavList.test.js.snap | 264 +- .../__snapshots__/BatchReport.test.js.snap | 1276 +- .../__snapshots__/FilterBox.test.js.snap | 112 +- .../__snapshots__/Toolbar.test.js.snap | 11056 +--- 27 files changed, 8326 insertions(+), 66966 deletions(-) diff --git a/testplan/web_ui/testing/package.json b/testplan/web_ui/testing/package.json index 78dd7b021..75cd4cad8 100644 --- a/testplan/web_ui/testing/package.json +++ b/testplan/web_ui/testing/package.json @@ -1,6 +1,6 @@ { "name": "testplan", - "version": "0.1.0", + "version": "0.2.0", "private": true, "dependencies": { "@babel/polyfill": "7.0.0", @@ -14,14 +14,13 @@ "bootstrap": "4.3.1", "enzyme": "3.7.0", "enzyme-adapter-react-16": "1.6.0", - "eslint": "5.10.0", "eslint-plugin-react": "7.11.1", "react": "16.6.0", "react-copy-html-to-clipboard": "6.0.4", "react-custom-scrollbars": "4.2.1", "react-dom": "16.6.0", "react-portal-tooltip": "2.4.0", - "react-scripts": "1.1.1", + "react-scripts": "^3.1.1", "react-spinners": "^0.6.0", "react-syntax-highlighter": "^11.0.2", "react-test-renderer": "16.6.0", @@ -29,15 +28,30 @@ "reactstrap": "6.3.0" }, "devDependencies": { - "babel-eslint": "10.0.1", + "enzyme-to-json": "^3.4.0", "moxios": "0.4.0" }, "scripts": { "start": "react-scripts start", "build": "react-scripts build", - "test": "react-scripts test --env=jsdom", + "test": "react-scripts test", "lint": "eslint --ext .js src", "eject": "react-scripts eject" }, - "homepage": "/" + "homepage": "https://github.com/Morgan-Stanley/testplan", + "browserslist": { + "production": [ + ">0.2%", + "not dead", + "not op_mini all" + ], + "development": [ + "last 1 chrome version", + "last 1 firefox version", + "last 1 safari version" + ] + }, + "jest": { + "snapshotSerializers": ["enzyme-to-json/serializer"] + } } diff --git a/testplan/web_ui/testing/src/AssertionPane/AssertionTypes/DictAssertions/__tests__/__snapshots__/DictButtonGroup.test.js.snap b/testplan/web_ui/testing/src/AssertionPane/AssertionTypes/DictAssertions/__tests__/__snapshots__/DictButtonGroup.test.js.snap index b2839559d..76ecea4a7 100644 --- a/testplan/web_ui/testing/src/AssertionPane/AssertionTypes/DictAssertions/__tests__/__snapshots__/DictButtonGroup.test.js.snap +++ b/testplan/web_ui/testing/src/AssertionPane/AssertionTypes/DictAssertions/__tests__/__snapshots__/DictButtonGroup.test.js.snap @@ -1,610 +1,97 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`DictLogAssertion shallow renders DictButtonGroup component 1`] = ` -ShallowWrapper { - Symbol(enzyme.__root__): [Circular], - Symbol(enzyme.__unrendered__): , - Symbol(enzyme.__renderer__): Object { - "batchedUpdates": [Function], - "getNode": [Function], - "render": [Function], - "simulateError": [Function], - "simulateEvent": [Function], - "unmount": [Function], - }, - Symbol(enzyme.__node__): Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - Array [ - , - , - , - , - ], - " -/>, - ], - "role": "group", - "style": Object { - "paddingBottom": ".5rem", - }, - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": "sort-test-uid1", - "nodeType": "class", - "props": Object { - "active": false, - "children": , - "color": "secondary", - "onClick": [Function], - "outline": true, - "size": "sm", - "tag": "button", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": "faSortAmountDown", - "nodeType": "function", - "props": Object { - "border": false, - "className": "", - "fixedWidth": false, - "flip": null, - "icon": "sort-amount-down", - "inverse": false, - "listItem": false, - "mask": null, - "pull": null, - "pulse": false, - "rotation": null, - "size": "sm", - "spin": false, - "symbol": false, - "title": "", - "transform": null, - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": "sort-test-uid2", - "nodeType": "class", - "props": Object { - "active": false, - "children": , - "color": "secondary", - "onClick": [Function], - "outline": true, - "size": "sm", - "tag": "button", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": "faSortAmountUp", - "nodeType": "function", - "props": Object { - "border": false, - "className": "", - "fixedWidth": false, - "flip": null, - "icon": "sort-amount-up", - "inverse": false, - "listItem": false, - "mask": null, - "pull": null, - "pulse": false, - "rotation": null, - "size": "sm", - "spin": false, - "symbol": false, - "title": "", - "transform": null, - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": "sort-test-uid3", - "nodeType": "class", - "props": Object { - "active": true, - "children": "Status", - "color": "secondary", - "onClick": [Function], - "outline": true, - "size": "sm", - "tag": "button", - }, - "ref": null, - "rendered": "Status", - "type": [Function], - }, - Object { - "instance": null, - "key": "sort-test-uid4", - "nodeType": "class", - "props": Object { - "active": false, - "children": "Failures only", - "color": "secondary", - "onClick": [Function], - "outline": true, - "size": "sm", - "tag": "button", - }, - "ref": null, - "rendered": "Failures only", - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "value": "
KeyExpectedValue
", - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - ], - "type": [Function], - }, - Symbol(enzyme.__nodes__): Array [ + - -, - , - , - , - ], - " -/>, - ], - "role": "group", - "style": Object { - "paddingBottom": ".5rem", - }, - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": "sort-test-uid1", - "nodeType": "class", - "props": Object { - "active": false, - "children": , - "color": "secondary", - "onClick": [Function], - "outline": true, - "size": "sm", - "tag": "button", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": "faSortAmountDown", - "nodeType": "function", - "props": Object { - "border": false, - "className": "", - "fixedWidth": false, - "flip": null, - "icon": "sort-amount-down", - "inverse": false, - "listItem": false, - "mask": null, - "pull": null, - "pulse": false, - "rotation": null, - "size": "sm", - "spin": false, - "symbol": false, - "title": "", - "transform": null, - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": "sort-test-uid2", - "nodeType": "class", - "props": Object { - "active": false, - "children": , - "color": "secondary", - "onClick": [Function], - "outline": true, - "size": "sm", - "tag": "button", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": "faSortAmountUp", - "nodeType": "function", - "props": Object { - "border": false, - "className": "", - "fixedWidth": false, - "flip": null, - "icon": "sort-amount-up", - "inverse": false, - "listItem": false, - "mask": null, - "pull": null, - "pulse": false, - "rotation": null, - "size": "sm", - "spin": false, - "symbol": false, - "title": "", - "transform": null, - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": "sort-test-uid3", - "nodeType": "class", - "props": Object { - "active": true, - "children": "Status", - "color": "secondary", - "onClick": [Function], - "outline": true, - "size": "sm", - "tag": "button", - }, - "ref": null, - "rendered": "Status", - "type": [Function], - }, - Object { - "instance": null, - "key": "sort-test-uid4", - "nodeType": "class", - "props": Object { - "active": false, - "children": "Failures only", - "color": "secondary", - "onClick": [Function], - "outline": true, - "size": "sm", - "tag": "button", - }, - "ref": null, - "rendered": "Failures only", - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "value": "
KeyExpectedValue
", - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - ], - "type": [Function], - }, - ], - Symbol(enzyme.__options__): Object { - "adapter": ReactSixteenAdapter { - "options": Object { - "enableComponentDidUpdateOnSetState": true, - "lifecycles": Object { - "componentDidUpdate": Object { - "onSetState": true, - }, - "getDerivedStateFromProps": true, - "getSnapshotBeforeUpdate": true, - "setState": Object { - "skipsComponentDidUpdateOnNullish": true, - }, - }, - }, - }, - }, -} -`; \ No newline at end of file + + + + + " + /> +
+`; diff --git a/testplan/web_ui/testing/src/AssertionPane/AssertionTypes/DictAssertions/__tests__/__snapshots__/DictLogAssertion.test.js.snap b/testplan/web_ui/testing/src/AssertionPane/AssertionTypes/DictAssertions/__tests__/__snapshots__/DictLogAssertion.test.js.snap index d3d9dc7fe..adb979345 100644 --- a/testplan/web_ui/testing/src/AssertionPane/AssertionTypes/DictAssertions/__tests__/__snapshots__/DictLogAssertion.test.js.snap +++ b/testplan/web_ui/testing/src/AssertionPane/AssertionTypes/DictAssertions/__tests__/__snapshots__/DictLogAssertion.test.js.snap @@ -1,513 +1,209 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`DictLogAssertion shallow renders the correct HTML structure 1`] = ` -ShallowWrapper { - Symbol(enzyme.__root__): [Circular], - Symbol(enzyme.__unrendered__): , - Symbol(enzyme.__renderer__): Object { - "batchedUpdates": [Function], - "getNode": [Function], - "render": [Function], - "simulateError": [Function], - "simulateEvent": [Function], - "unmount": [Function], - }, - Symbol(enzyme.__node__): Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "buttonGroup": , - "columnDefs": Array [ - Object { - "field": "descriptor", - "headerName": "Descriptor", - "hide": true, + ], + Array [ + 0, + "foo", + "", + ], + Array [ + 0, + "", + Array [ + "int", + "1", + ], + ], + Array [ + 0, + "", + Array [ + "int", + "2", + ], + ], + Array [ + 0, + "", + Array [ + "int", + "3", + ], + ], + Array [ + 0, + "bar", + "", + ], + Array [ + 1, + "color", + Array [ + "str", + "blue", + ], + ], + ] + } + setRowData={[Function]} + sortTypeList={ + Array [ + 1, + 2, + ] + } + /> + } + columnDefs={ + Array [ + Object { + "field": "descriptor", + "headerName": "Descriptor", + "hide": true, + }, + Object { + "cellRendererFramework": [Function], + "cellStyle": [Function], + "field": "key", + "headerName": "Key", + "pinned": "left", + "suppressMovable": true, + }, + Object { + "cellRendererFramework": [Function], + "cellStyle": [Function], + "field": "value", + "headerName": "Value", + }, + ] + } + rowData={ + Array [ + Object { + "descriptor": Object { + "indent": 0, + "isEmptyLine": false, + "isListKey": false, + "lineNo": 579, + "status": undefined, + }, + "key": Object { + "type": "key", + "value": "baz", + }, + "value": Object { + "type": "str", + "value": "hello world", + }, + }, + Object { + "descriptor": Object { + "indent": 0, + "isEmptyLine": false, + "isListKey": true, + "lineNo": 579, + "status": undefined, + }, + "key": Object { + "type": "key", + "value": "foo", + }, + }, + Object { + "descriptor": Object { + "indent": 0, + "isEmptyLine": false, + "isListKey": true, + "lineNo": 579, + "status": undefined, + }, + "key": Object { + "type": "key", + "value": "", }, - Object { - "cellRendererFramework": [Function], - "cellStyle": [Function], - "field": "key", - "headerName": "Key", - "pinned": "left", - "suppressMovable": true, + "value": Object { + "type": "int", + "value": "1", }, - Object { - "cellRendererFramework": [Function], - "cellStyle": [Function], - "field": "value", - "headerName": "Value", + }, + Object { + "descriptor": Object { + "indent": 0, + "isEmptyLine": false, + "isListKey": true, + "lineNo": 579, + "status": undefined, }, - ], - "rowData": Array [ - Object { - "descriptor": Object { - "indent": 0, - "isEmptyLine": false, - "isListKey": false, - "lineNo": 579, - "status": undefined, - }, - "key": Object { - "type": "key", - "value": "baz", - }, - "value": Object { - "type": "str", - "value": "hello world", - }, + "key": Object { + "type": "key", + "value": "", }, - Object { - "descriptor": Object { - "indent": 0, - "isEmptyLine": false, - "isListKey": true, - "lineNo": 579, - "status": undefined, - }, - "key": Object { - "type": "key", - "value": "foo", - }, + "value": Object { + "type": "int", + "value": "2", }, - Object { - "descriptor": Object { - "indent": 0, - "isEmptyLine": false, - "isListKey": true, - "lineNo": 579, - "status": undefined, - }, - "key": Object { - "type": "key", - "value": "", - }, - "value": Object { - "type": "int", - "value": "1", - }, + }, + Object { + "descriptor": Object { + "indent": 0, + "isEmptyLine": false, + "isListKey": false, + "lineNo": 579, + "status": undefined, }, - Object { - "descriptor": Object { - "indent": 0, - "isEmptyLine": false, - "isListKey": true, - "lineNo": 579, - "status": undefined, - }, - "key": Object { - "type": "key", - "value": "", - }, - "value": Object { - "type": "int", - "value": "2", - }, + "key": Object { + "type": "key", + "value": "", }, - Object { - "descriptor": Object { - "indent": 0, - "isEmptyLine": false, - "isListKey": false, - "lineNo": 579, - "status": undefined, - }, - "key": Object { - "type": "key", - "value": "", - }, - "value": Object { - "type": "int", - "value": "3", - }, + "value": Object { + "type": "int", + "value": "3", }, - Object { - "descriptor": Object { - "indent": 0, - "isEmptyLine": false, - "isListKey": false, - "lineNo": 579, - "status": undefined, - }, - "key": Object { - "type": "key", - "value": "bar", - }, + }, + Object { + "descriptor": Object { + "indent": 0, + "isEmptyLine": false, + "isListKey": false, + "lineNo": 579, + "status": undefined, }, - Object { - "descriptor": Object { - "indent": 1, - "isEmptyLine": false, - "isListKey": undefined, - "lineNo": 579, - "status": undefined, - }, - "key": Object { - "type": "key", - "value": "color", - }, - "value": Object { - "type": "str", - "value": "blue", - }, + "key": Object { + "type": "key", + "value": "bar", }, - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - Symbol(enzyme.__nodes__): Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "buttonGroup": , - "columnDefs": Array [ - Object { - "field": "descriptor", - "headerName": "Descriptor", - "hide": true, - }, - Object { - "cellRendererFramework": [Function], - "cellStyle": [Function], - "field": "key", - "headerName": "Key", - "pinned": "left", - "suppressMovable": true, - }, - Object { - "cellRendererFramework": [Function], - "cellStyle": [Function], - "field": "value", - "headerName": "Value", - }, - ], - "rowData": Array [ - Object { - "descriptor": Object { - "indent": 0, - "isEmptyLine": false, - "isListKey": false, - "lineNo": 579, - "status": undefined, - }, - "key": Object { - "type": "key", - "value": "baz", - }, - "value": Object { - "type": "str", - "value": "hello world", - }, - }, - Object { - "descriptor": Object { - "indent": 0, - "isEmptyLine": false, - "isListKey": true, - "lineNo": 579, - "status": undefined, - }, - "key": Object { - "type": "key", - "value": "foo", - }, - }, - Object { - "descriptor": Object { - "indent": 0, - "isEmptyLine": false, - "isListKey": true, - "lineNo": 579, - "status": undefined, - }, - "key": Object { - "type": "key", - "value": "", - }, - "value": Object { - "type": "int", - "value": "1", - }, - }, - Object { - "descriptor": Object { - "indent": 0, - "isEmptyLine": false, - "isListKey": true, - "lineNo": 579, - "status": undefined, - }, - "key": Object { - "type": "key", - "value": "", - }, - "value": Object { - "type": "int", - "value": "2", - }, - }, - Object { - "descriptor": Object { - "indent": 0, - "isEmptyLine": false, - "isListKey": false, - "lineNo": 579, - "status": undefined, - }, - "key": Object { - "type": "key", - "value": "", - }, - "value": Object { - "type": "int", - "value": "3", - }, - }, - Object { - "descriptor": Object { - "indent": 0, - "isEmptyLine": false, - "isListKey": false, - "lineNo": 579, - "status": undefined, - }, - "key": Object { - "type": "key", - "value": "bar", - }, - }, - Object { - "descriptor": Object { - "indent": 1, - "isEmptyLine": false, - "isListKey": undefined, - "lineNo": 579, - "status": undefined, - }, - "key": Object { - "type": "key", - "value": "color", - }, - "value": Object { - "type": "str", - "value": "blue", - }, - }, - ], }, - "ref": null, - "rendered": null, - "type": [Function], - }, - ], - Symbol(enzyme.__options__): Object { - "adapter": ReactSixteenAdapter { - "options": Object { - "enableComponentDidUpdateOnSetState": true, - "lifecycles": Object { - "componentDidUpdate": Object { - "onSetState": true, - }, - "getDerivedStateFromProps": true, - "getSnapshotBeforeUpdate": true, - "setState": Object { - "skipsComponentDidUpdateOnNullish": true, - }, + Object { + "descriptor": Object { + "indent": 1, + "isEmptyLine": false, + "isListKey": undefined, + "lineNo": 579, + "status": undefined, + }, + "key": Object { + "type": "key", + "value": "color", + }, + "value": Object { + "type": "str", + "value": "blue", }, }, - }, - }, -} -`; \ No newline at end of file + ] + } +/> +`; diff --git a/testplan/web_ui/testing/src/AssertionPane/AssertionTypes/DictAssertions/__tests__/__snapshots__/DictMatchAssertion.test.js.snap b/testplan/web_ui/testing/src/AssertionPane/AssertionTypes/DictAssertions/__tests__/__snapshots__/DictMatchAssertion.test.js.snap index 163e4b602..898be6d27 100644 --- a/testplan/web_ui/testing/src/AssertionPane/AssertionTypes/DictAssertions/__tests__/__snapshots__/DictMatchAssertion.test.js.snap +++ b/testplan/web_ui/testing/src/AssertionPane/AssertionTypes/DictAssertions/__tests__/__snapshots__/DictMatchAssertion.test.js.snap @@ -1,407 +1,159 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`DictMatchAssertion shallow renders the correct HTML structure 1`] = ` -ShallowWrapper { - Symbol(enzyme.__root__): [Circular], - Symbol(enzyme.__unrendered__): , - Symbol(enzyme.__renderer__): Object { - "batchedUpdates": [Function], - "getNode": [Function], - "render": [Function], - "simulateError": [Function], - "simulateEvent": [Function], - "unmount": [Function], - }, - Symbol(enzyme.__node__): Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "buttonGroup": , - "columnDefs": Array [ - Object { - "field": "descriptor", - "headerName": "Descriptor", - "hide": true, + Array [ + "int", + "1", + ], + ], + Array [ + 0, + "bar", + "Failed", + Array [ + "int", + "2", + ], + Array [ + "int", + "5", + ], + ], + Array [ + 0, + "extra-key", + "Failed", + Array [ + null, + "ABSENT", + ], + Array [ + "int", + "10", + ], + ], + ] + } + setRowData={[Function]} + sortTypeList={ + Array [ + 1, + 2, + 3, + 4, + ] + } + /> + } + columnDefs={ + Array [ + Object { + "field": "descriptor", + "headerName": "Descriptor", + "hide": true, + }, + Object { + "cellRendererFramework": [Function], + "cellStyle": [Function], + "field": "key", + "headerName": "Key", + "pinned": "left", + "suppressMovable": true, + }, + Object { + "cellRendererFramework": [Function], + "cellStyle": [Function], + "field": "expected", + "headerName": "Expected", + }, + Object { + "cellRendererFramework": [Function], + "cellStyle": [Function], + "field": "value", + "headerName": "Value", + }, + ] + } + rowData={ + Array [ + Object { + "descriptor": Object { + "indent": 0, + "isEmptyLine": false, + "isListKey": false, + "lineNo": 524, + "status": "Failed", }, - Object { - "cellRendererFramework": [Function], - "cellStyle": [Function], - "field": "key", - "headerName": "Key", - "pinned": "left", - "suppressMovable": true, + "expected": Object { + "type": "int", + "value": "5", }, - Object { - "cellRendererFramework": [Function], - "cellStyle": [Function], - "field": "expected", - "headerName": "Expected", + "key": Object { + "type": "key", + "value": "bar", }, - Object { - "cellRendererFramework": [Function], - "cellStyle": [Function], - "field": "value", - "headerName": "Value", + "value": Object { + "type": "int", + "value": "2", + }, + }, + Object { + "descriptor": Object { + "indent": 0, + "isEmptyLine": false, + "isListKey": false, + "lineNo": 524, + "status": "Failed", }, - ], - "rowData": Array [ - Object { - "descriptor": Object { - "indent": 0, - "isEmptyLine": false, - "isListKey": false, - "lineNo": 524, - "status": "Failed", - }, - "expected": Object { - "type": "int", - "value": "5", - }, - "key": Object { - "type": "key", - "value": "bar", - }, - "value": Object { - "type": "int", - "value": "2", - }, + "expected": Object { + "type": "int", + "value": "10", }, - Object { - "descriptor": Object { - "indent": 0, - "isEmptyLine": false, - "isListKey": false, - "lineNo": 524, - "status": "Failed", - }, - "expected": Object { - "type": "int", - "value": "10", - }, - "key": Object { - "type": "key", - "value": "extra-key", - }, - "value": Object { - "type": null, - "value": "ABSENT", - }, + "key": Object { + "type": "key", + "value": "extra-key", }, - Object { - "descriptor": Object { - "indent": 0, - "isEmptyLine": false, - "isListKey": undefined, - "lineNo": 524, - "status": "Passed", - }, - "expected": Object { - "type": "int", - "value": "1", - }, - "key": Object { - "type": "key", - "value": "foo", - }, - "value": Object { - "type": "int", - "value": "1", - }, + "value": Object { + "type": null, + "value": "ABSENT", }, - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - Symbol(enzyme.__nodes__): Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "buttonGroup": , - "columnDefs": Array [ - Object { - "field": "descriptor", - "headerName": "Descriptor", - "hide": true, - }, - Object { - "cellRendererFramework": [Function], - "cellStyle": [Function], - "field": "key", - "headerName": "Key", - "pinned": "left", - "suppressMovable": true, - }, - Object { - "cellRendererFramework": [Function], - "cellStyle": [Function], - "field": "expected", - "headerName": "Expected", - }, - Object { - "cellRendererFramework": [Function], - "cellStyle": [Function], - "field": "value", - "headerName": "Value", - }, - ], - "rowData": Array [ - Object { - "descriptor": Object { - "indent": 0, - "isEmptyLine": false, - "isListKey": false, - "lineNo": 524, - "status": "Failed", - }, - "expected": Object { - "type": "int", - "value": "5", - }, - "key": Object { - "type": "key", - "value": "bar", - }, - "value": Object { - "type": "int", - "value": "2", - }, - }, - Object { - "descriptor": Object { - "indent": 0, - "isEmptyLine": false, - "isListKey": false, - "lineNo": 524, - "status": "Failed", - }, - "expected": Object { - "type": "int", - "value": "10", - }, - "key": Object { - "type": "key", - "value": "extra-key", - }, - "value": Object { - "type": null, - "value": "ABSENT", - }, - }, - Object { - "descriptor": Object { - "indent": 0, - "isEmptyLine": false, - "isListKey": undefined, - "lineNo": 524, - "status": "Passed", - }, - "expected": Object { - "type": "int", - "value": "1", - }, - "key": Object { - "type": "key", - "value": "foo", - }, - "value": Object { - "type": "int", - "value": "1", - }, - }, - ], }, - "ref": null, - "rendered": null, - "type": [Function], - }, - ], - Symbol(enzyme.__options__): Object { - "adapter": ReactSixteenAdapter { - "options": Object { - "enableComponentDidUpdateOnSetState": true, - "lifecycles": Object { - "componentDidUpdate": Object { - "onSetState": true, - }, - "getDerivedStateFromProps": true, - "getSnapshotBeforeUpdate": true, - "setState": Object { - "skipsComponentDidUpdateOnNullish": true, - }, + Object { + "descriptor": Object { + "indent": 0, + "isEmptyLine": false, + "isListKey": undefined, + "lineNo": 524, + "status": "Passed", + }, + "expected": Object { + "type": "int", + "value": "1", + }, + "key": Object { + "type": "key", + "value": "foo", + }, + "value": Object { + "type": "int", + "value": "1", }, }, - }, - }, -} -`; \ No newline at end of file + ] + } +/> +`; diff --git a/testplan/web_ui/testing/src/AssertionPane/AssertionTypes/DictAssertions/__tests__/__snapshots__/FixCellRenderer.test.js.snap b/testplan/web_ui/testing/src/AssertionPane/AssertionTypes/DictAssertions/__tests__/__snapshots__/FixCellRenderer.test.js.snap index 44b4a8caa..351a2981e 100644 --- a/testplan/web_ui/testing/src/AssertionPane/AssertionTypes/DictAssertions/__tests__/__snapshots__/FixCellRenderer.test.js.snap +++ b/testplan/web_ui/testing/src/AssertionPane/AssertionTypes/DictAssertions/__tests__/__snapshots__/FixCellRenderer.test.js.snap @@ -1,253 +1,46 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`DictLogAssertion shallow renders the dict value 1`] = ` -ShallowWrapper { - Symbol(enzyme.__root__): [Circular], - Symbol(enzyme.__unrendered__): + , - Symbol(enzyme.__renderer__): Object { - "batchedUpdates": [Function], - "getNode": [Function], - "render": [Function], - "simulateError": [Function], - "simulateEvent": [Function], - "unmount": [Function], - }, - Symbol(enzyme.__node__): Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "colDef": Object { - "field": "expected", - "headerName": "Expected", + Object { + "descriptor": Object { + "indent": 1, + "isFailed": true, + "isFix": true, + "isListKey": false, + "lineNo": 667, }, - "data": Object { - "descriptor": Object { - "indent": 1, - "isFailed": true, - "isFix": true, - "isListKey": false, - "lineNo": 667, - }, - "expected": Object { - "type": "B", - "value": "B", - }, - "key": Object { - "type": "key", - "value": 601, - }, - "value": Object { - "type": "str", - "value": "A", - }, - }, - "id": "id_667_undefined_expected", - "onMouseEnter": [Function], - "onMouseLeave": [Function], - "value": Object { + "expected": Object { "type": "B", "value": "B", }, - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": Symbol(react.fragment), - }, - Symbol(enzyme.__nodes__): Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "colDef": Object { - "field": "expected", - "headerName": "Expected", - }, - "data": Object { - "descriptor": Object { - "indent": 1, - "isFailed": true, - "isFix": true, - "isListKey": false, - "lineNo": 667, - }, - "expected": Object { - "type": "B", - "value": "B", - }, - "key": Object { - "type": "key", - "value": 601, - }, - "value": Object { - "type": "str", - "value": "A", - }, - }, - "id": "id_667_undefined_expected", - "onMouseEnter": [Function], - "onMouseLeave": [Function], - "value": Object { - "type": "B", - "value": "B", - }, + "key": Object { + "type": "key", + "value": 601, }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": Symbol(react.fragment), - }, - ], - Symbol(enzyme.__options__): Object { - "adapter": ReactSixteenAdapter { - "options": Object { - "enableComponentDidUpdateOnSetState": true, - "lifecycles": Object { - "componentDidUpdate": Object { - "onSetState": true, - }, - "getDerivedStateFromProps": true, - "getSnapshotBeforeUpdate": true, - "setState": Object { - "skipsComponentDidUpdateOnNullish": true, - }, + "value": Object { + "type": "str", + "value": "A", }, - }, - }, - }, -} + } + } + id="id_667_undefined_expected" + onMouseEnter={[Function]} + onMouseLeave={[Function]} + value={ + Object { + "type": "B", + "value": "B", + } + } + /> + `; diff --git a/testplan/web_ui/testing/src/AssertionPane/AssertionTypes/DictAssertions/__tests__/__snapshots__/FixLogAssertion.test.js.snap b/testplan/web_ui/testing/src/AssertionPane/AssertionTypes/DictAssertions/__tests__/__snapshots__/FixLogAssertion.test.js.snap index eda96be86..4988256d6 100644 --- a/testplan/web_ui/testing/src/AssertionPane/AssertionTypes/DictAssertions/__tests__/__snapshots__/FixLogAssertion.test.js.snap +++ b/testplan/web_ui/testing/src/AssertionPane/AssertionTypes/DictAssertions/__tests__/__snapshots__/FixLogAssertion.test.js.snap @@ -1,728 +1,302 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`FixLogAssertion shallow renders the correct HTML structure 1`] = ` -ShallowWrapper { - Symbol(enzyme.__root__): [Circular], - Symbol(enzyme.__unrendered__): , - Symbol(enzyme.__renderer__): Object { - "batchedUpdates": [Function], - "getNode": [Function], - "render": [Function], - "simulateError": [Function], - "simulateEvent": [Function], - "unmount": [Function], - }, - Symbol(enzyme.__node__): Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "buttonGroup": , - "columnDefs": Array [ - Object { - "field": "descriptor", - "headerName": "Descriptor", - "hide": true, + ], + Array [ + 1, + 556, + Array [ + "str", + "USD", + ], + ], + Array [ + 0, + "", + "", + ], + Array [ + 1, + 624, + Array [ + "int", + "2", + ], + ], + Array [ + 1, + 556, + Array [ + "str", + "EUR", + ], + ], + Array [ + 0, + 36, + Array [ + "int", + "6", + ], + ], + Array [ + 0, + 38, + Array [ + "int", + "5", + ], + ], + Array [ + 0, + 22, + Array [ + "int", + "5", + ], + ], + Array [ + 0, + 55, + Array [ + "int", + "2", + ], + ], + ] + } + setRowData={[Function]} + sortTypeList={ + Array [ + 1, + 2, + ] + } + /> + } + columnDefs={ + Array [ + Object { + "field": "descriptor", + "headerName": "Descriptor", + "hide": true, + }, + Object { + "cellRendererFramework": [Function], + "cellStyle": [Function], + "field": "key", + "headerName": "Key", + "pinned": "left", + "suppressMovable": true, + }, + Object { + "cellRendererFramework": [Function], + "cellStyle": [Function], + "field": "value", + "headerName": "Value", + }, + ] + } + rowData={ + Array [ + Object { + "descriptor": Object { + "indent": 0, + "isEmptyLine": false, + "isListKey": true, + "lineNo": 688, + "status": undefined, + }, + "key": Object { + "type": "key", + "value": 555, + }, + }, + Object { + "descriptor": Object { + "indent": 0, + "isEmptyLine": true, + "isListKey": false, + "lineNo": 688, + "status": undefined, + }, + "key": Object { + "type": null, + "value": null, + }, + }, + Object { + "descriptor": Object { + "indent": 1, + "isEmptyLine": false, + "isListKey": false, + "lineNo": 688, + "status": undefined, + }, + "key": Object { + "type": "key", + "value": 624, }, - Object { - "cellRendererFramework": [Function], - "cellStyle": [Function], - "field": "key", - "headerName": "Key", - "pinned": "left", - "suppressMovable": true, + "value": Object { + "type": "int", + "value": "1", }, - Object { - "cellRendererFramework": [Function], - "cellStyle": [Function], - "field": "value", - "headerName": "Value", + }, + Object { + "descriptor": Object { + "indent": 1, + "isEmptyLine": false, + "isListKey": true, + "lineNo": 688, + "status": undefined, }, - ], - "rowData": Array [ - Object { - "descriptor": Object { - "indent": 0, - "isEmptyLine": false, - "isListKey": true, - "lineNo": 688, - "status": undefined, - }, - "key": Object { - "type": "key", - "value": 555, - }, + "key": Object { + "type": "key", + "value": 556, }, - Object { - "descriptor": Object { - "indent": 0, - "isEmptyLine": true, - "isListKey": false, - "lineNo": 688, - "status": undefined, - }, - "key": Object { - "type": null, - "value": null, - }, + "value": Object { + "type": "str", + "value": "USD", }, - Object { - "descriptor": Object { - "indent": 1, - "isEmptyLine": false, - "isListKey": false, - "lineNo": 688, - "status": undefined, - }, - "key": Object { - "type": "key", - "value": 624, - }, - "value": Object { - "type": "int", - "value": "1", - }, + }, + Object { + "descriptor": Object { + "indent": 0, + "isEmptyLine": true, + "isListKey": false, + "lineNo": 688, + "status": undefined, }, - Object { - "descriptor": Object { - "indent": 1, - "isEmptyLine": false, - "isListKey": true, - "lineNo": 688, - "status": undefined, - }, - "key": Object { - "type": "key", - "value": 556, - }, - "value": Object { - "type": "str", - "value": "USD", - }, + "key": Object { + "type": null, + "value": null, }, - Object { - "descriptor": Object { - "indent": 0, - "isEmptyLine": true, - "isListKey": false, - "lineNo": 688, - "status": undefined, - }, - "key": Object { - "type": null, - "value": null, - }, + }, + Object { + "descriptor": Object { + "indent": 1, + "isEmptyLine": false, + "isListKey": false, + "lineNo": 688, + "status": undefined, }, - Object { - "descriptor": Object { - "indent": 1, - "isEmptyLine": false, - "isListKey": false, - "lineNo": 688, - "status": undefined, - }, - "key": Object { - "type": "key", - "value": 624, - }, - "value": Object { - "type": "int", - "value": "2", - }, + "key": Object { + "type": "key", + "value": 624, }, - Object { - "descriptor": Object { - "indent": 1, - "isEmptyLine": false, - "isListKey": false, - "lineNo": 688, - "status": undefined, - }, - "key": Object { - "type": "key", - "value": 556, - }, - "value": Object { - "type": "str", - "value": "EUR", - }, + "value": Object { + "type": "int", + "value": "2", }, - Object { - "descriptor": Object { - "indent": 0, - "isEmptyLine": false, - "isListKey": false, - "lineNo": 688, - "status": undefined, - }, - "key": Object { - "type": "key", - "value": 36, - }, - "value": Object { - "type": "int", - "value": "6", - }, + }, + Object { + "descriptor": Object { + "indent": 1, + "isEmptyLine": false, + "isListKey": false, + "lineNo": 688, + "status": undefined, }, - Object { - "descriptor": Object { - "indent": 0, - "isEmptyLine": false, - "isListKey": false, - "lineNo": 688, - "status": undefined, - }, - "key": Object { - "type": "key", - "value": 38, - }, - "value": Object { - "type": "int", - "value": "5", - }, + "key": Object { + "type": "key", + "value": 556, }, - Object { - "descriptor": Object { - "indent": 0, - "isEmptyLine": false, - "isListKey": false, - "lineNo": 688, - "status": undefined, - }, - "key": Object { - "type": "key", - "value": 22, - }, - "value": Object { - "type": "int", - "value": "5", - }, + "value": Object { + "type": "str", + "value": "EUR", }, - Object { - "descriptor": Object { - "indent": 0, - "isEmptyLine": false, - "isListKey": undefined, - "lineNo": 688, - "status": undefined, - }, - "key": Object { - "type": "key", - "value": 55, - }, - "value": Object { - "type": "int", - "value": "2", - }, + }, + Object { + "descriptor": Object { + "indent": 0, + "isEmptyLine": false, + "isListKey": false, + "lineNo": 688, + "status": undefined, + }, + "key": Object { + "type": "key", + "value": 36, + }, + "value": Object { + "type": "int", + "value": "6", }, - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - Symbol(enzyme.__nodes__): Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "buttonGroup": , - "columnDefs": Array [ - Object { - "field": "descriptor", - "headerName": "Descriptor", - "hide": true, - }, - Object { - "cellRendererFramework": [Function], - "cellStyle": [Function], - "field": "key", - "headerName": "Key", - "pinned": "left", - "suppressMovable": true, - }, - Object { - "cellRendererFramework": [Function], - "cellStyle": [Function], - "field": "value", - "headerName": "Value", - }, - ], - "rowData": Array [ - Object { - "descriptor": Object { - "indent": 0, - "isEmptyLine": false, - "isListKey": true, - "lineNo": 688, - "status": undefined, - }, - "key": Object { - "type": "key", - "value": 555, - }, - }, - Object { - "descriptor": Object { - "indent": 0, - "isEmptyLine": true, - "isListKey": false, - "lineNo": 688, - "status": undefined, - }, - "key": Object { - "type": null, - "value": null, - }, - }, - Object { - "descriptor": Object { - "indent": 1, - "isEmptyLine": false, - "isListKey": false, - "lineNo": 688, - "status": undefined, - }, - "key": Object { - "type": "key", - "value": 624, - }, - "value": Object { - "type": "int", - "value": "1", - }, - }, - Object { - "descriptor": Object { - "indent": 1, - "isEmptyLine": false, - "isListKey": true, - "lineNo": 688, - "status": undefined, - }, - "key": Object { - "type": "key", - "value": 556, - }, - "value": Object { - "type": "str", - "value": "USD", - }, - }, - Object { - "descriptor": Object { - "indent": 0, - "isEmptyLine": true, - "isListKey": false, - "lineNo": 688, - "status": undefined, - }, - "key": Object { - "type": null, - "value": null, - }, - }, - Object { - "descriptor": Object { - "indent": 1, - "isEmptyLine": false, - "isListKey": false, - "lineNo": 688, - "status": undefined, - }, - "key": Object { - "type": "key", - "value": 624, - }, - "value": Object { - "type": "int", - "value": "2", - }, - }, - Object { - "descriptor": Object { - "indent": 1, - "isEmptyLine": false, - "isListKey": false, - "lineNo": 688, - "status": undefined, - }, - "key": Object { - "type": "key", - "value": 556, - }, - "value": Object { - "type": "str", - "value": "EUR", - }, - }, - Object { - "descriptor": Object { - "indent": 0, - "isEmptyLine": false, - "isListKey": false, - "lineNo": 688, - "status": undefined, - }, - "key": Object { - "type": "key", - "value": 36, - }, - "value": Object { - "type": "int", - "value": "6", - }, - }, - Object { - "descriptor": Object { - "indent": 0, - "isEmptyLine": false, - "isListKey": false, - "lineNo": 688, - "status": undefined, - }, - "key": Object { - "type": "key", - "value": 38, - }, - "value": Object { - "type": "int", - "value": "5", - }, - }, - Object { - "descriptor": Object { - "indent": 0, - "isEmptyLine": false, - "isListKey": false, - "lineNo": 688, - "status": undefined, - }, - "key": Object { - "type": "key", - "value": 22, - }, - "value": Object { - "type": "int", - "value": "5", - }, - }, - Object { - "descriptor": Object { - "indent": 0, - "isEmptyLine": false, - "isListKey": undefined, - "lineNo": 688, - "status": undefined, - }, - "key": Object { - "type": "key", - "value": 55, - }, - "value": Object { - "type": "int", - "value": "2", - }, - }, - ], }, - "ref": null, - "rendered": null, - "type": [Function], - }, - ], - Symbol(enzyme.__options__): Object { - "adapter": ReactSixteenAdapter { - "options": Object { - "enableComponentDidUpdateOnSetState": true, - "lifecycles": Object { - "componentDidUpdate": Object { - "onSetState": true, - }, - "getDerivedStateFromProps": true, - "getSnapshotBeforeUpdate": true, - "setState": Object { - "skipsComponentDidUpdateOnNullish": true, - }, + Object { + "descriptor": Object { + "indent": 0, + "isEmptyLine": false, + "isListKey": false, + "lineNo": 688, + "status": undefined, + }, + "key": Object { + "type": "key", + "value": 38, + }, + "value": Object { + "type": "int", + "value": "5", + }, + }, + Object { + "descriptor": Object { + "indent": 0, + "isEmptyLine": false, + "isListKey": false, + "lineNo": 688, + "status": undefined, + }, + "key": Object { + "type": "key", + "value": 22, + }, + "value": Object { + "type": "int", + "value": "5", + }, + }, + Object { + "descriptor": Object { + "indent": 0, + "isEmptyLine": false, + "isListKey": undefined, + "lineNo": 688, + "status": undefined, + }, + "key": Object { + "type": "key", + "value": 55, + }, + "value": Object { + "type": "int", + "value": "2", }, }, - }, - }, -} -`; \ No newline at end of file + ] + } +/> +`; diff --git a/testplan/web_ui/testing/src/AssertionPane/AssertionTypes/DictAssertions/__tests__/__snapshots__/FixMatchAssertion.test.js.snap b/testplan/web_ui/testing/src/AssertionPane/AssertionTypes/DictAssertions/__tests__/__snapshots__/FixMatchAssertion.test.js.snap index 572b1a4a4..510050dfa 100644 --- a/testplan/web_ui/testing/src/AssertionPane/AssertionTypes/DictAssertions/__tests__/__snapshots__/FixMatchAssertion.test.js.snap +++ b/testplan/web_ui/testing/src/AssertionPane/AssertionTypes/DictAssertions/__tests__/__snapshots__/FixMatchAssertion.test.js.snap @@ -1,1883 +1,781 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`FixMatchAssertion shallow renders the correct HTML structure 1`] = ` -ShallowWrapper { - Symbol(enzyme.__root__): [Circular], - Symbol(enzyme.__unrendered__): = 4", - ], - ], - Array [ - 0, - 22, - "Passed", - Array [ - "int", - "5", - ], - Array [ - "int", - "5", - ], - ], - Array [ - 0, - 55, - "Passed", - Array [ - "int", - "2", - ], - Array [ - "int", - "2", - ], - ], +, - Symbol(enzyme.__renderer__): Object { - "batchedUpdates": [Function], - "getNode": [Function], - "render": [Function], - "simulateError": [Function], - "simulateEvent": [Function], - "unmount": [Function], - }, - Symbol(enzyme.__node__): Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "buttonGroup": = 4", - ], - ], - Array [ - 0, - 22, - "Passed", - Array [ - "int", - "5", - ], - Array [ - "int", - "5", - ], - ], - Array [ - 0, - 55, - "Passed", - Array [ - "int", - "2", - ], - Array [ - "int", - "2", - ], - ], - ] - } - setRowData={[Function]} - sortTypeList={ - Array [ - 1, - 2, - 3, - 4, - ] - } -/>, - "columnDefs": Array [ - Object { - "field": "descriptor", - "headerName": "Descriptor", - "hide": true, - }, - Object { - "cellRendererFramework": [Function], - "cellStyle": [Function], - "field": "key", - "headerName": "Key", - "pinned": "left", - "suppressMovable": true, - }, - Object { - "cellRendererFramework": [Function], - "cellStyle": [Function], - "field": "expected", - "headerName": "Expected", - }, - Object { - "cellRendererFramework": [Function], - "cellStyle": [Function], - "field": "value", - "headerName": "Value", - }, - ], - "rowData": Array [ - Object { - "descriptor": Object { - "indent": 0, - "isEmptyLine": false, - "isListKey": true, - "lineNo": 667, - "status": "Failed", - }, - "key": Object { - "type": "key", - "value": 555, - }, - }, - Object { - "descriptor": Object { - "indent": 0, - "isEmptyLine": true, - "isListKey": false, - "lineNo": 667, - "status": "Failed", - }, - "key": Object { - "type": null, - "value": null, - }, - }, - Object { - "descriptor": Object { - "indent": 1, - "isEmptyLine": false, - "isListKey": false, - "lineNo": 667, - "status": "Failed", - }, - "expected": Object { - "type": "str", - "value": "B", - }, - "key": Object { - "type": "key", - "value": 601, - }, - "value": Object { - "type": "str", - "value": "A", - }, - }, - Object { - "descriptor": Object { - "indent": 1, - "isEmptyLine": false, - "isListKey": false, - "lineNo": 667, - "status": "Passed", - }, - "expected": Object { - "type": "str", - "value": "A", - }, - "key": Object { - "type": "key", - "value": 600, - }, - "value": Object { - "type": "str", - "value": "A", - }, - }, - Object { - "descriptor": Object { - "indent": 1, - "isEmptyLine": false, - "isListKey": true, - "lineNo": 667, - "status": "Passed", - }, - "key": Object { - "type": "key", - "value": 683, - }, - }, - Object { - "descriptor": Object { - "indent": 1, - "isEmptyLine": true, - "isListKey": false, - "lineNo": 667, - "status": "Passed", - }, - "key": Object { - "type": null, - "value": null, - }, - }, - Object { - "descriptor": Object { - "indent": 2, - "isEmptyLine": false, - "isListKey": false, - "lineNo": 667, - "status": "Passed", - }, - "expected": Object { - "type": "str", - "value": "a", - }, - "key": Object { - "type": "key", - "value": 688, - }, - "value": Object { - "type": "str", - "value": "a", - }, - }, - Object { - "descriptor": Object { - "indent": 2, - "isEmptyLine": false, - "isListKey": true, - "lineNo": 667, - "status": "Passed", - }, - "expected": Object { - "type": "REGEX", - "value": "[a-z]", - }, - "key": Object { - "type": "key", - "value": 689, - }, - "value": Object { - "type": "str", - "value": "a", - }, - }, - Object { - "descriptor": Object { - "indent": 1, - "isEmptyLine": true, - "isListKey": false, - "lineNo": 667, - "status": "Passed", - }, - "key": Object { - "type": null, - "value": null, - }, - }, - Object { - "descriptor": Object { - "indent": 2, - "isEmptyLine": false, - "isListKey": false, - "lineNo": 667, - "status": "Passed", - }, - "expected": Object { - "type": "str", - "value": "b", - }, - "key": Object { - "type": "key", - "value": 688, - }, - "value": Object { - "type": "str", - "value": "b", - }, - }, - Object { - "descriptor": Object { - "indent": 2, - "isEmptyLine": false, - "isListKey": true, - "lineNo": 667, - "status": "Passed", - }, - "expected": Object { - "type": "str", - "value": "b", - }, - "key": Object { - "type": "key", - "value": 689, - }, - "value": Object { - "type": "str", - "value": "b", - }, - }, - Object { - "descriptor": Object { - "indent": 0, - "isEmptyLine": true, - "isListKey": false, - "lineNo": 667, - "status": "Failed", - }, - "key": Object { - "type": null, - "value": null, - }, - }, - Object { - "descriptor": Object { - "indent": 1, - "isEmptyLine": false, - "isListKey": false, - "lineNo": 667, - "status": "Failed", - }, - "expected": Object { - "type": "str", - "value": "C", - }, - "key": Object { - "type": "key", - "value": 600, - }, - "value": Object { - "type": "str", - "value": "B", - }, - }, - Object { - "descriptor": Object { - "indent": 1, - "isEmptyLine": false, - "isListKey": false, - "lineNo": 667, - "status": "Passed", - }, - "expected": Object { - "type": "str", - "value": "B", - }, - "key": Object { - "type": "key", - "value": 601, - }, - "value": Object { - "type": "str", - "value": "B", - }, - }, - Object { - "descriptor": Object { - "indent": 1, - "isEmptyLine": false, - "isListKey": true, - "lineNo": 667, - "status": "Passed", - }, - "key": Object { - "type": "key", - "value": 683, - }, - }, - Object { - "descriptor": Object { - "indent": 1, - "isEmptyLine": true, - "isListKey": false, - "lineNo": 667, - "status": "Passed", - }, - "key": Object { - "type": null, - "value": null, - }, - }, - Object { - "descriptor": Object { - "indent": 2, - "isEmptyLine": false, - "isListKey": false, - "lineNo": 667, - "status": "Passed", - }, - "expected": Object { - "type": "str", - "value": "c", - }, - "key": Object { - "type": "key", - "value": 688, - }, - "value": Object { - "type": "str", - "value": "c", - }, - }, - Object { - "descriptor": Object { - "indent": 2, - "isEmptyLine": false, - "isListKey": true, - "lineNo": 667, - "status": "Passed", - }, - "expected": Object { - "type": "func", - "value": "VAL in ('c', 'd')", - }, - "key": Object { - "type": "key", - "value": 689, - }, - "value": Object { - "type": "str", - "value": "c", - }, - }, - Object { - "descriptor": Object { - "indent": 1, - "isEmptyLine": true, - "isListKey": false, - "lineNo": 667, - "status": "Passed", - }, - "key": Object { - "type": null, - "value": null, - }, - }, - Object { - "descriptor": Object { - "indent": 2, - "isEmptyLine": false, - "isListKey": false, - "lineNo": 667, - "status": "Passed", - }, - "expected": Object { - "type": "str", - "value": "d", - }, - "key": Object { - "type": "key", - "value": 688, - }, - "value": Object { - "type": "str", - "value": "d", - }, - }, - Object { - "descriptor": Object { - "indent": 2, - "isEmptyLine": false, - "isListKey": false, - "lineNo": 667, - "status": "Passed", - }, - "expected": Object { - "type": "str", - "value": "d", - }, - "key": Object { - "type": "key", - "value": 689, - }, - "value": Object { - "type": "str", - "value": "d", - }, - }, - Object { - "descriptor": Object { - "indent": 0, - "isEmptyLine": false, - "isListKey": false, - "lineNo": 667, - "status": "Passed", - }, - "expected": Object { - "type": "int", - "value": "6", - }, - "key": Object { - "type": "key", - "value": 36, - }, - "value": Object { - "type": "int", - "value": "6", - }, - }, - Object { - "descriptor": Object { - "indent": 0, - "isEmptyLine": false, - "isListKey": false, - "lineNo": 667, - "status": "Passed", - }, - "expected": Object { - "type": "func", - "value": "VAL >= 4", - }, - "key": Object { - "type": "key", - "value": 38, - }, - "value": Object { - "type": "int", - "value": "5", - }, - }, - Object { - "descriptor": Object { - "indent": 0, - "isEmptyLine": false, - "isListKey": false, - "lineNo": 667, - "status": "Passed", - }, - "expected": Object { - "type": "int", - "value": "5", - }, - "key": Object { - "type": "key", - "value": 22, - }, - "value": Object { - "type": "int", - "value": "5", - }, - }, - Object { - "descriptor": Object { - "indent": 0, - "isEmptyLine": false, - "isListKey": undefined, - "lineNo": 667, - "status": "Passed", - }, - "expected": Object { - "type": "int", - "value": "2", - }, - "key": Object { - "type": "key", - "value": 55, - }, - "value": Object { - "type": "int", - "value": "2", - }, - }, - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - Symbol(enzyme.__nodes__): Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "buttonGroup": = 4", - ], - ], - Array [ - 0, - 22, - "Passed", - Array [ - "int", - "5", - ], - Array [ - "int", - "5", - ], - ], - Array [ - 0, - 55, - "Passed", - Array [ - "int", - "2", - ], - Array [ - "int", - "2", - ], - ], - ] - } - setRowData={[Function]} - sortTypeList={ - Array [ - 1, - 2, - 3, - 4, - ] - } -/>, - "columnDefs": Array [ - Object { - "field": "descriptor", - "headerName": "Descriptor", - "hide": true, - }, - Object { - "cellRendererFramework": [Function], - "cellStyle": [Function], - "field": "key", - "headerName": "Key", - "pinned": "left", - "suppressMovable": true, - }, - Object { - "cellRendererFramework": [Function], - "cellStyle": [Function], - "field": "expected", - "headerName": "Expected", - }, - Object { - "cellRendererFramework": [Function], - "cellStyle": [Function], - "field": "value", - "headerName": "Value", - }, - ], - "rowData": Array [ - Object { - "descriptor": Object { - "indent": 0, - "isEmptyLine": false, - "isListKey": true, - "lineNo": 667, - "status": "Failed", - }, - "key": Object { - "type": "key", - "value": 555, - }, - }, - Object { - "descriptor": Object { - "indent": 0, - "isEmptyLine": true, - "isListKey": false, - "lineNo": 667, - "status": "Failed", - }, - "key": Object { - "type": null, - "value": null, - }, - }, - Object { - "descriptor": Object { - "indent": 1, - "isEmptyLine": false, - "isListKey": false, - "lineNo": 667, - "status": "Failed", - }, - "expected": Object { - "type": "str", - "value": "B", - }, - "key": Object { - "type": "key", - "value": 601, - }, - "value": Object { - "type": "str", - "value": "A", - }, - }, - Object { - "descriptor": Object { - "indent": 1, - "isEmptyLine": false, - "isListKey": false, - "lineNo": 667, - "status": "Passed", - }, - "expected": Object { - "type": "str", - "value": "A", - }, - "key": Object { - "type": "key", - "value": 600, - }, - "value": Object { - "type": "str", - "value": "A", - }, - }, - Object { - "descriptor": Object { - "indent": 1, - "isEmptyLine": false, - "isListKey": true, - "lineNo": 667, - "status": "Passed", - }, - "key": Object { - "type": "key", - "value": 683, - }, - }, - Object { - "descriptor": Object { - "indent": 1, - "isEmptyLine": true, - "isListKey": false, - "lineNo": 667, - "status": "Passed", - }, - "key": Object { - "type": null, - "value": null, - }, - }, - Object { - "descriptor": Object { - "indent": 2, - "isEmptyLine": false, - "isListKey": false, - "lineNo": 667, - "status": "Passed", - }, - "expected": Object { - "type": "str", - "value": "a", - }, - "key": Object { - "type": "key", - "value": 688, - }, - "value": Object { - "type": "str", - "value": "a", - }, - }, - Object { - "descriptor": Object { - "indent": 2, - "isEmptyLine": false, - "isListKey": true, - "lineNo": 667, - "status": "Passed", - }, - "expected": Object { - "type": "REGEX", - "value": "[a-z]", - }, - "key": Object { - "type": "key", - "value": 689, - }, - "value": Object { - "type": "str", - "value": "a", - }, - }, - Object { - "descriptor": Object { - "indent": 1, - "isEmptyLine": true, - "isListKey": false, - "lineNo": 667, - "status": "Passed", - }, - "key": Object { - "type": null, - "value": null, - }, - }, - Object { - "descriptor": Object { - "indent": 2, - "isEmptyLine": false, - "isListKey": false, - "lineNo": 667, - "status": "Passed", - }, - "expected": Object { - "type": "str", - "value": "b", - }, - "key": Object { - "type": "key", - "value": 688, - }, - "value": Object { - "type": "str", - "value": "b", - }, - }, - Object { - "descriptor": Object { - "indent": 2, - "isEmptyLine": false, - "isListKey": true, - "lineNo": 667, - "status": "Passed", - }, - "expected": Object { - "type": "str", - "value": "b", - }, - "key": Object { - "type": "key", - "value": 689, - }, - "value": Object { - "type": "str", - "value": "b", - }, - }, - Object { - "descriptor": Object { - "indent": 0, - "isEmptyLine": true, - "isListKey": false, - "lineNo": 667, - "status": "Failed", - }, - "key": Object { - "type": null, - "value": null, - }, - }, - Object { - "descriptor": Object { - "indent": 1, - "isEmptyLine": false, - "isListKey": false, - "lineNo": 667, - "status": "Failed", - }, - "expected": Object { - "type": "str", - "value": "C", - }, - "key": Object { - "type": "key", - "value": 600, - }, - "value": Object { - "type": "str", - "value": "B", - }, - }, - Object { - "descriptor": Object { - "indent": 1, - "isEmptyLine": false, - "isListKey": false, - "lineNo": 667, - "status": "Passed", - }, - "expected": Object { - "type": "str", - "value": "B", - }, - "key": Object { - "type": "key", - "value": 601, - }, - "value": Object { - "type": "str", - "value": "B", - }, - }, - Object { - "descriptor": Object { - "indent": 1, - "isEmptyLine": false, - "isListKey": true, - "lineNo": 667, - "status": "Passed", - }, - "key": Object { - "type": "key", - "value": 683, - }, - }, - Object { - "descriptor": Object { - "indent": 1, - "isEmptyLine": true, - "isListKey": false, - "lineNo": 667, - "status": "Passed", - }, - "key": Object { - "type": null, - "value": null, - }, - }, - Object { - "descriptor": Object { - "indent": 2, - "isEmptyLine": false, - "isListKey": false, - "lineNo": 667, - "status": "Passed", - }, - "expected": Object { - "type": "str", - "value": "c", - }, - "key": Object { - "type": "key", - "value": 688, - }, - "value": Object { - "type": "str", - "value": "c", - }, - }, - Object { - "descriptor": Object { - "indent": 2, - "isEmptyLine": false, - "isListKey": true, - "lineNo": 667, - "status": "Passed", - }, - "expected": Object { - "type": "func", - "value": "VAL in ('c', 'd')", - }, - "key": Object { - "type": "key", - "value": 689, - }, - "value": Object { - "type": "str", - "value": "c", - }, - }, - Object { - "descriptor": Object { - "indent": 1, - "isEmptyLine": true, - "isListKey": false, - "lineNo": 667, - "status": "Passed", - }, - "key": Object { - "type": null, - "value": null, - }, - }, - Object { - "descriptor": Object { - "indent": 2, - "isEmptyLine": false, - "isListKey": false, - "lineNo": 667, - "status": "Passed", - }, - "expected": Object { - "type": "str", - "value": "d", - }, - "key": Object { - "type": "key", - "value": 688, - }, - "value": Object { - "type": "str", - "value": "d", - }, - }, - Object { - "descriptor": Object { - "indent": 2, - "isEmptyLine": false, - "isListKey": false, - "lineNo": 667, - "status": "Passed", - }, - "expected": Object { - "type": "str", - "value": "d", - }, - "key": Object { - "type": "key", - "value": 689, - }, - "value": Object { - "type": "str", - "value": "d", - }, - }, - Object { - "descriptor": Object { - "indent": 0, - "isEmptyLine": false, - "isListKey": false, - "lineNo": 667, - "status": "Passed", - }, - "expected": Object { - "type": "int", - "value": "6", - }, - "key": Object { - "type": "key", - "value": 36, - }, - "value": Object { - "type": "int", - "value": "6", - }, - }, - Object { - "descriptor": Object { - "indent": 0, - "isEmptyLine": false, - "isListKey": false, - "lineNo": 667, - "status": "Passed", - }, - "expected": Object { - "type": "func", - "value": "VAL >= 4", - }, - "key": Object { - "type": "key", - "value": 38, - }, - "value": Object { - "type": "int", - "value": "5", - }, - }, - Object { - "descriptor": Object { - "indent": 0, - "isEmptyLine": false, - "isListKey": false, - "lineNo": 667, - "status": "Passed", - }, - "expected": Object { - "type": "int", - "value": "5", - }, - "key": Object { - "type": "key", - "value": 22, - }, - "value": Object { - "type": "int", - "value": "5", - }, - }, - Object { - "descriptor": Object { - "indent": 0, - "isEmptyLine": false, - "isListKey": undefined, - "lineNo": 667, - "status": "Passed", - }, - "expected": Object { - "type": "int", - "value": "2", - }, - "key": Object { - "type": "key", - "value": 55, - }, - "value": Object { - "type": "int", - "value": "2", - }, - }, - ], + Array [ + "str", + "A", + ], + ], + Array [ + 1, + 601, + "Failed", + Array [ + "str", + "A", + ], + Array [ + "str", + "B", + ], + ], + Array [ + 1, + 683, + "Passed", + "", + "", + ], + Array [ + 1, + "", + "Passed", + "", + "", + ], + Array [ + 2, + 688, + "Passed", + Array [ + "str", + "a", + ], + Array [ + "str", + "a", + ], + ], + Array [ + 2, + 689, + "Passed", + Array [ + "str", + "a", + ], + Array [ + "REGEX", + "[a-z]", + ], + ], + Array [ + 1, + "", + "Passed", + "", + "", + ], + Array [ + 2, + 688, + "Passed", + Array [ + "str", + "b", + ], + Array [ + "str", + "b", + ], + ], + Array [ + 2, + 689, + "Passed", + Array [ + "str", + "b", + ], + Array [ + "str", + "b", + ], + ], + Array [ + 0, + "", + "Failed", + "", + "", + ], + Array [ + 1, + 600, + "Failed", + Array [ + "str", + "B", + ], + Array [ + "str", + "C", + ], + ], + Array [ + 1, + 601, + "Passed", + Array [ + "str", + "B", + ], + Array [ + "str", + "B", + ], + ], + Array [ + 1, + 683, + "Passed", + "", + "", + ], + Array [ + 1, + "", + "Passed", + "", + "", + ], + Array [ + 2, + 688, + "Passed", + Array [ + "str", + "c", + ], + Array [ + "str", + "c", + ], + ], + Array [ + 2, + 689, + "Passed", + Array [ + "str", + "c", + ], + Array [ + "func", + "VAL in ('c', 'd')", + ], + ], + Array [ + 1, + "", + "Passed", + "", + "", + ], + Array [ + 2, + 688, + "Passed", + Array [ + "str", + "d", + ], + Array [ + "str", + "d", + ], + ], + Array [ + 2, + 689, + "Passed", + Array [ + "str", + "d", + ], + Array [ + "str", + "d", + ], + ], + Array [ + 0, + 36, + "Passed", + Array [ + "int", + "6", + ], + Array [ + "int", + "6", + ], + ], + Array [ + 0, + 38, + "Passed", + Array [ + "int", + "5", + ], + Array [ + "func", + "VAL >= 4", + ], + ], + Array [ + 0, + 22, + "Passed", + Array [ + "int", + "5", + ], + Array [ + "int", + "5", + ], + ], + Array [ + 0, + 55, + "Passed", + Array [ + "int", + "2", + ], + Array [ + "int", + "2", + ], + ], + ] + } + setRowData={[Function]} + sortTypeList={ + Array [ + 1, + 2, + 3, + 4, + ] + } + /> + } + columnDefs={ + Array [ + Object { + "field": "descriptor", + "headerName": "Descriptor", + "hide": true, + }, + Object { + "cellRendererFramework": [Function], + "cellStyle": [Function], + "field": "key", + "headerName": "Key", + "pinned": "left", + "suppressMovable": true, + }, + Object { + "cellRendererFramework": [Function], + "cellStyle": [Function], + "field": "expected", + "headerName": "Expected", + }, + Object { + "cellRendererFramework": [Function], + "cellStyle": [Function], + "field": "value", + "headerName": "Value", + }, + ] + } + rowData={ + Array [ + Object { + "descriptor": Object { + "indent": 0, + "isEmptyLine": false, + "isListKey": true, + "lineNo": 667, + "status": "Failed", + }, + "key": Object { + "type": "key", + "value": 555, + }, + }, + Object { + "descriptor": Object { + "indent": 0, + "isEmptyLine": true, + "isListKey": false, + "lineNo": 667, + "status": "Failed", + }, + "key": Object { + "type": null, + "value": null, + }, + }, + Object { + "descriptor": Object { + "indent": 1, + "isEmptyLine": false, + "isListKey": false, + "lineNo": 667, + "status": "Failed", + }, + "expected": Object { + "type": "str", + "value": "B", + }, + "key": Object { + "type": "key", + "value": 601, + }, + "value": Object { + "type": "str", + "value": "A", + }, + }, + Object { + "descriptor": Object { + "indent": 1, + "isEmptyLine": false, + "isListKey": false, + "lineNo": 667, + "status": "Passed", + }, + "expected": Object { + "type": "str", + "value": "A", + }, + "key": Object { + "type": "key", + "value": 600, + }, + "value": Object { + "type": "str", + "value": "A", + }, + }, + Object { + "descriptor": Object { + "indent": 1, + "isEmptyLine": false, + "isListKey": true, + "lineNo": 667, + "status": "Passed", + }, + "key": Object { + "type": "key", + "value": 683, + }, }, - "ref": null, - "rendered": null, - "type": [Function], - }, - ], - Symbol(enzyme.__options__): Object { - "adapter": ReactSixteenAdapter { - "options": Object { - "enableComponentDidUpdateOnSetState": true, - "lifecycles": Object { - "componentDidUpdate": Object { - "onSetState": true, - }, - "getDerivedStateFromProps": true, - "getSnapshotBeforeUpdate": true, - "setState": Object { - "skipsComponentDidUpdateOnNullish": true, - }, + Object { + "descriptor": Object { + "indent": 1, + "isEmptyLine": true, + "isListKey": false, + "lineNo": 667, + "status": "Passed", + }, + "key": Object { + "type": null, + "value": null, + }, + }, + Object { + "descriptor": Object { + "indent": 2, + "isEmptyLine": false, + "isListKey": false, + "lineNo": 667, + "status": "Passed", + }, + "expected": Object { + "type": "str", + "value": "a", + }, + "key": Object { + "type": "key", + "value": 688, + }, + "value": Object { + "type": "str", + "value": "a", + }, + }, + Object { + "descriptor": Object { + "indent": 2, + "isEmptyLine": false, + "isListKey": true, + "lineNo": 667, + "status": "Passed", + }, + "expected": Object { + "type": "REGEX", + "value": "[a-z]", + }, + "key": Object { + "type": "key", + "value": 689, + }, + "value": Object { + "type": "str", + "value": "a", + }, + }, + Object { + "descriptor": Object { + "indent": 1, + "isEmptyLine": true, + "isListKey": false, + "lineNo": 667, + "status": "Passed", + }, + "key": Object { + "type": null, + "value": null, + }, + }, + Object { + "descriptor": Object { + "indent": 2, + "isEmptyLine": false, + "isListKey": false, + "lineNo": 667, + "status": "Passed", + }, + "expected": Object { + "type": "str", + "value": "b", + }, + "key": Object { + "type": "key", + "value": 688, + }, + "value": Object { + "type": "str", + "value": "b", + }, + }, + Object { + "descriptor": Object { + "indent": 2, + "isEmptyLine": false, + "isListKey": true, + "lineNo": 667, + "status": "Passed", + }, + "expected": Object { + "type": "str", + "value": "b", + }, + "key": Object { + "type": "key", + "value": 689, + }, + "value": Object { + "type": "str", + "value": "b", + }, + }, + Object { + "descriptor": Object { + "indent": 0, + "isEmptyLine": true, + "isListKey": false, + "lineNo": 667, + "status": "Failed", + }, + "key": Object { + "type": null, + "value": null, + }, + }, + Object { + "descriptor": Object { + "indent": 1, + "isEmptyLine": false, + "isListKey": false, + "lineNo": 667, + "status": "Failed", + }, + "expected": Object { + "type": "str", + "value": "C", + }, + "key": Object { + "type": "key", + "value": 600, + }, + "value": Object { + "type": "str", + "value": "B", + }, + }, + Object { + "descriptor": Object { + "indent": 1, + "isEmptyLine": false, + "isListKey": false, + "lineNo": 667, + "status": "Passed", + }, + "expected": Object { + "type": "str", + "value": "B", + }, + "key": Object { + "type": "key", + "value": 601, + }, + "value": Object { + "type": "str", + "value": "B", + }, + }, + Object { + "descriptor": Object { + "indent": 1, + "isEmptyLine": false, + "isListKey": true, + "lineNo": 667, + "status": "Passed", + }, + "key": Object { + "type": "key", + "value": 683, + }, + }, + Object { + "descriptor": Object { + "indent": 1, + "isEmptyLine": true, + "isListKey": false, + "lineNo": 667, + "status": "Passed", + }, + "key": Object { + "type": null, + "value": null, + }, + }, + Object { + "descriptor": Object { + "indent": 2, + "isEmptyLine": false, + "isListKey": false, + "lineNo": 667, + "status": "Passed", + }, + "expected": Object { + "type": "str", + "value": "c", + }, + "key": Object { + "type": "key", + "value": 688, + }, + "value": Object { + "type": "str", + "value": "c", + }, + }, + Object { + "descriptor": Object { + "indent": 2, + "isEmptyLine": false, + "isListKey": true, + "lineNo": 667, + "status": "Passed", + }, + "expected": Object { + "type": "func", + "value": "VAL in ('c', 'd')", + }, + "key": Object { + "type": "key", + "value": 689, + }, + "value": Object { + "type": "str", + "value": "c", + }, + }, + Object { + "descriptor": Object { + "indent": 1, + "isEmptyLine": true, + "isListKey": false, + "lineNo": 667, + "status": "Passed", + }, + "key": Object { + "type": null, + "value": null, + }, + }, + Object { + "descriptor": Object { + "indent": 2, + "isEmptyLine": false, + "isListKey": false, + "lineNo": 667, + "status": "Passed", + }, + "expected": Object { + "type": "str", + "value": "d", + }, + "key": Object { + "type": "key", + "value": 688, + }, + "value": Object { + "type": "str", + "value": "d", + }, + }, + Object { + "descriptor": Object { + "indent": 2, + "isEmptyLine": false, + "isListKey": false, + "lineNo": 667, + "status": "Passed", + }, + "expected": Object { + "type": "str", + "value": "d", + }, + "key": Object { + "type": "key", + "value": 689, + }, + "value": Object { + "type": "str", + "value": "d", + }, + }, + Object { + "descriptor": Object { + "indent": 0, + "isEmptyLine": false, + "isListKey": false, + "lineNo": 667, + "status": "Passed", + }, + "expected": Object { + "type": "int", + "value": "6", + }, + "key": Object { + "type": "key", + "value": 36, + }, + "value": Object { + "type": "int", + "value": "6", + }, + }, + Object { + "descriptor": Object { + "indent": 0, + "isEmptyLine": false, + "isListKey": false, + "lineNo": 667, + "status": "Passed", + }, + "expected": Object { + "type": "func", + "value": "VAL >= 4", + }, + "key": Object { + "type": "key", + "value": 38, + }, + "value": Object { + "type": "int", + "value": "5", + }, + }, + Object { + "descriptor": Object { + "indent": 0, + "isEmptyLine": false, + "isListKey": false, + "lineNo": 667, + "status": "Passed", + }, + "expected": Object { + "type": "int", + "value": "5", + }, + "key": Object { + "type": "key", + "value": 22, + }, + "value": Object { + "type": "int", + "value": "5", + }, + }, + Object { + "descriptor": Object { + "indent": 0, + "isEmptyLine": false, + "isListKey": undefined, + "lineNo": 667, + "status": "Passed", + }, + "expected": Object { + "type": "int", + "value": "2", + }, + "key": Object { + "type": "key", + "value": 55, + }, + "value": Object { + "type": "int", + "value": "2", }, }, - }, - }, -} -`; \ No newline at end of file + ] + } +/> +`; diff --git a/testplan/web_ui/testing/src/AssertionPane/AssertionTypes/GraphAssertions/__tests__/__snapshots__/DiscreteChartAssertion.test.js.snap b/testplan/web_ui/testing/src/AssertionPane/AssertionTypes/GraphAssertions/__tests__/__snapshots__/DiscreteChartAssertion.test.js.snap index 67aecf45c..5367aca23 100644 --- a/testplan/web_ui/testing/src/AssertionPane/AssertionTypes/GraphAssertions/__tests__/__snapshots__/DiscreteChartAssertion.test.js.snap +++ b/testplan/web_ui/testing/src/AssertionPane/AssertionTypes/GraphAssertions/__tests__/__snapshots__/DiscreteChartAssertion.test.js.snap @@ -1,543 +1,102 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`DiscreteChartAssertion shallow renders the correct HTML structure 1`] = ` -ShallowWrapper { - Symbol(enzyme.__root__): [Circular], - Symbol(enzyme.__unrendered__): + , - Symbol(enzyme.__renderer__): Object { - "batchedUpdates": [Function], - "getNode": [Function], - "render": [Function], - "simulateError": [Function], - "simulateEvent": [Function], - "unmount": [Function], - }, - Symbol(enzyme.__node__): Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - Array [ - , - ], - , -
, -

- (Hover over chart to see labels) -

, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": "Data Name", - "nodeType": "function", - "props": Object { - "children": false, - "className": "", - "colorRange": Array [ - "#12939A", - "#79C7E3", - "#1A3177", - "#FF9833", - "#EF5D28", - ], - "colorType": "literal", - "data": Array [ - Object { - "angle": 1, - "color": "#89DAC1", - "name": "green", - }, - Object { - "angle": 2, - "color": "#F6D18A", - "name": "yellow", - }, - Object { - "angle": 5, - "color": "#1E96BE", - "name": "cyan", - }, - Object { - "angle": 3, - "color": "#DA70BF", - "name": "magenta", - }, - Object { - "angle": 5, - "color": "#F6D18A", - "name": "yellow again", - }, - ], - "getAngle": [Function], - "getAngle0": [Function], - "getLabel": [Function], - "getRadius": [Function], - "getRadius0": [Function], - "getSubLabel": [Function], - "height": 300, - "onSeriesMouseOut": [Function], - "onValueMouseOver": [Function], - "padAngle": 0, - "width": 400, + colorType="literal" + data={ + Array [ + Object { + "angle": 1, + "color": "#89DAC1", + "name": "green", + }, + Object { + "angle": 2, + "color": "#F6D18A", + "name": "yellow", + }, + Object { + "angle": 5, + "color": "#1E96BE", + "name": "cyan", }, - "ref": null, - "rendered": false, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "className": "", - "colors": Array [ - "#12939A", - "#79C7E3", - "#1A3177", - "#FF9833", - "#EF5D28", - ], - "items": Array [ - Object { - "color": "#89DAC1", - "title": "green", - }, - Object { - "color": "#F6D18A", - "title": "yellow", - }, - Object { - "color": "#1E96BE", - "title": "cyan", - }, - Object { - "color": "#DA70BF", - "title": "magenta", - }, - Object { - "color": "#F6D18A", - "title": "yellow again", - }, - ], - "orientation": "horizontal", - "width": 750, + Object { + "angle": 3, + "color": "#DA70BF", + "name": "magenta", }, - "ref": null, - "rendered": null, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object {}, - "ref": null, - "rendered": null, - "type": "br", - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "(Hover over chart to see labels)", + Object { + "angle": 5, + "color": "#F6D18A", + "name": "yellow again", }, - "ref": null, - "rendered": "(Hover over chart to see labels)", - "type": "p", - }, - ], - "type": "div", - }, - Symbol(enzyme.__nodes__): Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - Array [ - , - ], - , -
, -

- (Hover over chart to see labels) -

, - ], - }, - "ref": null, - "rendered": Array [ + ] + } + getAngle={[Function]} + getAngle0={[Function]} + getLabel={[Function]} + getRadius={[Function]} + getRadius0={[Function]} + getSubLabel={[Function]} + height={300} + key="Data Name" + onSeriesMouseOut={[Function]} + onValueMouseOver={[Function]} + padAngle={0} + width={400} + /> + +
+

+ (Hover over chart to see labels) +

+ `; diff --git a/testplan/web_ui/testing/src/AssertionPane/AssertionTypes/GraphAssertions/__tests__/__snapshots__/XYGraphAssertion.test.js.snap b/testplan/web_ui/testing/src/AssertionPane/AssertionTypes/GraphAssertions/__tests__/__snapshots__/XYGraphAssertion.test.js.snap index 327ce6ce5..757a23eda 100644 --- a/testplan/web_ui/testing/src/AssertionPane/AssertionTypes/GraphAssertions/__tests__/__snapshots__/XYGraphAssertion.test.js.snap +++ b/testplan/web_ui/testing/src/AssertionPane/AssertionTypes/GraphAssertions/__tests__/__snapshots__/XYGraphAssertion.test.js.snap @@ -1,786 +1,110 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`XYGraphAssertion shallow renders the correct HTML structure 1`] = ` -ShallowWrapper { - Symbol(enzyme.__root__): [Circular], - Symbol(enzyme.__unrendered__): , - Symbol(enzyme.__renderer__): Object { - "batchedUpdates": [Function], - "getNode": [Function], - "render": [Function], - "simulateError": [Function], - "simulateEvent": [Function], - "unmount": [Function], - }, - Symbol(enzyme.__node__): Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - - - - - - - - -, - , - ], - "className": "centreComponent_1moixrt", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "animation": true, - "children": Array [ - , - , - , - , - , - Array [ - , - ], - , - ], - "className": "", - "height": 500, - "width": 750, - "xDomain": undefined, - "xType": "ordinal", - "yDomain": undefined, - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "attr": "y", - "direction": "horizontal", - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "attr": "x", - "attrAxis": "y", - "orientation": "bottom", - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "className": "x-axis-label", - "includeMargin": false, - "style": Object { - "textAnchor": "middle", - "transform": "rotate(0)", - }, - "text": "", - "xPercent": 0.5, - "yPercent": 1.107, - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "attr": "y", - "attrAxis": "x", - "orientation": "left", - }, - "ref": null, - "rendered": null, - "type": [Function], - }, + + + + + + + - - - - - - - -, - , - ], - "className": "centreComponent_1moixrt", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "animation": true, - "children": Array [ - , - , - , - , - , - Array [ - , - ], - , - ], - "className": "", - "height": 500, - "width": 750, - "xDomain": undefined, - "xType": "ordinal", - "yDomain": undefined, + "x": "C", + "y": 15, }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "attr": "y", - "direction": "horizontal", - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "attr": "x", - "attrAxis": "y", - "orientation": "bottom", - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "className": "x-axis-label", - "includeMargin": false, - "style": Object { - "textAnchor": "middle", - "transform": "rotate(0)", - }, - "text": "", - "xPercent": 0.5, - "yPercent": 1.107, - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "attr": "y", - "attrAxis": "x", - "orientation": "left", - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "className": "y-axis-label", - "includeMargin": false, - "style": Object { - "textAnchor": "middle", - "transform": "rotate(270)", - }, - "text": "", - "xPercent": -0.0455, - "yPercent": 0.5, - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - Object { - "instance": null, - "key": "Data Name", - "nodeType": "class", - "props": Object { - "className": "", - "color": "red", - "data": Array [ - Object { - "x": "A", - "y": 10, - }, - Object { - "x": "B", - "y": 5, - }, - Object { - "x": "C", - "y": 15, - }, - ], - "stack": false, - "style": Object {}, - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "className": "", - "color": "rgb(77, 182, 172)", - "enableX": true, - "enableY": true, - "onBrushEnd": [Function], - "onDrag": [Function], - "opacity": 0.3, - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - ], - "type": [Function], - }, + ] + } + key="Data Name" + stack={false} + style={Object {}} + /> + + + + `; diff --git a/testplan/web_ui/testing/src/AssertionPane/AssertionTypes/TableAssertions/__tests__/__snapshots__/ColumnContainAssertion.test.js.snap b/testplan/web_ui/testing/src/AssertionPane/AssertionTypes/TableAssertions/__tests__/__snapshots__/ColumnContainAssertion.test.js.snap index 0fcaa805b..2377d411e 100644 --- a/testplan/web_ui/testing/src/AssertionPane/AssertionTypes/TableAssertions/__tests__/__snapshots__/ColumnContainAssertion.test.js.snap +++ b/testplan/web_ui/testing/src/AssertionPane/AssertionTypes/TableAssertions/__tests__/__snapshots__/ColumnContainAssertion.test.js.snap @@ -1,242 +1,82 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`DictLogAssertion shallow renders the correct HTML structure 1`] = ` -ShallowWrapper { - Symbol(enzyme.__root__): [Circular], - Symbol(enzyme.__unrendered__): , - Symbol(enzyme.__renderer__): Object { - "batchedUpdates": [Function], - "getNode": [Function], - "render": [Function], - "simulateError": [Function], - "simulateEvent": [Function], - "unmount": [Function], - }, - Symbol(enzyme.__node__): Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "columnDefs": Array [ - Object { - "cellStyle": [Function], - "field": "id", - "headerName": "ID", - "pinned": "left", - "suppressResize": true, - "suppressSizeToFit": true, - "width": 72, - }, - Object { - "cellStyle": [Function], - "field": "value", - "headerName": "symbol", - }, - ], - "preText": - Values: [ - "AAPL" - , - "AMZN" - ] -, - "rowData": Array [ - Object { - "expected": Array [ - "AAPL", - "AMZN", - ], - "id": 0, - "passed": true, - "value": "AAPL", - }, - Object { - "expected": Array [ - "AAPL", - "AMZN", - ], - "id": 1, - "passed": false, - "value": "GOOG", - }, - Object { - "expected": Array [ - "AAPL", - "AMZN", - ], - "id": 2, - "passed": false, - "value": "FB", - }, - Object { - "expected": Array [ - "AAPL", - "AMZN", - ], - "id": 3, - "passed": true, - "value": "AMZN", - }, - Object { - "expected": Array [ - "AAPL", - "AMZN", - ], - "id": 4, - "passed": false, - "value": "MSFT", - }, - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - Symbol(enzyme.__nodes__): Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "columnDefs": Array [ - Object { - "cellStyle": [Function], - "field": "id", - "headerName": "ID", - "pinned": "left", - "suppressResize": true, - "suppressSizeToFit": true, - "width": 72, - }, - Object { - "cellStyle": [Function], - "field": "value", - "headerName": "symbol", - }, + + Values: [ + "AAPL" + , + "AMZN" + ] + + } + rowData={ + Array [ + Object { + "expected": Array [ + "AAPL", + "AMZN", + ], + "id": 0, + "passed": true, + "value": "AAPL", + }, + Object { + "expected": Array [ + "AAPL", + "AMZN", ], - "preText": - Values: [ - "AAPL" - , - "AMZN" - ] -, - "rowData": Array [ - Object { - "expected": Array [ - "AAPL", - "AMZN", - ], - "id": 0, - "passed": true, - "value": "AAPL", - }, - Object { - "expected": Array [ - "AAPL", - "AMZN", - ], - "id": 1, - "passed": false, - "value": "GOOG", - }, - Object { - "expected": Array [ - "AAPL", - "AMZN", - ], - "id": 2, - "passed": false, - "value": "FB", - }, - Object { - "expected": Array [ - "AAPL", - "AMZN", - ], - "id": 3, - "passed": true, - "value": "AMZN", - }, - Object { - "expected": Array [ - "AAPL", - "AMZN", - ], - "id": 4, - "passed": false, - "value": "MSFT", - }, + "id": 1, + "passed": false, + "value": "GOOG", + }, + Object { + "expected": Array [ + "AAPL", + "AMZN", + ], + "id": 2, + "passed": false, + "value": "FB", + }, + Object { + "expected": Array [ + "AAPL", + "AMZN", ], + "id": 3, + "passed": true, + "value": "AMZN", }, - "ref": null, - "rendered": null, - "type": [Function], - }, - ], - Symbol(enzyme.__options__): Object { - "adapter": ReactSixteenAdapter { - "options": Object { - "enableComponentDidUpdateOnSetState": true, - "lifecycles": Object { - "componentDidUpdate": Object { - "onSetState": true, - }, - "getDerivedStateFromProps": true, - "getSnapshotBeforeUpdate": true, - "setState": Object { - "skipsComponentDidUpdateOnNullish": true, - }, - }, + Object { + "expected": Array [ + "AAPL", + "AMZN", + ], + "id": 4, + "passed": false, + "value": "MSFT", }, - }, - }, -} + ] + } +/> `; diff --git a/testplan/web_ui/testing/src/AssertionPane/AssertionTypes/TableAssertions/__tests__/__snapshots__/TableLogAssertion.test.js.snap b/testplan/web_ui/testing/src/AssertionPane/AssertionTypes/TableAssertions/__tests__/__snapshots__/TableLogAssertion.test.js.snap index 2b97fd28e..a27dab054 100644 --- a/testplan/web_ui/testing/src/AssertionPane/AssertionTypes/TableAssertions/__tests__/__snapshots__/TableLogAssertion.test.js.snap +++ b/testplan/web_ui/testing/src/AssertionPane/AssertionTypes/TableAssertions/__tests__/__snapshots__/TableLogAssertion.test.js.snap @@ -1,161 +1,45 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`FixMatchAssertion shallow renders the correct HTML structure 1`] = ` -ShallowWrapper { - Symbol(enzyme.__root__): [Circular], - Symbol(enzyme.__unrendered__): , - Symbol(enzyme.__renderer__): Object { - "batchedUpdates": [Function], - "getNode": [Function], - "render": [Function], - "simulateError": [Function], - "simulateEvent": [Function], - "unmount": [Function], - }, - Symbol(enzyme.__node__): Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "columnDefs": Array [ - Object { - "field": "id", - "headerName": "ID", - "pinned": "left", - "suppressResize": true, - "suppressSizeToFit": true, - "width": 72, - }, - Object { - "field": "age", - "headerName": "age", - }, - Object { - "field": "name", - "headerName": "name", - }, - ], - "rowData": Array [ - Object { - "age": 32, - "id": 0, - "name": "Bob", - }, - Object { - "age": 24, - "id": 1, - "name": "Susan", - }, - Object { - "age": 67, - "id": 2, - "name": "Rick", - }, - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - Symbol(enzyme.__nodes__): Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "columnDefs": Array [ - Object { - "field": "id", - "headerName": "ID", - "pinned": "left", - "suppressResize": true, - "suppressSizeToFit": true, - "width": 72, - }, - Object { - "field": "age", - "headerName": "age", - }, - Object { - "field": "name", - "headerName": "name", - }, - ], - "rowData": Array [ - Object { - "age": 32, - "id": 0, - "name": "Bob", - }, - Object { - "age": 24, - "id": 1, - "name": "Susan", - }, - Object { - "age": 67, - "id": 2, - "name": "Rick", - }, - ], + `; diff --git a/testplan/web_ui/testing/src/AssertionPane/AssertionTypes/TableAssertions/__tests__/__snapshots__/TableMatchAssertion.test.js.snap b/testplan/web_ui/testing/src/AssertionPane/AssertionTypes/TableAssertions/__tests__/__snapshots__/TableMatchAssertion.test.js.snap index 5fd84c7d4..bab5404d9 100644 --- a/testplan/web_ui/testing/src/AssertionPane/AssertionTypes/TableAssertions/__tests__/__snapshots__/TableMatchAssertion.test.js.snap +++ b/testplan/web_ui/testing/src/AssertionPane/AssertionTypes/TableAssertions/__tests__/__snapshots__/TableMatchAssertion.test.js.snap @@ -1,306 +1,108 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`FixMatchAssertion shallow renders the correct HTML structure 1`] = ` -ShallowWrapper { - Symbol(enzyme.__root__): [Circular], - Symbol(enzyme.__unrendered__): , - Symbol(enzyme.__renderer__): Object { - "batchedUpdates": [Function], - "getNode": [Function], - "render": [Function], - "simulateError": [Function], - "simulateEvent": [Function], - "unmount": [Function], - }, - Symbol(enzyme.__node__): Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "columnDefs": Array [ - Object { - "cellStyle": [Function], - "field": "id", - "headerName": "ID", - "pinned": "left", - "suppressResize": true, - "suppressSizeToFit": true, - "width": 72, - }, - Object { - "cellStyle": [Function], - "field": "ev", - "headerName": "Expected/Value", - "pinned": "left", - "suppressFilter": true, - "suppressResize": true, - "suppressSizeToFit": true, - "width": 121, - }, - Object { - "field": "state", - "headerName": "State", - "hide": true, - }, - Object { - "cellStyle": [Function], - "field": "name", - "headerName": "name", - }, - Object { - "cellStyle": [Function], - "field": "age", - "headerName": "age", - }, - ], - "rowData": Array [ - Object { - "age": 32, - "ev": "Expected", - "id": 0, - "name": "Bob", - "passed": Object { - "age": true, - "name": true, - }, - }, - Object { - "age": 32, - "ev": "Value", - "id": 0, - "name": "Bob", - "passed": Object { - "age": true, - "name": true, - }, + `; diff --git a/testplan/web_ui/testing/src/AssertionPane/AssertionTypes/__tests__/__snapshots__/BasicAssertion.test.js.snap b/testplan/web_ui/testing/src/AssertionPane/AssertionTypes/__tests__/__snapshots__/BasicAssertion.test.js.snap index 7cdc5e680..cf3383e7e 100644 --- a/testplan/web_ui/testing/src/AssertionPane/AssertionTypes/__tests__/__snapshots__/BasicAssertion.test.js.snap +++ b/testplan/web_ui/testing/src/AssertionPane/AssertionTypes/__tests__/__snapshots__/BasicAssertion.test.js.snap @@ -1,45971 +1,5218 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`BasicAssertion shallow renders the Attachment assertion 1`] = ` -ShallowWrapper { - Symbol(enzyme.__root__): [Circular], - Symbol(enzyme.__unrendered__): , - Symbol(enzyme.__renderer__): Object { - "batchedUpdates": [Function], - "getNode": [Function], - "render": [Function], - "simulateError": [Function], - "simulateEvent": [Function], - "unmount": [Function], - }, - Symbol(enzyme.__node__): Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - -, - - -, - - - - - - - -, - - - - - - - - - -, - - - - -, - - -, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - -, - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - -, - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": , - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "file_name": "tmpthpcdtwn.txt", - "src": "/api/v1/reports/undefined/attachments/tmpthpcdtwn-cd4f4c6e94971896a71b4a1d47785a90b19f6565-900.txt", - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": "span", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "span", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - ], - "type": Symbol(react.fragment), - }, - Symbol(enzyme.__nodes__): Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - -, - - -, - - - - - - - -, - - - - - - - - - -, - - - - -, - - -, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - -, - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +`; + +exports[`BasicAssertion shallow renders the Contain assertion 1`] = ` + + + + + + + + + + + + + Expected: + + + + + Value: + + + + + + + + foo + <in> value + + + + + + + foobar + + + + + + + + + + + + + +`; + +exports[`BasicAssertion shallow renders the DictCheck assertion 1`] = ` + + + + + + + + + + Existence check: [ + , - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, + "color": "black", + } + } + > + "foo" + + , + , - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - -, - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ + "color": "red", + } + } + > + "alpha" + + ] +
+ Absence check: [ + - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": , - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "file_name": "tmpthpcdtwn.txt", - "src": "/api/v1/reports/undefined/attachments/tmpthpcdtwn-cd4f4c6e94971896a71b4a1d47785a90b19f6565-900.txt", - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": "span", - }, - "type": [Function], - }, + "color": "red", + } + } + > + "bar" +
+ , + , - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "span", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - ], - "type": Symbol(react.fragment), - }, - ], - Symbol(enzyme.__options__): Object { - "adapter": ReactSixteenAdapter { - "options": Object { - "enableComponentDidUpdateOnSetState": true, - "lifecycles": Object { - "componentDidUpdate": Object { - "onSetState": true, - }, - "getDerivedStateFromProps": true, - "getSnapshotBeforeUpdate": true, - "setState": Object { - "skipsComponentDidUpdateOnNullish": true, - }, - }, - }, - }, - }, -} + "color": "black", + } + } + > + "beta" + + ] +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + +
`; -exports[`BasicAssertion shallow renders the Contain assertion 1`] = ` -ShallowWrapper { - Symbol(enzyme.__root__): [Circular], - Symbol(enzyme.__unrendered__): + + + + + + + + + + + + Expected: + + + + + Value: + + + + + + + + foo + + + + + + foo + + + + + + + + + + + + +`; + +exports[`BasicAssertion shallow renders the EqualExcludeSlices assertion 1`] = ` + + + + + + Slices: + + + + + + + , - Symbol(enzyme.__renderer__): Object { - "batchedUpdates": [Function], - "getNode": [Function], - "render": [Function], - "simulateError": [Function], - "simulateEvent": [Function], - "unmount": [Function], - }, - Symbol(enzyme.__node__): Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - -, - - -, - - + slice(0, 2, None) +slice(4, 8, None) + +
+ +
+ + + + + Expected: + + + + + + + Value: + + + + + + + + + [ + - - Expected: - - - + , + - - Value: - - -, - - + , + - - - foo - <in> value - - - - + , + - - - foobar - - - -, - - + , + - - -, - - -, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": + , + - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": + "d" + + , + , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - + "e" + + , + - - Expected: - -, - + "f" + + ] +
+
+ + + + + [ + - - Value: - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - Expected: -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Expected:", - }, - "ref": null, - "rendered": "Expected:", - "type": "strong", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - Value: -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Value:", - }, - "ref": null, - "rendered": "Value:", - "type": "strong", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - + 1 + + , + - - - foo - <in> value - - -, - + 2 + + , + - - - foobar - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - foo - <in> value - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - foo - <in> value -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - "foo", - " value", - ], - }, - "ref": null, - "rendered": Array [ - "foo", - " value", - ], - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - foobar - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - foobar -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "foobar", - }, - "ref": null, - "rendered": "foobar", - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": + 3 + + , + , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - ], - "type": Symbol(react.fragment), - }, - Symbol(enzyme.__nodes__): Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - -, - - -, - - - - Expected: - - - - - Value: - - -, - - - - - foo - <in> value - - - - - - - foobar - - - -, - - - - -, - - -, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": + 4 + + , + - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": + 5 + + , + , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - Expected: - -, - - - Value: - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - Expected: -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Expected:", - }, - "ref": null, - "rendered": "Expected:", - "type": "strong", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - Value: -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Value:", - }, - "ref": null, - "rendered": "Value:", - "type": "strong", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - foo - <in> value - - -, - - - - foobar - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - foo - <in> value - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - foo - <in> value -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - "foo", - " value", - ], - }, - "ref": null, - "rendered": Array [ - "foo", - " value", - ], - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - foobar - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - foobar -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "foobar", - }, - "ref": null, - "rendered": "foobar", - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": + 6 + + , + - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": + 7 + + , + , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - ], - "type": Symbol(react.fragment), - }, - ], - Symbol(enzyme.__options__): Object { - "adapter": ReactSixteenAdapter { - "options": Object { - "enableComponentDidUpdateOnSetState": true, - "lifecycles": Object { - "componentDidUpdate": Object { - "onSetState": true, - }, - "getDerivedStateFromProps": true, - "getSnapshotBeforeUpdate": true, - "setState": Object { - "skipsComponentDidUpdateOnNullish": true, - }, - }, - }, - }, - }, -} + } + > + 8 + + ] + + + + + + + + + + + + + `; -exports[`BasicAssertion shallow renders the DictCheck assertion 1`] = ` -ShallowWrapper { - Symbol(enzyme.__root__): [Circular], - Symbol(enzyme.__unrendered__): + + + + + Slices: + + + + + + + , - Symbol(enzyme.__renderer__): Object { - "batchedUpdates": [Function], - "getNode": [Function], - "render": [Function], - "simulateError": [Function], - "simulateEvent": [Function], - "unmount": [Function], - }, - Symbol(enzyme.__node__): Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - -, - - + slice(2, 4, None) +slice(6, 8, None) + +
+ +
+ + + + + Expected: + + + + + + + Value: + + + + + + + + + [ + - - Existence check: [ - - "foo" - - , - - "alpha" - - ] -
- Absence check: [ - - "bar" - - , - - "beta" - - ] -
- -
, - - + , + - - - + , + - - -, - - + , + - - - + , + - - -, - - + , + - - -, - - -, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": + , + - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": + 7 + + , + - - Existence check: [ - - "foo" - - , - - "alpha" - - ] -
- Absence check: [ - - "bar" - - , - - "beta" - - ] -
-, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - Existence check: [ - - "foo" - - , - - "alpha" - - ] -
- Absence check: [ - - "bar" - - , - - "beta" - - ] -
, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - "Existence check: [", - Array [ - - "foo" -, - ", ", - - "alpha" -, - ], - "]", -
, - "Absence check: [", - Array [ - - "bar" -, - ", ", - - "beta" -, - ], - "]", - ], - }, - "ref": null, - "rendered": Array [ - "Existence check: [", + > + 8 +
+ ] + + + + + + + [ + + 1 + + , + + 2 + + , + + 3 + + , + + 4 + + , + - -, - + 5 + + , + - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - + 6 + + , + - -, - + 7 + + , + - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": undefined, - }, - "ref": null, - "rendered": null, - "type": "span", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": undefined, - }, - "ref": null, - "rendered": null, - "type": "span", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": + 8 + + ] + + + + + + + + + + + + + +`; + +exports[`BasicAssertion shallow renders the ExceptionNotRaised assertion 1`] = ` + + + + + + + + + + + + + + Expected exceptions: + + + + + + + Raised exceptions: + + + + + + + + + TypeError + + + + + + + <type 'exceptions.KeyError'> + (value: + 'bar' + ) + + + + + + + + + + + + + +`; + +exports[`BasicAssertion shallow renders the ExceptionRaised assertion 1`] = ` + + + + + + + + + + + + + + Expected exceptions: + + + + + + + Raised exceptions: + + + + + + + + + KeyError + + + + + + + <type 'exceptions.KeyError'> + (value: + 'bar' + ) + + + + + + + + + + + + + +`; + +exports[`BasicAssertion shallow renders the Fail assertion 1`] = ` + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +`; + +exports[`BasicAssertion shallow renders the FixCheck assertion 1`] = ` + + + + + + + + + + Existence check: [ + , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - ], - "type": Symbol(react.fragment), - }, - Symbol(enzyme.__nodes__): Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - -, - - - - Existence check: [ - - "foo" - - , - - "alpha" - - ] -
- Absence check: [ - - "bar" - - , - - "beta" - - ] -
- -
, - - - - - - - -, - - - - - - - -, - - - - -, - - -, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - Existence check: [ - - "foo" - - , - - "alpha" - - ] -
- Absence check: [ - - "bar" - - , - - "beta" - - ] -
-, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - Existence check: [ - - "foo" - - , - - "alpha" - - ] -
- Absence check: [ - - "bar" - - , - - "beta" - - ] -
, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - "Existence check: [", - Array [ - - "foo" -, - ", ", - - "alpha" -, - ], - "]", -
, - "Absence check: [", - Array [ - - "bar" -, - ", ", - - "beta" -, - ], - "]", - ], - }, - "ref": null, - "rendered": Array [ - "Existence check: [", - Object { - "instance": null, - "key": "check_foo_0", - "nodeType": "host", - "props": Object { - "children": "\\"foo\\"", - "style": Object { - "color": "black", - }, - }, - "ref": null, - "rendered": "\\"foo\\"", - "type": "span", - }, - ", ", - Object { - "instance": null, - "key": "check_alpha_1", - "nodeType": "host", - "props": Object { - "children": "\\"alpha\\"", - "style": Object { - "color": "red", - }, - }, - "ref": null, - "rendered": "\\"alpha\\"", - "type": "span", - }, - "]", - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object {}, - "ref": null, - "rendered": null, - "type": "br", - }, - "Absence check: [", - Object { - "instance": null, - "key": "check_bar_0", - "nodeType": "host", - "props": Object { - "children": "\\"bar\\"", - "style": Object { - "color": "red", - }, - }, - "ref": null, - "rendered": "\\"bar\\"", - "type": "span", - }, - ", ", - Object { - "instance": null, - "key": "check_beta_1", - "nodeType": "host", - "props": Object { - "children": "\\"beta\\"", - "style": Object { - "color": "black", - }, - }, - "ref": null, - "rendered": "\\"beta\\"", - "type": "span", - }, - "]", - ], - "type": "span", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - -, - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ + } + > + 26 +
+ , + , - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, + "color": "black", + } + } + > + 22 + + , + , - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - -, - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ + "color": "red", + } + } + > + 11 + + ] +
+ Absence check: [ + , - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": undefined, - }, - "ref": null, - "rendered": null, - "type": "span", - }, - "type": [Function], - }, + "color": "black", + } + } + > + 444 + + , + , - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": undefined, - }, - "ref": null, - "rendered": null, - "type": "span", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - ], - "type": Symbol(react.fragment), - }, - ], - Symbol(enzyme.__options__): Object { - "adapter": ReactSixteenAdapter { - "options": Object { - "enableComponentDidUpdateOnSetState": true, - "lifecycles": Object { - "componentDidUpdate": Object { - "onSetState": true, - }, - "getDerivedStateFromProps": true, - "getSnapshotBeforeUpdate": true, - "setState": Object { - "skipsComponentDidUpdateOnNullish": true, - }, - }, - }, - }, - }, -} + "color": "red", + } + } + > + 555 + + ] +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + +
`; -exports[`BasicAssertion shallow renders the Equal assertion 1`] = ` -ShallowWrapper { - Symbol(enzyme.__root__): [Circular], - Symbol(enzyme.__unrendered__): + + + + + + + + + + + + Expected: + + + + + Value: + + + + + + + + value + > + + 2 + + + + + + 5 + + + + + + + + + + + + +`; + +exports[`BasicAssertion shallow renders the GreaterEqual assertion 1`] = ` + + + + + + + + + + + + + Expected: + + + + + Value: + + + + + + + + value + >= + + 2 + + + + + + 2 + + + + + + + + + + + + +`; + +exports[`BasicAssertion shallow renders the IsClose assertion 1`] = ` + + + + + + + + + + + + + Expected: + + + + + Value: + + + + + + + + value + ~= + + 95 +  within rel_tol= + 0.1 + or abs_tol= + 0 + + + + + + 100 + + + + + + + + + + + + +`; + +exports[`BasicAssertion shallow renders the IsFalse assertion 1`] = ` + + + + + + + + + + + + + Expected: + + + + + Value: + + + + + + + + value is False + + + + + + + False + + + + + + + + + + + + + +`; + +exports[`BasicAssertion shallow renders the IsTrue assertion 1`] = ` + + + + + + + + + + + + + Expected: + + + + + Value: + + + + + + + + value is True + + + + + + + True + + + + + + + + + + + + + +`; + +exports[`BasicAssertion shallow renders the Less assertion 1`] = ` + + + + + + + + + + + + + Expected: + + + + + Value: + + + + + + + + value + < + + 20 + + + + + + 10 + + + + + + + + + + + + +`; + +exports[`BasicAssertion shallow renders the LessEqual assertion 1`] = ` + + + + + + + + + + + + + Expected: + + + + + Value: + + + + + + + + value + <= + + 10 + + + + + + 10 + + + + + + + + + + + + +`; + +exports[`BasicAssertion shallow renders the LineDiff assertion 1`] = ` + + + + + + + + + + + + + + No differences. + + + + + + + + + + + + + + + + + + + + + + + + + + +`; + +exports[`BasicAssertion shallow renders the Log assertion 1`] = ` + + + + + + + + + + This is a log message, it will be displayed along with other assertion details. + + + + + + + + + + + + + + + + + + + + + + + + + + + + +`; + +exports[`BasicAssertion shallow renders the NotContain assertion 1`] = ` + + + + + + + + + + + + + Expected: + + + + + Value: + + + + + + + + 10 + <not in> value + + + + + + + {'a': 1, 'b': 2} + + + + + + + + + + + + + +`; + +exports[`BasicAssertion shallow renders the NotEqual assertion 1`] = ` + + + + + + + + + + + + + Expected: + + + + + Value: + + + + + + + + <not> + bar + + + + + + foo + + + + + + + + + + + + +`; + +exports[`BasicAssertion shallow renders the RegexFindIter assertion 1`] = ` + + + + + + + + + + + + + + Pattern: + + + + + + + String: + + + + + + + +
+ + foo + + +
+
+ + Condition: + +
+ + <lambda> + +
+
+
+
+ + + + , - Symbol(enzyme.__renderer__): Object { - "batchedUpdates": [Function], - "getNode": [Function], - "render": [Function], - "simulateError": [Function], - "simulateEvent": [Function], - "unmount": [Function], - }, - Symbol(enzyme.__node__): Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - -, - - + -, - - - - Expected: - - - - - Value: - - -, - - + - - - foo - - - - + - - foo - - -, - - + - - -, - - -, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - + - - Expected: - -, - - - Value: - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - Expected: -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Expected:", - }, - "ref": null, - "rendered": "Expected:", - "type": "strong", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - Value: -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Value:", - }, - "ref": null, - "rendered": "Value:", - "type": "strong", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - foo - - -, - - - foo - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - foo - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - foo -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "foo", - }, - "ref": null, - "rendered": "foo", - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - foo -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "foo", - }, - "ref": null, - "rendered": "foo", - "type": "span", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - ], - "type": Symbol(react.fragment), - }, - Symbol(enzyme.__nodes__): Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - -, - - -, - - - - Expected: - - - - - Value: - - -, - - - - - foo - - - - - - foo - - -, - - - - -, - - -, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - Expected: - -, - - - Value: - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - Expected: -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Expected:", - }, - "ref": null, - "rendered": "Expected:", - "type": "strong", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - Value: -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Value:", - }, - "ref": null, - "rendered": "Value:", - "type": "strong", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - foo - - -, - - - foo - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - foo - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - foo -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "foo", - }, - "ref": null, - "rendered": "foo", - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - foo -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "foo", - }, - "ref": null, - "rendered": "foo", - "type": "span", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - ], - "type": Symbol(react.fragment), - }, - ], - Symbol(enzyme.__options__): Object { - "adapter": ReactSixteenAdapter { - "options": Object { - "enableComponentDidUpdateOnSetState": true, - "lifecycles": Object { - "componentDidUpdate": Object { - "onSetState": true, - }, - "getDerivedStateFromProps": true, - "getSnapshotBeforeUpdate": true, - "setState": Object { - "skipsComponentDidUpdateOnNullish": true, - }, - }, - }, - }, - }, -} -`; - -exports[`BasicAssertion shallow renders the EqualExcludeSlices assertion 1`] = ` -ShallowWrapper { - Symbol(enzyme.__root__): [Circular], - Symbol(enzyme.__unrendered__): , - Symbol(enzyme.__renderer__): Object { - "batchedUpdates": [Function], - "getNode": [Function], - "render": [Function], - "simulateError": [Function], - "simulateEvent": [Function], - "unmount": [Function], - }, - Symbol(enzyme.__node__): Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - - Slices: - - - -, - - - - - slice(0, 2, None) - slice(4, 8, None) - -
-
- -
, - - - - - Expected: - - - - - - - Value: - - - -, - - - - - [ - - "a" - - , - - "b" - - , - - 3 - - , - - 4 - - , - - "c" - - , - - "d" - - , - - "e" - - , - - "f" - - ] - - - - - - - [ - - 1 - - , - - 2 - - , - - 3 - - , - - 4 - - , - - 5 - - , - - 6 - - , - - 7 - - , - - 8 - - ] - - - -, - - - - -, - - -, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - - Slices: - - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - Slices: - -, - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - Slices: -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Slices:", - }, - "ref": null, - "rendered": "Slices:", - "type": "span", - }, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - - slice(0, 2, None) - slice(4, 8, None) - -
-
-, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - slice(0, 2, None) - slice(4, 8, None) - -
-
, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - slice(0, 2, None) - slice(4, 8, None) -, -
, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "slice(0, 2, None) -slice(4, 8, None)", - "style": Object { - "whiteSpace": "pre", - }, - }, - "ref": null, - "rendered": "slice(0, 2, None) -slice(4, 8, None)", - "type": "span", - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object {}, - "ref": null, - "rendered": null, - "type": "hr", - }, - ], - "type": Symbol(react.fragment), - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - Expected: - - -, - - - - Value: - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - Expected: - -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - Expected: -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Expected:", - }, - "ref": null, - "rendered": "Expected:", - "type": "span", - }, - "type": "strong", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - Value: - -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - Value: -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Value:", - }, - "ref": null, - "rendered": "Value:", - "type": "span", - }, - "type": "strong", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - [ - - "a" - - , - - "b" - - , - - 3 - - , - - 4 - - , - - "c" - - , - - "d" - - , - - "e" - - , - - "f" - - ] - - -, - - - - [ - - 1 - - , - - 2 - - , - - 3 - - , - - 4 - - , - - 5 - - , - - 6 - - , - - 7 - - , - - 8 - - ] - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - [ - - "a" - - , - - "b" - - , - - 3 - - , - - 4 - - , - - "c" - - , - - "d" - - , - - "e" - - , - - "f" - - ] - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - [ - - "a" - - , - - "b" - - , - - 3 - - , - - 4 - - , - - "c" - - , - - "d" - - , - - "e" - - , - - "f" - - ] -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - "[", - Array [ - Array [ - Array [ - Array [ - Array [ - Array [ - Array [ - - "a" -, - ", ", - - "b" -, - ], - ", ", - - 3 -, - ], - ", ", - - 4 -, - ], - ", ", - - "c" -, - ], - ", ", - - "d" -, - ], - ", ", - - "e" -, - ], - ", ", - - "f" -, - ], - "]", - ], - }, - "ref": null, - "rendered": Array [ - "[", - Object { - "instance": null, - "key": "slice_a,b,3,4,c,d,e,f_0", - "nodeType": "host", - "props": Object { - "children": "\\"a\\"", - "style": Object { - "color": "red", - }, - }, - "ref": null, - "rendered": "\\"a\\"", - "type": "span", - }, - ", ", - Object { - "instance": null, - "key": "slice_a,b,3,4,c,d,e,f_1", - "nodeType": "host", - "props": Object { - "children": "\\"b\\"", - "style": Object { - "color": "red", - }, - }, - "ref": null, - "rendered": "\\"b\\"", - "type": "span", - }, - ", ", - Object { - "instance": null, - "key": "slice_a,b,3,4,c,d,e,f_2", - "nodeType": "host", - "props": Object { - "children": "3", - "style": Object { - "color": "green", - }, - }, - "ref": null, - "rendered": "3", - "type": "span", - }, - ", ", - Object { - "instance": null, - "key": "slice_a,b,3,4,c,d,e,f_3", - "nodeType": "host", - "props": Object { - "children": "4", - "style": Object { - "color": "green", - }, - }, - "ref": null, - "rendered": "4", - "type": "span", - }, - ", ", - Object { - "instance": null, - "key": "slice_a,b,3,4,c,d,e,f_4", - "nodeType": "host", - "props": Object { - "children": "\\"c\\"", - "style": Object { - "color": "red", - }, - }, - "ref": null, - "rendered": "\\"c\\"", - "type": "span", - }, - ", ", - Object { - "instance": null, - "key": "slice_a,b,3,4,c,d,e,f_5", - "nodeType": "host", - "props": Object { - "children": "\\"d\\"", - "style": Object { - "color": "red", - }, - }, - "ref": null, - "rendered": "\\"d\\"", - "type": "span", - }, - ", ", - Object { - "instance": null, - "key": "slice_a,b,3,4,c,d,e,f_6", - "nodeType": "host", - "props": Object { - "children": "\\"e\\"", - "style": Object { - "color": "red", - }, - }, - "ref": null, - "rendered": "\\"e\\"", - "type": "span", - }, - ", ", - Object { - "instance": null, - "key": "slice_a,b,3,4,c,d,e,f_7", - "nodeType": "host", - "props": Object { - "children": "\\"f\\"", - "style": Object { - "color": "red", - }, - }, - "ref": null, - "rendered": "\\"f\\"", - "type": "span", - }, - "]", - ], - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - [ - - 1 - - , - - 2 - - , - - 3 - - , - - 4 - - , - - 5 - - , - - 6 - - , - - 7 - - , - - 8 - - ] - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - [ - - 1 - - , - - 2 - - , - - 3 - - , - - 4 - - , - - 5 - - , - - 6 - - , - - 7 - - , - - 8 - - ] -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - "[", - Array [ - Array [ - Array [ - Array [ - Array [ - Array [ - Array [ - - 1 -, - ", ", - - 2 -, - ], - ", ", - - 3 -, - ], - ", ", - - 4 -, - ], - ", ", - - 5 -, - ], - ", ", - - 6 -, - ], - ", ", - - 7 -, - ], - ", ", - - 8 -, - ], - "]", - ], - }, - "ref": null, - "rendered": Array [ - "[", - Object { - "instance": null, - "key": "slice_1,2,3,4,5,6,7,8_0", - "nodeType": "host", - "props": Object { - "children": "1", - "style": Object { - "color": "red", - }, - }, - "ref": null, - "rendered": "1", - "type": "span", - }, - ", ", - Object { - "instance": null, - "key": "slice_1,2,3,4,5,6,7,8_1", - "nodeType": "host", - "props": Object { - "children": "2", - "style": Object { - "color": "red", - }, - }, - "ref": null, - "rendered": "2", - "type": "span", - }, - ", ", - Object { - "instance": null, - "key": "slice_1,2,3,4,5,6,7,8_2", - "nodeType": "host", - "props": Object { - "children": "3", - "style": Object { - "color": "green", - }, - }, - "ref": null, - "rendered": "3", - "type": "span", - }, - ", ", - Object { - "instance": null, - "key": "slice_1,2,3,4,5,6,7,8_3", - "nodeType": "host", - "props": Object { - "children": "4", - "style": Object { - "color": "green", - }, - }, - "ref": null, - "rendered": "4", - "type": "span", - }, - ", ", - Object { - "instance": null, - "key": "slice_1,2,3,4,5,6,7,8_4", - "nodeType": "host", - "props": Object { - "children": "5", - "style": Object { - "color": "red", - }, - }, - "ref": null, - "rendered": "5", - "type": "span", - }, - ", ", - Object { - "instance": null, - "key": "slice_1,2,3,4,5,6,7,8_5", - "nodeType": "host", - "props": Object { - "children": "6", - "style": Object { - "color": "red", - }, - }, - "ref": null, - "rendered": "6", - "type": "span", - }, - ", ", - Object { - "instance": null, - "key": "slice_1,2,3,4,5,6,7,8_6", - "nodeType": "host", - "props": Object { - "children": "7", - "style": Object { - "color": "red", - }, - }, - "ref": null, - "rendered": "7", - "type": "span", - }, - ", ", - Object { - "instance": null, - "key": "slice_1,2,3,4,5,6,7,8_7", - "nodeType": "host", - "props": Object { - "children": "8", - "style": Object { - "color": "red", - }, - }, - "ref": null, - "rendered": "8", - "type": "span", - }, - "]", - ], - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - ], - "type": Symbol(react.fragment), - }, - Symbol(enzyme.__nodes__): Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - - Slices: - - - -, - - - - - slice(0, 2, None) - slice(4, 8, None) - -
-
- -
, - - - - - Expected: - - - - - - - Value: - - - -, - - - - - [ - - "a" - - , - - "b" - - , - - 3 - - , - - 4 - - , - - "c" - - , - - "d" - - , - - "e" - - , - - "f" - - ] - - - - - - - [ - - 1 - - , - - 2 - - , - - 3 - - , - - 4 - - , - - 5 - - , - - 6 - - , - - 7 - - , - - 8 - - ] - - - -, - - - - -, - - -, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - - Slices: - - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - Slices: - -, - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - Slices: -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Slices:", - }, - "ref": null, - "rendered": "Slices:", - "type": "span", - }, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - - slice(0, 2, None) - slice(4, 8, None) - -
-
-, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - slice(0, 2, None) - slice(4, 8, None) - -
-
, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - slice(0, 2, None) - slice(4, 8, None) -, -
, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "slice(0, 2, None) -slice(4, 8, None)", - "style": Object { - "whiteSpace": "pre", - }, - }, - "ref": null, - "rendered": "slice(0, 2, None) -slice(4, 8, None)", - "type": "span", - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object {}, - "ref": null, - "rendered": null, - "type": "hr", - }, - ], - "type": Symbol(react.fragment), - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - Expected: - - -, - - - - Value: - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - Expected: - -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - Expected: -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Expected:", - }, - "ref": null, - "rendered": "Expected:", - "type": "span", - }, - "type": "strong", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - Value: - -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - Value: -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Value:", - }, - "ref": null, - "rendered": "Value:", - "type": "span", - }, - "type": "strong", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - [ - - "a" - - , - - "b" - - , - - 3 - - , - - 4 - - , - - "c" - - , - - "d" - - , - - "e" - - , - - "f" - - ] - - -, - - - - [ - - 1 - - , - - 2 - - , - - 3 - - , - - 4 - - , - - 5 - - , - - 6 - - , - - 7 - - , - - 8 - - ] - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - [ - - "a" - - , - - "b" - - , - - 3 - - , - - 4 - - , - - "c" - - , - - "d" - - , - - "e" - - , - - "f" - - ] - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - [ - - "a" - - , - - "b" - - , - - 3 - - , - - 4 - - , - - "c" - - , - - "d" - - , - - "e" - - , - - "f" - - ] -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - "[", - Array [ - Array [ - Array [ - Array [ - Array [ - Array [ - Array [ - - "a" -, - ", ", - - "b" -, - ], - ", ", - - 3 -, - ], - ", ", - - 4 -, - ], - ", ", - - "c" -, - ], - ", ", - - "d" -, - ], - ", ", - - "e" -, - ], - ", ", - - "f" -, - ], - "]", - ], - }, - "ref": null, - "rendered": Array [ - "[", - Object { - "instance": null, - "key": "slice_a,b,3,4,c,d,e,f_0", - "nodeType": "host", - "props": Object { - "children": "\\"a\\"", - "style": Object { - "color": "red", - }, - }, - "ref": null, - "rendered": "\\"a\\"", - "type": "span", - }, - ", ", - Object { - "instance": null, - "key": "slice_a,b,3,4,c,d,e,f_1", - "nodeType": "host", - "props": Object { - "children": "\\"b\\"", - "style": Object { - "color": "red", - }, - }, - "ref": null, - "rendered": "\\"b\\"", - "type": "span", - }, - ", ", - Object { - "instance": null, - "key": "slice_a,b,3,4,c,d,e,f_2", - "nodeType": "host", - "props": Object { - "children": "3", - "style": Object { - "color": "green", - }, - }, - "ref": null, - "rendered": "3", - "type": "span", - }, - ", ", - Object { - "instance": null, - "key": "slice_a,b,3,4,c,d,e,f_3", - "nodeType": "host", - "props": Object { - "children": "4", - "style": Object { - "color": "green", - }, - }, - "ref": null, - "rendered": "4", - "type": "span", - }, - ", ", - Object { - "instance": null, - "key": "slice_a,b,3,4,c,d,e,f_4", - "nodeType": "host", - "props": Object { - "children": "\\"c\\"", - "style": Object { - "color": "red", - }, - }, - "ref": null, - "rendered": "\\"c\\"", - "type": "span", - }, - ", ", - Object { - "instance": null, - "key": "slice_a,b,3,4,c,d,e,f_5", - "nodeType": "host", - "props": Object { - "children": "\\"d\\"", - "style": Object { - "color": "red", - }, - }, - "ref": null, - "rendered": "\\"d\\"", - "type": "span", - }, - ", ", - Object { - "instance": null, - "key": "slice_a,b,3,4,c,d,e,f_6", - "nodeType": "host", - "props": Object { - "children": "\\"e\\"", - "style": Object { - "color": "red", - }, - }, - "ref": null, - "rendered": "\\"e\\"", - "type": "span", - }, - ", ", - Object { - "instance": null, - "key": "slice_a,b,3,4,c,d,e,f_7", - "nodeType": "host", - "props": Object { - "children": "\\"f\\"", - "style": Object { - "color": "red", - }, - }, - "ref": null, - "rendered": "\\"f\\"", - "type": "span", - }, - "]", - ], - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - [ - - 1 - - , - - 2 - - , - - 3 - - , - - 4 - - , - - 5 - - , - - 6 - - , - - 7 - - , - - 8 - - ] - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - [ - - 1 - - , - - 2 - - , - - 3 - - , - - 4 - - , - - 5 - - , - - 6 - - , - - 7 - - , - - 8 - - ] -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - "[", - Array [ - Array [ - Array [ - Array [ - Array [ - Array [ - Array [ - - 1 -, - ", ", - - 2 -, - ], - ", ", - - 3 -, - ], - ", ", - - 4 -, - ], - ", ", - - 5 -, - ], - ", ", - - 6 -, - ], - ", ", - - 7 -, - ], - ", ", - - 8 -, - ], - "]", - ], - }, - "ref": null, - "rendered": Array [ - "[", - Object { - "instance": null, - "key": "slice_1,2,3,4,5,6,7,8_0", - "nodeType": "host", - "props": Object { - "children": "1", - "style": Object { - "color": "red", - }, - }, - "ref": null, - "rendered": "1", - "type": "span", - }, - ", ", - Object { - "instance": null, - "key": "slice_1,2,3,4,5,6,7,8_1", - "nodeType": "host", - "props": Object { - "children": "2", - "style": Object { - "color": "red", - }, - }, - "ref": null, - "rendered": "2", - "type": "span", - }, - ", ", - Object { - "instance": null, - "key": "slice_1,2,3,4,5,6,7,8_2", - "nodeType": "host", - "props": Object { - "children": "3", - "style": Object { - "color": "green", - }, - }, - "ref": null, - "rendered": "3", - "type": "span", - }, - ", ", - Object { - "instance": null, - "key": "slice_1,2,3,4,5,6,7,8_3", - "nodeType": "host", - "props": Object { - "children": "4", - "style": Object { - "color": "green", - }, - }, - "ref": null, - "rendered": "4", - "type": "span", - }, - ", ", - Object { - "instance": null, - "key": "slice_1,2,3,4,5,6,7,8_4", - "nodeType": "host", - "props": Object { - "children": "5", - "style": Object { - "color": "red", - }, - }, - "ref": null, - "rendered": "5", - "type": "span", - }, - ", ", - Object { - "instance": null, - "key": "slice_1,2,3,4,5,6,7,8_5", - "nodeType": "host", - "props": Object { - "children": "6", - "style": Object { - "color": "red", - }, - }, - "ref": null, - "rendered": "6", - "type": "span", - }, - ", ", - Object { - "instance": null, - "key": "slice_1,2,3,4,5,6,7,8_6", - "nodeType": "host", - "props": Object { - "children": "7", - "style": Object { - "color": "red", - }, - }, - "ref": null, - "rendered": "7", - "type": "span", - }, - ", ", - Object { - "instance": null, - "key": "slice_1,2,3,4,5,6,7,8_7", - "nodeType": "host", - "props": Object { - "children": "8", - "style": Object { - "color": "red", - }, - }, - "ref": null, - "rendered": "8", - "type": "span", - }, - "]", - ], - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - ], - "type": Symbol(react.fragment), - }, - ], - Symbol(enzyme.__options__): Object { - "adapter": ReactSixteenAdapter { - "options": Object { - "enableComponentDidUpdateOnSetState": true, - "lifecycles": Object { - "componentDidUpdate": Object { - "onSetState": true, - }, - "getDerivedStateFromProps": true, - "getSnapshotBeforeUpdate": true, - "setState": Object { - "skipsComponentDidUpdateOnNullish": true, - }, - }, - }, - }, - }, -} -`; - -exports[`BasicAssertion shallow renders the EqualSlices assertion 1`] = ` -ShallowWrapper { - Symbol(enzyme.__root__): [Circular], - Symbol(enzyme.__unrendered__): , - Symbol(enzyme.__renderer__): Object { - "batchedUpdates": [Function], - "getNode": [Function], - "render": [Function], - "simulateError": [Function], - "simulateEvent": [Function], - "unmount": [Function], - }, - Symbol(enzyme.__node__): Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - - Slices: - - - -, - - - - - slice(2, 4, None) - slice(6, 8, None) - -
-
- -
, - - - - - Expected: - - - - - - - Value: - - - -, - - - - - [ - - "a" - - , - - "b" - - , - - 3 - - , - - 4 - - , - - "c" - - , - - "d" - - , - - 7 - - , - - 8 - - ] - - - - - - - [ - - 1 - - , - - 2 - - , - - 3 - - , - - 4 - - , - - 5 - - , - - 6 - - , - - 7 - - , - - 8 - - ] - - - -, - - - - -, - - -, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - - Slices: - - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - Slices: - -, - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - Slices: -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Slices:", - }, - "ref": null, - "rendered": "Slices:", - "type": "span", - }, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - - slice(2, 4, None) - slice(6, 8, None) - -
-
-, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - slice(2, 4, None) - slice(6, 8, None) - -
-
, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - slice(2, 4, None) - slice(6, 8, None) -, -
, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "slice(2, 4, None) -slice(6, 8, None)", - "style": Object { - "whiteSpace": "pre", - }, - }, - "ref": null, - "rendered": "slice(2, 4, None) -slice(6, 8, None)", - "type": "span", - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object {}, - "ref": null, - "rendered": null, - "type": "hr", - }, - ], - "type": Symbol(react.fragment), - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - Expected: - - -, - - - - Value: - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - Expected: - -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - Expected: -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Expected:", - }, - "ref": null, - "rendered": "Expected:", - "type": "span", - }, - "type": "strong", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - Value: - -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - Value: -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Value:", - }, - "ref": null, - "rendered": "Value:", - "type": "span", - }, - "type": "strong", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - [ - - "a" - - , - - "b" - - , - - 3 - - , - - 4 - - , - - "c" - - , - - "d" - - , - - 7 - - , - - 8 - - ] - - -, - - - - [ - - 1 - - , - - 2 - - , - - 3 - - , - - 4 - - , - - 5 - - , - - 6 - - , - - 7 - - , - - 8 - - ] - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - [ - - "a" - - , - - "b" - - , - - 3 - - , - - 4 - - , - - "c" - - , - - "d" - - , - - 7 - - , - - 8 - - ] - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - [ - - "a" - - , - - "b" - - , - - 3 - - , - - 4 - - , - - "c" - - , - - "d" - - , - - 7 - - , - - 8 - - ] -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - "[", - Array [ - Array [ - Array [ - Array [ - Array [ - Array [ - Array [ - - "a" -, - ", ", - - "b" -, - ], - ", ", - - 3 -, - ], - ", ", - - 4 -, - ], - ", ", - - "c" -, - ], - ", ", - - "d" -, - ], - ", ", - - 7 -, - ], - ", ", - - 8 -, - ], - "]", - ], - }, - "ref": null, - "rendered": Array [ - "[", - Object { - "instance": null, - "key": "slice_a,b,3,4,c,d,7,8_0", - "nodeType": "host", - "props": Object { - "children": "\\"a\\"", - "style": Object { - "color": "black", - }, - }, - "ref": null, - "rendered": "\\"a\\"", - "type": "span", - }, - ", ", - Object { - "instance": null, - "key": "slice_a,b,3,4,c,d,7,8_1", - "nodeType": "host", - "props": Object { - "children": "\\"b\\"", - "style": Object { - "color": "black", - }, - }, - "ref": null, - "rendered": "\\"b\\"", - "type": "span", - }, - ", ", - Object { - "instance": null, - "key": "slice_a,b,3,4,c,d,7,8_2", - "nodeType": "host", - "props": Object { - "children": "3", - "style": Object { - "color": "green", - }, - }, - "ref": null, - "rendered": "3", - "type": "span", - }, - ", ", - Object { - "instance": null, - "key": "slice_a,b,3,4,c,d,7,8_3", - "nodeType": "host", - "props": Object { - "children": "4", - "style": Object { - "color": "green", - }, - }, - "ref": null, - "rendered": "4", - "type": "span", - }, - ", ", - Object { - "instance": null, - "key": "slice_a,b,3,4,c,d,7,8_4", - "nodeType": "host", - "props": Object { - "children": "\\"c\\"", - "style": Object { - "color": "black", - }, - }, - "ref": null, - "rendered": "\\"c\\"", - "type": "span", - }, - ", ", - Object { - "instance": null, - "key": "slice_a,b,3,4,c,d,7,8_5", - "nodeType": "host", - "props": Object { - "children": "\\"d\\"", - "style": Object { - "color": "black", - }, - }, - "ref": null, - "rendered": "\\"d\\"", - "type": "span", - }, - ", ", - Object { - "instance": null, - "key": "slice_a,b,3,4,c,d,7,8_6", - "nodeType": "host", - "props": Object { - "children": "7", - "style": Object { - "color": "green", - }, - }, - "ref": null, - "rendered": "7", - "type": "span", - }, - ", ", - Object { - "instance": null, - "key": "slice_a,b,3,4,c,d,7,8_7", - "nodeType": "host", - "props": Object { - "children": "8", - "style": Object { - "color": "green", - }, - }, - "ref": null, - "rendered": "8", - "type": "span", - }, - "]", - ], - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - [ - - 1 - - , - - 2 - - , - - 3 - - , - - 4 - - , - - 5 - - , - - 6 - - , - - 7 - - , - - 8 - - ] - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - [ - - 1 - - , - - 2 - - , - - 3 - - , - - 4 - - , - - 5 - - , - - 6 - - , - - 7 - - , - - 8 - - ] -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - "[", - Array [ - Array [ - Array [ - Array [ - Array [ - Array [ - Array [ - - 1 -, - ", ", - - 2 -, - ], - ", ", - - 3 -, - ], - ", ", - - 4 -, - ], - ", ", - - 5 -, - ], - ", ", - - 6 -, - ], - ", ", - - 7 -, - ], - ", ", - - 8 -, - ], - "]", - ], - }, - "ref": null, - "rendered": Array [ - "[", - Object { - "instance": null, - "key": "slice_1,2,3,4,5,6,7,8_0", - "nodeType": "host", - "props": Object { - "children": "1", - "style": Object { - "color": "black", - }, - }, - "ref": null, - "rendered": "1", - "type": "span", - }, - ", ", - Object { - "instance": null, - "key": "slice_1,2,3,4,5,6,7,8_1", - "nodeType": "host", - "props": Object { - "children": "2", - "style": Object { - "color": "black", - }, - }, - "ref": null, - "rendered": "2", - "type": "span", - }, - ", ", - Object { - "instance": null, - "key": "slice_1,2,3,4,5,6,7,8_2", - "nodeType": "host", - "props": Object { - "children": "3", - "style": Object { - "color": "green", - }, - }, - "ref": null, - "rendered": "3", - "type": "span", - }, - ", ", - Object { - "instance": null, - "key": "slice_1,2,3,4,5,6,7,8_3", - "nodeType": "host", - "props": Object { - "children": "4", - "style": Object { - "color": "green", - }, - }, - "ref": null, - "rendered": "4", - "type": "span", - }, - ", ", - Object { - "instance": null, - "key": "slice_1,2,3,4,5,6,7,8_4", - "nodeType": "host", - "props": Object { - "children": "5", - "style": Object { - "color": "black", - }, - }, - "ref": null, - "rendered": "5", - "type": "span", - }, - ", ", - Object { - "instance": null, - "key": "slice_1,2,3,4,5,6,7,8_5", - "nodeType": "host", - "props": Object { - "children": "6", - "style": Object { - "color": "black", - }, - }, - "ref": null, - "rendered": "6", - "type": "span", - }, - ", ", - Object { - "instance": null, - "key": "slice_1,2,3,4,5,6,7,8_6", - "nodeType": "host", - "props": Object { - "children": "7", - "style": Object { - "color": "green", - }, - }, - "ref": null, - "rendered": "7", - "type": "span", - }, - ", ", - Object { - "instance": null, - "key": "slice_1,2,3,4,5,6,7,8_7", - "nodeType": "host", - "props": Object { - "children": "8", - "style": Object { - "color": "green", - }, - }, - "ref": null, - "rendered": "8", - "type": "span", - }, - "]", - ], - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - ], - "type": Symbol(react.fragment), - }, - Symbol(enzyme.__nodes__): Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - - Slices: - - - -, - - - - - slice(2, 4, None) - slice(6, 8, None) - -
-
- -
, - - - - - Expected: - - - - - - - Value: - - - -, - - - - - [ - - "a" - - , - - "b" - - , - - 3 - - , - - 4 - - , - - "c" - - , - - "d" - - , - - 7 - - , - - 8 - - ] - - - - - - - [ - - 1 - - , - - 2 - - , - - 3 - - , - - 4 - - , - - 5 - - , - - 6 - - , - - 7 - - , - - 8 - - ] - - - -, - - - - -, - - -, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - - Slices: - - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - Slices: - -, - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - Slices: -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Slices:", - }, - "ref": null, - "rendered": "Slices:", - "type": "span", - }, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - - slice(2, 4, None) - slice(6, 8, None) - -
-
-, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - slice(2, 4, None) - slice(6, 8, None) - -
-
, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - slice(2, 4, None) - slice(6, 8, None) -, -
, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "slice(2, 4, None) -slice(6, 8, None)", - "style": Object { - "whiteSpace": "pre", - }, - }, - "ref": null, - "rendered": "slice(2, 4, None) -slice(6, 8, None)", - "type": "span", - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object {}, - "ref": null, - "rendered": null, - "type": "hr", - }, - ], - "type": Symbol(react.fragment), - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - Expected: - - -, - - - - Value: - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - Expected: - -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - Expected: -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Expected:", - }, - "ref": null, - "rendered": "Expected:", - "type": "span", - }, - "type": "strong", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - Value: - -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - Value: -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Value:", - }, - "ref": null, - "rendered": "Value:", - "type": "span", - }, - "type": "strong", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - [ - - "a" - - , - - "b" - - , - - 3 - - , - - 4 - - , - - "c" - - , - - "d" - - , - - 7 - - , - - 8 - - ] - - -, - - - - [ - - 1 - - , - - 2 - - , - - 3 - - , - - 4 - - , - - 5 - - , - - 6 - - , - - 7 - - , - - 8 - - ] - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - [ - - "a" - - , - - "b" - - , - - 3 - - , - - 4 - - , - - "c" - - , - - "d" - - , - - 7 - - , - - 8 - - ] - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - [ - - "a" - - , - - "b" - - , - - 3 - - , - - 4 - - , - - "c" - - , - - "d" - - , - - 7 - - , - - 8 - - ] -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - "[", - Array [ - Array [ - Array [ - Array [ - Array [ - Array [ - Array [ - - "a" -, - ", ", - - "b" -, - ], - ", ", - - 3 -, - ], - ", ", - - 4 -, - ], - ", ", - - "c" -, - ], - ", ", - - "d" -, - ], - ", ", - - 7 -, - ], - ", ", - - 8 -, - ], - "]", - ], - }, - "ref": null, - "rendered": Array [ - "[", - Object { - "instance": null, - "key": "slice_a,b,3,4,c,d,7,8_0", - "nodeType": "host", - "props": Object { - "children": "\\"a\\"", - "style": Object { - "color": "black", - }, - }, - "ref": null, - "rendered": "\\"a\\"", - "type": "span", - }, - ", ", - Object { - "instance": null, - "key": "slice_a,b,3,4,c,d,7,8_1", - "nodeType": "host", - "props": Object { - "children": "\\"b\\"", - "style": Object { - "color": "black", - }, - }, - "ref": null, - "rendered": "\\"b\\"", - "type": "span", - }, - ", ", - Object { - "instance": null, - "key": "slice_a,b,3,4,c,d,7,8_2", - "nodeType": "host", - "props": Object { - "children": "3", - "style": Object { - "color": "green", - }, - }, - "ref": null, - "rendered": "3", - "type": "span", - }, - ", ", - Object { - "instance": null, - "key": "slice_a,b,3,4,c,d,7,8_3", - "nodeType": "host", - "props": Object { - "children": "4", - "style": Object { - "color": "green", - }, - }, - "ref": null, - "rendered": "4", - "type": "span", - }, - ", ", - Object { - "instance": null, - "key": "slice_a,b,3,4,c,d,7,8_4", - "nodeType": "host", - "props": Object { - "children": "\\"c\\"", - "style": Object { - "color": "black", - }, - }, - "ref": null, - "rendered": "\\"c\\"", - "type": "span", - }, - ", ", - Object { - "instance": null, - "key": "slice_a,b,3,4,c,d,7,8_5", - "nodeType": "host", - "props": Object { - "children": "\\"d\\"", - "style": Object { - "color": "black", - }, - }, - "ref": null, - "rendered": "\\"d\\"", - "type": "span", - }, - ", ", - Object { - "instance": null, - "key": "slice_a,b,3,4,c,d,7,8_6", - "nodeType": "host", - "props": Object { - "children": "7", - "style": Object { - "color": "green", - }, - }, - "ref": null, - "rendered": "7", - "type": "span", - }, - ", ", - Object { - "instance": null, - "key": "slice_a,b,3,4,c,d,7,8_7", - "nodeType": "host", - "props": Object { - "children": "8", - "style": Object { - "color": "green", - }, - }, - "ref": null, - "rendered": "8", - "type": "span", - }, - "]", - ], - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - [ - - 1 - - , - - 2 - - , - - 3 - - , - - 4 - - , - - 5 - - , - - 6 - - , - - 7 - - , - - 8 - - ] - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - [ - - 1 - - , - - 2 - - , - - 3 - - , - - 4 - - , - - 5 - - , - - 6 - - , - - 7 - - , - - 8 - - ] -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - "[", - Array [ - Array [ - Array [ - Array [ - Array [ - Array [ - Array [ - - 1 -, - ", ", - - 2 -, - ], - ", ", - - 3 -, - ], - ", ", - - 4 -, - ], - ", ", - - 5 -, - ], - ", ", - - 6 -, - ], - ", ", - - 7 -, - ], - ", ", - - 8 -, - ], - "]", - ], - }, - "ref": null, - "rendered": Array [ - "[", - Object { - "instance": null, - "key": "slice_1,2,3,4,5,6,7,8_0", - "nodeType": "host", - "props": Object { - "children": "1", - "style": Object { - "color": "black", - }, - }, - "ref": null, - "rendered": "1", - "type": "span", - }, - ", ", - Object { - "instance": null, - "key": "slice_1,2,3,4,5,6,7,8_1", - "nodeType": "host", - "props": Object { - "children": "2", - "style": Object { - "color": "black", - }, - }, - "ref": null, - "rendered": "2", - "type": "span", - }, - ", ", - Object { - "instance": null, - "key": "slice_1,2,3,4,5,6,7,8_2", - "nodeType": "host", - "props": Object { - "children": "3", - "style": Object { - "color": "green", - }, - }, - "ref": null, - "rendered": "3", - "type": "span", - }, - ", ", - Object { - "instance": null, - "key": "slice_1,2,3,4,5,6,7,8_3", - "nodeType": "host", - "props": Object { - "children": "4", - "style": Object { - "color": "green", - }, - }, - "ref": null, - "rendered": "4", - "type": "span", - }, - ", ", - Object { - "instance": null, - "key": "slice_1,2,3,4,5,6,7,8_4", - "nodeType": "host", - "props": Object { - "children": "5", - "style": Object { - "color": "black", - }, - }, - "ref": null, - "rendered": "5", - "type": "span", - }, - ", ", - Object { - "instance": null, - "key": "slice_1,2,3,4,5,6,7,8_5", - "nodeType": "host", - "props": Object { - "children": "6", - "style": Object { - "color": "black", - }, - }, - "ref": null, - "rendered": "6", - "type": "span", - }, - ", ", - Object { - "instance": null, - "key": "slice_1,2,3,4,5,6,7,8_6", - "nodeType": "host", - "props": Object { - "children": "7", - "style": Object { - "color": "green", - }, - }, - "ref": null, - "rendered": "7", - "type": "span", - }, - ", ", - Object { - "instance": null, - "key": "slice_1,2,3,4,5,6,7,8_7", - "nodeType": "host", - "props": Object { - "children": "8", - "style": Object { - "color": "green", - }, - }, - "ref": null, - "rendered": "8", - "type": "span", - }, - "]", - ], - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - ], - "type": Symbol(react.fragment), - }, - ], - Symbol(enzyme.__options__): Object { - "adapter": ReactSixteenAdapter { - "options": Object { - "enableComponentDidUpdateOnSetState": true, - "lifecycles": Object { - "componentDidUpdate": Object { - "onSetState": true, - }, - "getDerivedStateFromProps": true, - "getSnapshotBeforeUpdate": true, - "setState": Object { - "skipsComponentDidUpdateOnNullish": true, - }, - }, - }, - }, - }, -} -`; - -exports[`BasicAssertion shallow renders the ExceptionNotRaised assertion 1`] = ` -ShallowWrapper { - Symbol(enzyme.__root__): [Circular], - Symbol(enzyme.__unrendered__): ", - "'bar'", - ], - "type": "ExceptionNotRaised", - "utc_time": "2019-02-12T17:41:43.117579+00:00", - } - } -/>, - Symbol(enzyme.__renderer__): Object { - "batchedUpdates": [Function], - "getNode": [Function], - "render": [Function], - "simulateError": [Function], - "simulateEvent": [Function], - "unmount": [Function], - }, - Symbol(enzyme.__node__): Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - -, - - -, - - - - - Expected exceptions: - - - - - - - Raised exceptions: - - - -, - - - - - TypeError - - - - - - - <type 'exceptions.KeyError'> - (value: - 'bar' - ) - - - -, - - - - -, - - -, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - Expected exceptions: - - -, - - - - Raised exceptions: - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - Expected exceptions: - -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - Expected exceptions: -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Expected exceptions:", - }, - "ref": null, - "rendered": "Expected exceptions:", - "type": "span", - }, - "type": "strong", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - Raised exceptions: - -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - Raised exceptions: -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Raised exceptions:", - }, - "ref": null, - "rendered": "Raised exceptions:", - "type": "span", - }, - "type": "strong", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - TypeError - - -, - - - - <type 'exceptions.KeyError'> - (value: - 'bar' - ) - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - TypeError - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - TypeError -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - "TypeError", - ], - }, - "ref": null, - "rendered": Array [ - "TypeError", - ], - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - <type 'exceptions.KeyError'> - (value: - 'bar' - ) - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - <type 'exceptions.KeyError'> - (value: - 'bar' - ) -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - "", - " (value: ", - "'bar'", - ")", - ], - }, - "ref": null, - "rendered": Array [ - "", - " (value: ", - "'bar'", - ")", - ], - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - ], - "type": Symbol(react.fragment), - }, - Symbol(enzyme.__nodes__): Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - -, - - -, - - - - - Expected exceptions: - - - - - - - Raised exceptions: - - - -, - - - - - TypeError - - - - - - - <type 'exceptions.KeyError'> - (value: - 'bar' - ) - - - -, - - - - -, - - -, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - Expected exceptions: - - -, - - - - Raised exceptions: - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - Expected exceptions: - -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - Expected exceptions: -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Expected exceptions:", - }, - "ref": null, - "rendered": "Expected exceptions:", - "type": "span", - }, - "type": "strong", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - Raised exceptions: - -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - Raised exceptions: -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Raised exceptions:", - }, - "ref": null, - "rendered": "Raised exceptions:", - "type": "span", - }, - "type": "strong", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - TypeError - - -, - - - - <type 'exceptions.KeyError'> - (value: - 'bar' - ) - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - TypeError - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - TypeError -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - "TypeError", - ], - }, - "ref": null, - "rendered": Array [ - "TypeError", - ], - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - <type 'exceptions.KeyError'> - (value: - 'bar' - ) - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - <type 'exceptions.KeyError'> - (value: - 'bar' - ) -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - "", - " (value: ", - "'bar'", - ")", - ], - }, - "ref": null, - "rendered": Array [ - "", - " (value: ", - "'bar'", - ")", - ], - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - ], - "type": Symbol(react.fragment), - }, - ], - Symbol(enzyme.__options__): Object { - "adapter": ReactSixteenAdapter { - "options": Object { - "enableComponentDidUpdateOnSetState": true, - "lifecycles": Object { - "componentDidUpdate": Object { - "onSetState": true, - }, - "getDerivedStateFromProps": true, - "getSnapshotBeforeUpdate": true, - "setState": Object { - "skipsComponentDidUpdateOnNullish": true, - }, - }, - }, - }, - }, -} -`; - -exports[`BasicAssertion shallow renders the ExceptionRaised assertion 1`] = ` -ShallowWrapper { - Symbol(enzyme.__root__): [Circular], - Symbol(enzyme.__unrendered__): ", - "'bar'", - ], - "type": "ExceptionRaised", - "utc_time": "2019-02-12T17:41:43.112279+00:00", - } - } -/>, - Symbol(enzyme.__renderer__): Object { - "batchedUpdates": [Function], - "getNode": [Function], - "render": [Function], - "simulateError": [Function], - "simulateEvent": [Function], - "unmount": [Function], - }, - Symbol(enzyme.__node__): Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - -, - - -, - - - - - Expected exceptions: - - - - - - - Raised exceptions: - - - -, - - - - - KeyError - - - - - - - <type 'exceptions.KeyError'> - (value: - 'bar' - ) - - - -, - - - - -, - - -, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - Expected exceptions: - - -, - - - - Raised exceptions: - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - Expected exceptions: - -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - Expected exceptions: -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Expected exceptions:", - }, - "ref": null, - "rendered": "Expected exceptions:", - "type": "span", - }, - "type": "strong", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - Raised exceptions: - -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - Raised exceptions: -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Raised exceptions:", - }, - "ref": null, - "rendered": "Raised exceptions:", - "type": "span", - }, - "type": "strong", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - KeyError - - -, - - - - <type 'exceptions.KeyError'> - (value: - 'bar' - ) - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - KeyError - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - KeyError -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - "KeyError", - ], - }, - "ref": null, - "rendered": Array [ - "KeyError", - ], - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - <type 'exceptions.KeyError'> - (value: - 'bar' - ) - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - <type 'exceptions.KeyError'> - (value: - 'bar' - ) -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - "", - " (value: ", - "'bar'", - ")", - ], - }, - "ref": null, - "rendered": Array [ - "", - " (value: ", - "'bar'", - ")", - ], - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - ], - "type": Symbol(react.fragment), - }, - Symbol(enzyme.__nodes__): Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - -, - - -, - - - - - Expected exceptions: - - - - - - - Raised exceptions: - - - -, - - - - - KeyError - - - - - - - <type 'exceptions.KeyError'> - (value: - 'bar' - ) - - - -, - - - - -, - - -, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - Expected exceptions: - - -, - - - - Raised exceptions: - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - Expected exceptions: - -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - Expected exceptions: -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Expected exceptions:", - }, - "ref": null, - "rendered": "Expected exceptions:", - "type": "span", - }, - "type": "strong", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - Raised exceptions: - -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - Raised exceptions: -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Raised exceptions:", - }, - "ref": null, - "rendered": "Raised exceptions:", - "type": "span", - }, - "type": "strong", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - KeyError - - -, - - - - <type 'exceptions.KeyError'> - (value: - 'bar' - ) - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - KeyError - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - KeyError -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - "KeyError", - ], - }, - "ref": null, - "rendered": Array [ - "KeyError", - ], - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - <type 'exceptions.KeyError'> - (value: - 'bar' - ) - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - <type 'exceptions.KeyError'> - (value: - 'bar' - ) -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - "", - " (value: ", - "'bar'", - ")", - ], - }, - "ref": null, - "rendered": Array [ - "", - " (value: ", - "'bar'", - ")", - ], - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - ], - "type": Symbol(react.fragment), - }, - ], - Symbol(enzyme.__options__): Object { - "adapter": ReactSixteenAdapter { - "options": Object { - "enableComponentDidUpdateOnSetState": true, - "lifecycles": Object { - "componentDidUpdate": Object { - "onSetState": true, - }, - "getDerivedStateFromProps": true, - "getSnapshotBeforeUpdate": true, - "setState": Object { - "skipsComponentDidUpdateOnNullish": true, - }, - }, - }, - }, - }, -} -`; - -exports[`BasicAssertion shallow renders the Fail assertion 1`] = ` -ShallowWrapper { - Symbol(enzyme.__root__): [Circular], - Symbol(enzyme.__unrendered__): , - Symbol(enzyme.__renderer__): Object { - "batchedUpdates": [Function], - "getNode": [Function], - "render": [Function], - "simulateError": [Function], - "simulateEvent": [Function], - "unmount": [Function], - }, - Symbol(enzyme.__node__): Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - -, - - -, - - - - - - - -, - - - - - - - -, - - - - -, - - -, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - -, - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - -, - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "span", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "span", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - ], - "type": Symbol(react.fragment), - }, - Symbol(enzyme.__nodes__): Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - -, - - -, - - - - - - - -, - - - - - - - -, - - - - -, - - -, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - -, - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - -, - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "span", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "span", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - ], - "type": Symbol(react.fragment), - }, - ], - Symbol(enzyme.__options__): Object { - "adapter": ReactSixteenAdapter { - "options": Object { - "enableComponentDidUpdateOnSetState": true, - "lifecycles": Object { - "componentDidUpdate": Object { - "onSetState": true, - }, - "getDerivedStateFromProps": true, - "getSnapshotBeforeUpdate": true, - "setState": Object { - "skipsComponentDidUpdateOnNullish": true, - }, - }, - }, - }, - }, -} -`; - -exports[`BasicAssertion shallow renders the FixCheck assertion 1`] = ` -ShallowWrapper { - Symbol(enzyme.__root__): [Circular], - Symbol(enzyme.__unrendered__): , - Symbol(enzyme.__renderer__): Object { - "batchedUpdates": [Function], - "getNode": [Function], - "render": [Function], - "simulateError": [Function], - "simulateEvent": [Function], - "unmount": [Function], - }, - Symbol(enzyme.__node__): Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - -, - - - - Existence check: [ - - 26 - - , - - 22 - - , - - 11 - - ] -
- Absence check: [ - - 444 - - , - - 555 - - ] -
- -
, - - - - - - - -, - - - - - - - -, - - - - -, - - -, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - Existence check: [ - - 26 - - , - - 22 - - , - - 11 - - ] -
- Absence check: [ - - 444 - - , - - 555 - - ] -
-, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - Existence check: [ - - 26 - - , - - 22 - - , - - 11 - - ] -
- Absence check: [ - - 444 - - , - - 555 - - ] -
, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - "Existence check: [", - Array [ - Array [ - - 26 -, - ", ", - - 22 -, - ], - ", ", - - 11 -, - ], - "]", -
, - "Absence check: [", - Array [ - - 444 -, - ", ", - - 555 -, - ], - "]", - ], - }, - "ref": null, - "rendered": Array [ - "Existence check: [", - Object { - "instance": null, - "key": "check_26_0", - "nodeType": "host", - "props": Object { - "children": "26", - "style": Object { - "color": "red", - }, - }, - "ref": null, - "rendered": "26", - "type": "span", - }, - ", ", - Object { - "instance": null, - "key": "check_22_1", - "nodeType": "host", - "props": Object { - "children": "22", - "style": Object { - "color": "black", - }, - }, - "ref": null, - "rendered": "22", - "type": "span", - }, - ", ", - Object { - "instance": null, - "key": "check_11_2", - "nodeType": "host", - "props": Object { - "children": "11", - "style": Object { - "color": "red", - }, - }, - "ref": null, - "rendered": "11", - "type": "span", - }, - "]", - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object {}, - "ref": null, - "rendered": null, - "type": "br", - }, - "Absence check: [", - Object { - "instance": null, - "key": "check_444_0", - "nodeType": "host", - "props": Object { - "children": "444", - "style": Object { - "color": "black", - }, - }, - "ref": null, - "rendered": "444", - "type": "span", - }, - ", ", - Object { - "instance": null, - "key": "check_555_1", - "nodeType": "host", - "props": Object { - "children": "555", - "style": Object { - "color": "red", - }, - }, - "ref": null, - "rendered": "555", - "type": "span", - }, - "]", - ], - "type": "span", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - -, - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - -, - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": undefined, - }, - "ref": null, - "rendered": null, - "type": "span", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": undefined, - }, - "ref": null, - "rendered": null, - "type": "span", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - ], - "type": Symbol(react.fragment), - }, - Symbol(enzyme.__nodes__): Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - -, - - - - Existence check: [ - - 26 - - , - - 22 - - , - - 11 - - ] -
- Absence check: [ - - 444 - - , - - 555 - - ] -
- -
, - - - - - - - -, - - - - - - - -, - - - - -, - - -, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - Existence check: [ - - 26 - - , - - 22 - - , - - 11 - - ] -
- Absence check: [ - - 444 - - , - - 555 - - ] -
-, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - Existence check: [ - - 26 - - , - - 22 - - , - - 11 - - ] -
- Absence check: [ - - 444 - - , - - 555 - - ] -
, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - "Existence check: [", - Array [ - Array [ - - 26 -, - ", ", - - 22 -, - ], - ", ", - - 11 -, - ], - "]", -
, - "Absence check: [", - Array [ - - 444 -, - ", ", - - 555 -, - ], - "]", - ], - }, - "ref": null, - "rendered": Array [ - "Existence check: [", - Object { - "instance": null, - "key": "check_26_0", - "nodeType": "host", - "props": Object { - "children": "26", - "style": Object { - "color": "red", - }, - }, - "ref": null, - "rendered": "26", - "type": "span", - }, - ", ", - Object { - "instance": null, - "key": "check_22_1", - "nodeType": "host", - "props": Object { - "children": "22", - "style": Object { - "color": "black", - }, - }, - "ref": null, - "rendered": "22", - "type": "span", - }, - ", ", - Object { - "instance": null, - "key": "check_11_2", - "nodeType": "host", - "props": Object { - "children": "11", - "style": Object { - "color": "red", - }, - }, - "ref": null, - "rendered": "11", - "type": "span", - }, - "]", - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object {}, - "ref": null, - "rendered": null, - "type": "br", - }, - "Absence check: [", - Object { - "instance": null, - "key": "check_444_0", - "nodeType": "host", - "props": Object { - "children": "444", - "style": Object { - "color": "black", - }, - }, - "ref": null, - "rendered": "444", - "type": "span", - }, - ", ", - Object { - "instance": null, - "key": "check_555_1", - "nodeType": "host", - "props": Object { - "children": "555", - "style": Object { - "color": "red", - }, - }, - "ref": null, - "rendered": "555", - "type": "span", - }, - "]", - ], - "type": "span", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - -, - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - -, - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": undefined, - }, - "ref": null, - "rendered": null, - "type": "span", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": undefined, - }, - "ref": null, - "rendered": null, - "type": "span", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - ], - "type": Symbol(react.fragment), - }, - ], - Symbol(enzyme.__options__): Object { - "adapter": ReactSixteenAdapter { - "options": Object { - "enableComponentDidUpdateOnSetState": true, - "lifecycles": Object { - "componentDidUpdate": Object { - "onSetState": true, - }, - "getDerivedStateFromProps": true, - "getSnapshotBeforeUpdate": true, - "setState": Object { - "skipsComponentDidUpdateOnNullish": true, - }, - }, - }, - }, - }, -} -`; - -exports[`BasicAssertion shallow renders the Greater assertion 1`] = ` -ShallowWrapper { - Symbol(enzyme.__root__): [Circular], - Symbol(enzyme.__unrendered__): ", - "line_no": 31, - "machine_time": "2019-02-12T17:41:43.023470+00:00", - "meta_type": "assertion", - "passed": true, - "second": 2, - "type": "Greater", - "utc_time": "2019-02-12T17:41:43.023464+00:00", - } - } -/>, - Symbol(enzyme.__renderer__): Object { - "batchedUpdates": [Function], - "getNode": [Function], - "render": [Function], - "simulateError": [Function], - "simulateEvent": [Function], - "unmount": [Function], - }, - Symbol(enzyme.__node__): Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - -, - - -, - - - - Expected: - - - - - Value: - - -, - - - - - value - > - - 2 - - - - - - 5 - - -, - - - - -, - - -, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - Expected: - -, - - - Value: - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - Expected: -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Expected:", - }, - "ref": null, - "rendered": "Expected:", - "type": "strong", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - Value: -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Value:", - }, - "ref": null, - "rendered": "Value:", - "type": "strong", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - value - > - - 2 - - -, - - - 5 - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - value - > - - 2 - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - value - > - - 2 -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - "value ", - ">", - " ", - 2, - ], - }, - "ref": null, - "rendered": Array [ - "value ", - ">", - " ", - 2, - ], - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - 5 -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": 5, - }, - "ref": null, - "rendered": 5, - "type": "span", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - ], - "type": Symbol(react.fragment), - }, - Symbol(enzyme.__nodes__): Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - -, - - -, - - - - Expected: - - - - - Value: - - -, - - - - - value - > - - 2 - - - - - - 5 - - -, - - - - -, - - -, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - Expected: - -, - - - Value: - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - Expected: -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Expected:", - }, - "ref": null, - "rendered": "Expected:", - "type": "strong", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - Value: -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Value:", - }, - "ref": null, - "rendered": "Value:", - "type": "strong", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - value - > - - 2 - - -, - - - 5 - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - value - > - - 2 - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - value - > - - 2 -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - "value ", - ">", - " ", - 2, - ], - }, - "ref": null, - "rendered": Array [ - "value ", - ">", - " ", - 2, - ], - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - 5 -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": 5, - }, - "ref": null, - "rendered": 5, - "type": "span", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - ], - "type": Symbol(react.fragment), - }, - ], - Symbol(enzyme.__options__): Object { - "adapter": ReactSixteenAdapter { - "options": Object { - "enableComponentDidUpdateOnSetState": true, - "lifecycles": Object { - "componentDidUpdate": Object { - "onSetState": true, - }, - "getDerivedStateFromProps": true, - "getSnapshotBeforeUpdate": true, - "setState": Object { - "skipsComponentDidUpdateOnNullish": true, - }, - }, - }, - }, - }, -} -`; - -exports[`BasicAssertion shallow renders the GreaterEqual assertion 1`] = ` -ShallowWrapper { - Symbol(enzyme.__root__): [Circular], - Symbol(enzyme.__unrendered__): =", - "line_no": 32, - "machine_time": "2019-02-12T17:41:43.025466+00:00", - "meta_type": "assertion", - "passed": true, - "second": 2, - "type": "GreaterEqual", - "utc_time": "2019-02-12T17:41:43.025459+00:00", - } - } -/>, - Symbol(enzyme.__renderer__): Object { - "batchedUpdates": [Function], - "getNode": [Function], - "render": [Function], - "simulateError": [Function], - "simulateEvent": [Function], - "unmount": [Function], - }, - Symbol(enzyme.__node__): Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - -, - - -, - - - - Expected: - - - - - Value: - - -, - - - - - value - >= - - 2 - - - - - - 2 - - -, - - - - -, - - -, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - Expected: - -, - - - Value: - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - Expected: -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Expected:", - }, - "ref": null, - "rendered": "Expected:", - "type": "strong", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - Value: -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Value:", - }, - "ref": null, - "rendered": "Value:", - "type": "strong", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - value - >= - - 2 - - -, - - - 2 - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - value - >= - - 2 - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - value - >= - - 2 -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - "value ", - ">=", - " ", - 2, - ], - }, - "ref": null, - "rendered": Array [ - "value ", - ">=", - " ", - 2, - ], - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - 2 -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": 2, - }, - "ref": null, - "rendered": 2, - "type": "span", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - ], - "type": Symbol(react.fragment), - }, - Symbol(enzyme.__nodes__): Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - -, - - -, - - - - Expected: - - - - - Value: - - -, - - - - - value - >= - - 2 - - - - - - 2 - - -, - - - - -, - - -, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - Expected: - -, - - - Value: - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - Expected: -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Expected:", - }, - "ref": null, - "rendered": "Expected:", - "type": "strong", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - Value: -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Value:", - }, - "ref": null, - "rendered": "Value:", - "type": "strong", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - value - >= - - 2 - - -, - - - 2 - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - value - >= - - 2 - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - value - >= - - 2 -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - "value ", - ">=", - " ", - 2, - ], - }, - "ref": null, - "rendered": Array [ - "value ", - ">=", - " ", - 2, - ], - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - 2 -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": 2, - }, - "ref": null, - "rendered": 2, - "type": "span", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - ], - "type": Symbol(react.fragment), - }, - ], - Symbol(enzyme.__options__): Object { - "adapter": ReactSixteenAdapter { - "options": Object { - "enableComponentDidUpdateOnSetState": true, - "lifecycles": Object { - "componentDidUpdate": Object { - "onSetState": true, - }, - "getDerivedStateFromProps": true, - "getSnapshotBeforeUpdate": true, - "setState": Object { - "skipsComponentDidUpdateOnNullish": true, - }, - }, - }, - }, - }, -} -`; - -exports[`BasicAssertion shallow renders the IsClose assertion 1`] = ` -ShallowWrapper { - Symbol(enzyme.__root__): [Circular], - Symbol(enzyme.__unrendered__): , - Symbol(enzyme.__renderer__): Object { - "batchedUpdates": [Function], - "getNode": [Function], - "render": [Function], - "simulateError": [Function], - "simulateEvent": [Function], - "unmount": [Function], - }, - Symbol(enzyme.__node__): Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - -, - - -, - - - - Expected: - - - - - Value: - - -, - - - - - value - ~= - - 95 -  within rel_tol= - 0.1 - or abs_tol= - 0 - - - - - - 100 - - -, - - - - -, - - -, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - Expected: - -, - - - Value: - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - Expected: -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Expected:", - }, - "ref": null, - "rendered": "Expected:", - "type": "strong", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - Value: -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Value:", - }, - "ref": null, - "rendered": "Value:", - "type": "strong", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - value - ~= - - 95 -  within rel_tol= - 0.1 - or abs_tol= - 0 - - -, - - - 100 - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - value - ~= - - 95 -  within rel_tol= - 0.1 - or abs_tol= - 0 - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - value - ~= - - 95 -  within rel_tol= - 0.1 - or abs_tol= - 0 -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - "value ", - "~=", - " ", - 95, - " within rel_tol=", - 0.1, - " or abs_tol=", - 0, - ], - }, - "ref": null, - "rendered": Array [ - "value ", - "~=", - " ", - 95, - " within rel_tol=", - 0.1, - " or abs_tol=", - 0, - ], - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - 100 -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": 100, - }, - "ref": null, - "rendered": 100, - "type": "span", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - ], - "type": Symbol(react.fragment), - }, - Symbol(enzyme.__nodes__): Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - -, - - -, - - - - Expected: - - - - - Value: - - -, - - - - - value - ~= - - 95 -  within rel_tol= - 0.1 - or abs_tol= - 0 - - - - - - 100 - - -, - - - - -, - - -, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - Expected: - -, - - - Value: - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - Expected: -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Expected:", - }, - "ref": null, - "rendered": "Expected:", - "type": "strong", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - Value: -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Value:", - }, - "ref": null, - "rendered": "Value:", - "type": "strong", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - value - ~= - - 95 -  within rel_tol= - 0.1 - or abs_tol= - 0 - - -, - - - 100 - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - value - ~= - - 95 -  within rel_tol= - 0.1 - or abs_tol= - 0 - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - value - ~= - - 95 -  within rel_tol= - 0.1 - or abs_tol= - 0 -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - "value ", - "~=", - " ", - 95, - " within rel_tol=", - 0.1, - " or abs_tol=", - 0, - ], - }, - "ref": null, - "rendered": Array [ - "value ", - "~=", - " ", - 95, - " within rel_tol=", - 0.1, - " or abs_tol=", - 0, - ], - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - 100 -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": 100, - }, - "ref": null, - "rendered": 100, - "type": "span", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - ], - "type": Symbol(react.fragment), - }, - ], - Symbol(enzyme.__options__): Object { - "adapter": ReactSixteenAdapter { - "options": Object { - "enableComponentDidUpdateOnSetState": true, - "lifecycles": Object { - "componentDidUpdate": Object { - "onSetState": true, - }, - "getDerivedStateFromProps": true, - "getSnapshotBeforeUpdate": true, - "setState": Object { - "skipsComponentDidUpdateOnNullish": true, - }, - }, - }, - }, - }, -} -`; - -exports[`BasicAssertion shallow renders the IsFalse assertion 1`] = ` -ShallowWrapper { - Symbol(enzyme.__root__): [Circular], - Symbol(enzyme.__unrendered__): , - Symbol(enzyme.__renderer__): Object { - "batchedUpdates": [Function], - "getNode": [Function], - "render": [Function], - "simulateError": [Function], - "simulateEvent": [Function], - "unmount": [Function], - }, - Symbol(enzyme.__node__): Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - -, - - -, - - - - Expected: - - - - - Value: - - -, - - - - - value is False - - - - - - - False - - - -, - - - - -, - - -, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - Expected: - -, - - - Value: - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - Expected: -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Expected:", - }, - "ref": null, - "rendered": "Expected:", - "type": "strong", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - Value: -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Value:", - }, - "ref": null, - "rendered": "Value:", - "type": "strong", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - value is False - - -, - - - - False - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - value is False - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - value is False -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "value is False", - }, - "ref": null, - "rendered": "value is False", - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - False - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - False -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "False", - }, - "ref": null, - "rendered": "False", - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - ], - "type": Symbol(react.fragment), - }, - Symbol(enzyme.__nodes__): Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - -, - - -, - - - - Expected: - - - - - Value: - - -, - - - - - value is False - - - - - - - False - - - -, - - - - -, - - -, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - Expected: - -, - - - Value: - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - Expected: -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Expected:", - }, - "ref": null, - "rendered": "Expected:", - "type": "strong", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - Value: -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Value:", - }, - "ref": null, - "rendered": "Value:", - "type": "strong", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - value is False - - -, - - - - False - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - value is False - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - value is False -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "value is False", - }, - "ref": null, - "rendered": "value is False", - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - False - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - False -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "False", - }, - "ref": null, - "rendered": "False", - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - ], - "type": Symbol(react.fragment), - }, - ], - Symbol(enzyme.__options__): Object { - "adapter": ReactSixteenAdapter { - "options": Object { - "enableComponentDidUpdateOnSetState": true, - "lifecycles": Object { - "componentDidUpdate": Object { - "onSetState": true, - }, - "getDerivedStateFromProps": true, - "getSnapshotBeforeUpdate": true, - "setState": Object { - "skipsComponentDidUpdateOnNullish": true, - }, - }, - }, - }, - }, -} -`; - -exports[`BasicAssertion shallow renders the IsTrue assertion 1`] = ` -ShallowWrapper { - Symbol(enzyme.__root__): [Circular], - Symbol(enzyme.__unrendered__): , - Symbol(enzyme.__renderer__): Object { - "batchedUpdates": [Function], - "getNode": [Function], - "render": [Function], - "simulateError": [Function], - "simulateEvent": [Function], - "unmount": [Function], - }, - Symbol(enzyme.__node__): Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - -, - - -, - - - - Expected: - - - - - Value: - - -, - - - - - value is True - - - - - - - True - - - -, - - - - -, - - -, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - Expected: - -, - - - Value: - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - Expected: -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Expected:", - }, - "ref": null, - "rendered": "Expected:", - "type": "strong", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - Value: -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Value:", - }, - "ref": null, - "rendered": "Value:", - "type": "strong", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - value is True - - -, - - - - True - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - value is True - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - value is True -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "value is True", - }, - "ref": null, - "rendered": "value is True", - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - True - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - True -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "True", - }, - "ref": null, - "rendered": "True", - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - ], - "type": Symbol(react.fragment), - }, - Symbol(enzyme.__nodes__): Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - -, - - -, - - - - Expected: - - - - - Value: - - -, - - - - - value is True - - - - - - - True - - - -, - - - - -, - - -, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - Expected: - -, - - - Value: - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - Expected: -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Expected:", - }, - "ref": null, - "rendered": "Expected:", - "type": "strong", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - Value: -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Value:", - }, - "ref": null, - "rendered": "Value:", - "type": "strong", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - value is True - - -, - - - - True - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - value is True - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - value is True -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "value is True", - }, - "ref": null, - "rendered": "value is True", - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - True - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - True -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "True", - }, - "ref": null, - "rendered": "True", - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - ], - "type": Symbol(react.fragment), - }, - ], - Symbol(enzyme.__options__): Object { - "adapter": ReactSixteenAdapter { - "options": Object { - "enableComponentDidUpdateOnSetState": true, - "lifecycles": Object { - "componentDidUpdate": Object { - "onSetState": true, - }, - "getDerivedStateFromProps": true, - "getSnapshotBeforeUpdate": true, - "setState": Object { - "skipsComponentDidUpdateOnNullish": true, - }, - }, - }, - }, - }, -} -`; - -exports[`BasicAssertion shallow renders the Less assertion 1`] = ` -ShallowWrapper { - Symbol(enzyme.__root__): [Circular], - Symbol(enzyme.__unrendered__): , - Symbol(enzyme.__renderer__): Object { - "batchedUpdates": [Function], - "getNode": [Function], - "render": [Function], - "simulateError": [Function], - "simulateEvent": [Function], - "unmount": [Function], - }, - Symbol(enzyme.__node__): Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - -, - - -, - - - - Expected: - - - - - Value: - - -, - - - - - value - < - - 20 - - - - - - 10 - - -, - - - - -, - - -, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - Expected: - -, - - - Value: - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - Expected: -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Expected:", - }, - "ref": null, - "rendered": "Expected:", - "type": "strong", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - Value: -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Value:", - }, - "ref": null, - "rendered": "Value:", - "type": "strong", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - value - < - - 20 - - -, - - - 10 - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - value - < - - 20 - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - value - < - - 20 -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - "value ", - "<", - " ", - 20, - ], - }, - "ref": null, - "rendered": Array [ - "value ", - "<", - " ", - 20, - ], - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - 10 -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": 10, - }, - "ref": null, - "rendered": 10, - "type": "span", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - ], - "type": Symbol(react.fragment), - }, - Symbol(enzyme.__nodes__): Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - -, - - -, - - - - Expected: - - - - - Value: - - -, - - - - - value - < - - 20 - - - - - - 10 - - -, - - - - -, - - -, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - Expected: - -, - - - Value: - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - Expected: -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Expected:", - }, - "ref": null, - "rendered": "Expected:", - "type": "strong", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - Value: -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Value:", - }, - "ref": null, - "rendered": "Value:", - "type": "strong", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - value - < - - 20 - - -, - - - 10 - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - value - < - - 20 - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - value - < - - 20 -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - "value ", - "<", - " ", - 20, - ], - }, - "ref": null, - "rendered": Array [ - "value ", - "<", - " ", - 20, - ], - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - 10 -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": 10, - }, - "ref": null, - "rendered": 10, - "type": "span", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - ], - "type": Symbol(react.fragment), - }, - ], - Symbol(enzyme.__options__): Object { - "adapter": ReactSixteenAdapter { - "options": Object { - "enableComponentDidUpdateOnSetState": true, - "lifecycles": Object { - "componentDidUpdate": Object { - "onSetState": true, - }, - "getDerivedStateFromProps": true, - "getSnapshotBeforeUpdate": true, - "setState": Object { - "skipsComponentDidUpdateOnNullish": true, - }, - }, - }, - }, - }, -} -`; - -exports[`BasicAssertion shallow renders the LessEqual assertion 1`] = ` -ShallowWrapper { - Symbol(enzyme.__root__): [Circular], - Symbol(enzyme.__unrendered__): , - Symbol(enzyme.__renderer__): Object { - "batchedUpdates": [Function], - "getNode": [Function], - "render": [Function], - "simulateError": [Function], - "simulateEvent": [Function], - "unmount": [Function], - }, - Symbol(enzyme.__node__): Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - -, - - -, - - - - Expected: - - - - - Value: - - -, - - - - - value - <= - - 10 - - - - - - 10 - - -, - - - - -, - - -, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - Expected: - -, - - - Value: - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - Expected: -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Expected:", - }, - "ref": null, - "rendered": "Expected:", - "type": "strong", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - Value: -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Value:", - }, - "ref": null, - "rendered": "Value:", - "type": "strong", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - value - <= - - 10 - - -, - - - 10 - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - value - <= - - 10 - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - value - <= - - 10 -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - "value ", - "<=", - " ", - 10, - ], - }, - "ref": null, - "rendered": Array [ - "value ", - "<=", - " ", - 10, - ], - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - 10 -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": 10, - }, - "ref": null, - "rendered": 10, - "type": "span", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - ], - "type": Symbol(react.fragment), - }, - Symbol(enzyme.__nodes__): Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - -, - - -, - - - - Expected: - - - - - Value: - - -, - - - - - value - <= - - 10 - - - - - - 10 - - -, - - - - -, - - -, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - Expected: - -, - - - Value: - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - Expected: -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Expected:", - }, - "ref": null, - "rendered": "Expected:", - "type": "strong", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - Value: -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Value:", - }, - "ref": null, - "rendered": "Value:", - "type": "strong", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - value - <= - - 10 - - -, - - - 10 - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - value - <= - - 10 - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - value - <= - - 10 -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - "value ", - "<=", - " ", - 10, - ], - }, - "ref": null, - "rendered": Array [ - "value ", - "<=", - " ", - 10, - ], - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - 10 -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": 10, - }, - "ref": null, - "rendered": 10, - "type": "span", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - ], - "type": Symbol(react.fragment), - }, - ], - Symbol(enzyme.__options__): Object { - "adapter": ReactSixteenAdapter { - "options": Object { - "enableComponentDidUpdateOnSetState": true, - "lifecycles": Object { - "componentDidUpdate": Object { - "onSetState": true, - }, - "getDerivedStateFromProps": true, - "getSnapshotBeforeUpdate": true, - "setState": Object { - "skipsComponentDidUpdateOnNullish": true, - }, - }, - }, - }, - }, -} -`; - -exports[`BasicAssertion shallow renders the LineDiff assertion 1`] = ` -ShallowWrapper { - Symbol(enzyme.__root__): [Circular], - Symbol(enzyme.__unrendered__): , - Symbol(enzyme.__renderer__): Object { - "batchedUpdates": [Function], - "getNode": [Function], - "render": [Function], - "simulateError": [Function], - "simulateEvent": [Function], - "unmount": [Function], - }, - Symbol(enzyme.__node__): Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - -, - - -, - - - - - No differences. - - - - - - -, - - - - - - - - - - - -, - - - - -, - - -, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - No differences. - - -, - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - No differences. - -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - No differences. -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "No differences.", - }, - "ref": null, - "rendered": "No differences.", - "type": "span", - }, - "type": "strong", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - - - -, - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [], - }, - "ref": null, - "rendered": Array [], - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "span", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - ], - "type": Symbol(react.fragment), - }, - Symbol(enzyme.__nodes__): Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - -, - - -, - - - - - No differences. - - - - - - -, - - - - - - - - - - - -, - - - - -, - - -, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - No differences. - - -, - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - No differences. - -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - No differences. -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "No differences.", - }, - "ref": null, - "rendered": "No differences.", - "type": "span", - }, - "type": "strong", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - - - -, - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [], - }, - "ref": null, - "rendered": Array [], - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "span", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - ], - "type": Symbol(react.fragment), - }, - ], - Symbol(enzyme.__options__): Object { - "adapter": ReactSixteenAdapter { - "options": Object { - "enableComponentDidUpdateOnSetState": true, - "lifecycles": Object { - "componentDidUpdate": Object { - "onSetState": true, - }, - "getDerivedStateFromProps": true, - "getSnapshotBeforeUpdate": true, - "setState": Object { - "skipsComponentDidUpdateOnNullish": true, - }, - }, - }, - }, - }, -} -`; - -exports[`BasicAssertion shallow renders the Log assertion 1`] = ` -ShallowWrapper { - Symbol(enzyme.__root__): [Circular], - Symbol(enzyme.__unrendered__): , - Symbol(enzyme.__renderer__): Object { - "batchedUpdates": [Function], - "getNode": [Function], - "render": [Function], - "simulateError": [Function], - "simulateEvent": [Function], - "unmount": [Function], - }, - Symbol(enzyme.__node__): Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - -, - - - - This is a log message, it will be displayed along with other assertion details. - - -, - - - - - - - -, - - - - - - - -, - - - - -, - - -, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - This is a log message, it will be displayed along with other assertion details. - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - This is a log message, it will be displayed along with other assertion details. -, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "This is a log message, it will be displayed along with other assertion details.", - }, - "ref": null, - "rendered": "This is a log message, it will be displayed along with other assertion details.", - "type": "span", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - -, - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - -, - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": undefined, - }, - "ref": null, - "rendered": null, - "type": "span", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": undefined, - }, - "ref": null, - "rendered": null, - "type": "span", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - ], - "type": Symbol(react.fragment), - }, - Symbol(enzyme.__nodes__): Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - -, - - - - This is a log message, it will be displayed along with other assertion details. - - -, - - - - - - - -, - - - - - - - -, - - - - -, - - -, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - This is a log message, it will be displayed along with other assertion details. - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - This is a log message, it will be displayed along with other assertion details. -, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "This is a log message, it will be displayed along with other assertion details.", - }, - "ref": null, - "rendered": "This is a log message, it will be displayed along with other assertion details.", - "type": "span", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - -, - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - -, - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": undefined, - }, - "ref": null, - "rendered": null, - "type": "span", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": undefined, - }, - "ref": null, - "rendered": null, - "type": "span", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - ], - "type": Symbol(react.fragment), - }, - ], - Symbol(enzyme.__options__): Object { - "adapter": ReactSixteenAdapter { - "options": Object { - "enableComponentDidUpdateOnSetState": true, - "lifecycles": Object { - "componentDidUpdate": Object { - "onSetState": true, - }, - "getDerivedStateFromProps": true, - "getSnapshotBeforeUpdate": true, - "setState": Object { - "skipsComponentDidUpdateOnNullish": true, - }, - }, - }, - }, - }, -} -`; - -exports[`BasicAssertion shallow renders the NotContain assertion 1`] = ` -ShallowWrapper { - Symbol(enzyme.__root__): [Circular], - Symbol(enzyme.__unrendered__): , - Symbol(enzyme.__renderer__): Object { - "batchedUpdates": [Function], - "getNode": [Function], - "render": [Function], - "simulateError": [Function], - "simulateEvent": [Function], - "unmount": [Function], - }, - Symbol(enzyme.__node__): Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - -, - - -, - - - - Expected: - - - - - Value: - - -, - - - - - 10 - <not in> value - - - - - - - {'a': 1, 'b': 2} - - - -, - - - - -, - - -, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - Expected: - -, - - - Value: - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - Expected: -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Expected:", - }, - "ref": null, - "rendered": "Expected:", - "type": "strong", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - Value: -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Value:", - }, - "ref": null, - "rendered": "Value:", - "type": "strong", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - 10 - <not in> value - - -, - - - - {'a': 1, 'b': 2} - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - 10 - <not in> value - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - 10 - <not in> value -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - 10, - " value", - ], - }, - "ref": null, - "rendered": Array [ - 10, - " value", - ], - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - {'a': 1, 'b': 2} - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - {'a': 1, 'b': 2} -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "{'a': 1, 'b': 2}", - }, - "ref": null, - "rendered": "{'a': 1, 'b': 2}", - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - ], - "type": Symbol(react.fragment), - }, - Symbol(enzyme.__nodes__): Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - -, - - -, - - - - Expected: - - - - - Value: - - -, - - - - - 10 - <not in> value - - - - - - - {'a': 1, 'b': 2} - - - -, - - - - -, - - -, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - Expected: - -, - - - Value: - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - Expected: -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Expected:", - }, - "ref": null, - "rendered": "Expected:", - "type": "strong", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - Value: -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Value:", - }, - "ref": null, - "rendered": "Value:", - "type": "strong", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - 10 - <not in> value - - -, - - - - {'a': 1, 'b': 2} - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - 10 - <not in> value - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - 10 - <not in> value -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - 10, - " value", - ], - }, - "ref": null, - "rendered": Array [ - 10, - " value", - ], - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - {'a': 1, 'b': 2} - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - {'a': 1, 'b': 2} -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "{'a': 1, 'b': 2}", - }, - "ref": null, - "rendered": "{'a': 1, 'b': 2}", - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - ], - "type": Symbol(react.fragment), - }, - ], - Symbol(enzyme.__options__): Object { - "adapter": ReactSixteenAdapter { - "options": Object { - "enableComponentDidUpdateOnSetState": true, - "lifecycles": Object { - "componentDidUpdate": Object { - "onSetState": true, - }, - "getDerivedStateFromProps": true, - "getSnapshotBeforeUpdate": true, - "setState": Object { - "skipsComponentDidUpdateOnNullish": true, - }, - }, - }, - }, - }, -} -`; - -exports[`BasicAssertion shallow renders the NotEqual assertion 1`] = ` -ShallowWrapper { - Symbol(enzyme.__root__): [Circular], - Symbol(enzyme.__unrendered__): , - Symbol(enzyme.__renderer__): Object { - "batchedUpdates": [Function], - "getNode": [Function], - "render": [Function], - "simulateError": [Function], - "simulateEvent": [Function], - "unmount": [Function], - }, - Symbol(enzyme.__node__): Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - -, - - -, - - - - Expected: - - - - - Value: - - -, - - - - - <not> - bar - - - - - - foo - - -, - - - - -, - - -, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - Expected: - -, - - - Value: - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - Expected: -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Expected:", - }, - "ref": null, - "rendered": "Expected:", - "type": "strong", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - Value: -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Value:", - }, - "ref": null, - "rendered": "Value:", - "type": "strong", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - <not> - bar - - -, - - - foo - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - <not> - bar - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - <not> - bar -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - " ", - "bar", - ], - }, - "ref": null, - "rendered": Array [ - " ", - "bar", - ], - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - foo -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "foo", - }, - "ref": null, - "rendered": "foo", - "type": "span", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - ], - "type": Symbol(react.fragment), - }, - Symbol(enzyme.__nodes__): Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - -, - - -, - - - - Expected: - - - - - Value: - - -, - - - - - <not> - bar - - - - - - foo - - -, - - - - -, - - -, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - Expected: - -, - - - Value: - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - Expected: -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Expected:", - }, - "ref": null, - "rendered": "Expected:", - "type": "strong", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - Value: -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Value:", - }, - "ref": null, - "rendered": "Value:", - "type": "strong", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - <not> - bar - - -, - - - foo - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - <not> - bar - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - <not> - bar -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - " ", - "bar", - ], - }, - "ref": null, - "rendered": Array [ - " ", - "bar", - ], - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - foo -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "foo", - }, - "ref": null, - "rendered": "foo", - "type": "span", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - ], - "type": Symbol(react.fragment), - }, - ], - Symbol(enzyme.__options__): Object { - "adapter": ReactSixteenAdapter { - "options": Object { - "enableComponentDidUpdateOnSetState": true, - "lifecycles": Object { - "componentDidUpdate": Object { - "onSetState": true, - }, - "getDerivedStateFromProps": true, - "getSnapshotBeforeUpdate": true, - "setState": Object { - "skipsComponentDidUpdateOnNullish": true, - }, - }, - }, - }, - }, -} -`; - -exports[`BasicAssertion shallow renders the RegexFindIter assertion 1`] = ` -ShallowWrapper { - Symbol(enzyme.__root__): [Circular], - Symbol(enzyme.__unrendered__): ", - "condition_match": true, - "description": null, - "line_no": 243, - "machine_time": "2019-02-12T17:41:43.157637+00:00", - "match_indexes": Array [ - Array [ - 0, - 3, - ], - Array [ - 4, - 7, - ], - Array [ - 8, - 11, - ], - Array [ - 20, - 23, - ], - ], - "meta_type": "assertion", - "passed": true, - "pattern": "foo", - "string": "foo foo foo bar bar foo bar", - "type": "RegexFindIter", - "utc_time": "2019-02-12T17:41:43.157630+00:00", - } - } -/>, - Symbol(enzyme.__renderer__): Object { - "batchedUpdates": [Function], - "getNode": [Function], - "render": [Function], - "simulateError": [Function], - "simulateEvent": [Function], - "unmount": [Function], - }, - Symbol(enzyme.__node__): Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - -, - - -, - - - - - Pattern: - - - - - - - String: - - - -, - - - -
- - foo - - -
-
- - Condition: - -
- - <lambda> - -
-
-
-
- - - - - - - foo - - - - - - foo - - - - - - foo - - - bar bar - - - foo - - - bar - - - - -
, - - - - -, - - -, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - Pattern: - - -, - - - - String: - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - Pattern: - -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - Pattern: -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Pattern:", - }, - "ref": null, - "rendered": "Pattern:", - "type": "span", - }, - "type": "strong", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - String: - -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - String: -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "String:", - }, - "ref": null, - "rendered": "String:", - "type": "span", - }, - "type": "strong", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - -
- - foo - - -
-
- - Condition: - -
- - <lambda> - -
-
-
-
-, - - - - - - foo - - - - - - foo - - - - - - foo - - - bar bar - - - foo - - - bar - - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": -
- - foo - - -
-
- - Condition: - -
- - <lambda> - -
-
-
-
, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children":
- - foo - - -
-
- - Condition: - -
- - <lambda> - -
-
-
, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - - foo -, - -
-
- - Condition: - -
- - <lambda> - -
-
, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "foo", - }, - "ref": null, - "rendered": "foo", - "type": "span", - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children":
-
- - Condition: - -
- - <lambda> - -
, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ -
, - - Condition: -, -
, - - <lambda> -, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object {}, - "ref": null, - "rendered": null, - "type": "br", - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Condition:", - }, - "ref": null, - "rendered": "Condition:", - "type": "strong", - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object {}, - "ref": null, - "rendered": null, - "type": "br", - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "", - }, - "ref": null, - "rendered": "", - "type": "span", - }, - ], - "type": "div", - }, - "type": "span", - }, - ], - "type": "div", - }, - "type": "span", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - - - foo - - - - - - foo - - - - - - foo - - - bar bar - - - foo - - - bar - - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - - - foo - - - - - - foo - - - - - - foo - - - bar bar - - - foo - - - bar - -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - , - - foo -, - - -, - - foo -, - - -, - - foo -, - - bar bar -, - - foo -, - - bar -, - ], - "style": Object { - "whiteSpace": "pre", - }, - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": "-16494850670,30", - "nodeType": "host", - "props": Object { - "children": "", - }, - "ref": null, - "rendered": "", - "type": "span", - }, - Object { - "instance": null, - "key": "-16494850670,31", - "nodeType": "host", - "props": Object { - "children": "foo", - "style": Object { - "backgroundColor": "rgba(0, 123, 255, .5)", - }, - }, - "ref": null, - "rendered": "foo", - "type": "span", - }, - Object { - "instance": null, - "key": "-16494850674,70", - "nodeType": "host", - "props": Object { - "children": " ", - }, - "ref": null, - "rendered": " ", - "type": "span", - }, - Object { - "instance": null, - "key": "-16494850674,71", - "nodeType": "host", - "props": Object { - "children": "foo", - "style": Object { - "backgroundColor": "rgba(0, 123, 255, .5)", - }, - }, - "ref": null, - "rendered": "foo", - "type": "span", - }, - Object { - "instance": null, - "key": "-16494850678,110", - "nodeType": "host", - "props": Object { - "children": " ", - }, - "ref": null, - "rendered": " ", - "type": "span", - }, - Object { - "instance": null, - "key": "-16494850678,111", - "nodeType": "host", - "props": Object { - "children": "foo", - "style": Object { - "backgroundColor": "rgba(0, 123, 255, .5)", - }, - }, - "ref": null, - "rendered": "foo", - "type": "span", - }, - Object { - "instance": null, - "key": "-164948506720,230", - "nodeType": "host", - "props": Object { - "children": " bar bar ", - }, - "ref": null, - "rendered": " bar bar ", - "type": "span", - }, - Object { - "instance": null, - "key": "-164948506720,231", - "nodeType": "host", - "props": Object { - "children": "foo", - "style": Object { - "backgroundColor": "rgba(0, 123, 255, .5)", - }, - }, - "ref": null, - "rendered": "foo", - "type": "span", - }, - Object { - "instance": null, - "key": "-164948506723", - "nodeType": "host", - "props": Object { - "children": " bar", - }, - "ref": null, - "rendered": " bar", - "type": "span", - }, - ], - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - ], - "type": Symbol(react.fragment), - }, - Symbol(enzyme.__nodes__): Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - -, - - -, - - - - - Pattern: - - - - - - - String: - - - -, - - - -
- - foo - - -
-
- - Condition: - -
- - <lambda> - -
-
-
-
- - - - - - - foo - - - - - - foo - - - - - - foo - - - bar bar - - - foo - - - bar - - - - -
, - - - - -, - - -, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - Pattern: - - -, - - - - String: - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - Pattern: - -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - Pattern: -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Pattern:", - }, - "ref": null, - "rendered": "Pattern:", - "type": "span", - }, - "type": "strong", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - String: - -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - String: -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "String:", - }, - "ref": null, - "rendered": "String:", - "type": "span", - }, - "type": "strong", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - -
- - foo - - -
-
- - Condition: - -
- - <lambda> - -
-
-
-
-, - - - - - - foo - - - - - - foo - - - - - - foo - - - bar bar - - - foo - - - bar - - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": -
- - foo - - -
-
- - Condition: - -
- - <lambda> - -
-
-
-
, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children":
- - foo - - -
-
- - Condition: - -
- - <lambda> - -
-
-
, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - - foo -, - -
-
- - Condition: - -
- - <lambda> - -
-
, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "foo", - }, - "ref": null, - "rendered": "foo", - "type": "span", - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children":
-
- - Condition: - -
- - <lambda> - -
, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ -
, - - Condition: -, -
, - - <lambda> -, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object {}, - "ref": null, - "rendered": null, - "type": "br", - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Condition:", - }, - "ref": null, - "rendered": "Condition:", - "type": "strong", - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object {}, - "ref": null, - "rendered": null, - "type": "br", - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "", - }, - "ref": null, - "rendered": "", - "type": "span", - }, - ], - "type": "div", - }, - "type": "span", - }, - ], - "type": "div", - }, - "type": "span", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - - - foo - - - - - - foo - - - - - - foo - - - bar bar - - - foo - - - bar - - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - - - foo - - - - - - foo - - - - - - foo - - - bar bar - - - foo - - - bar - -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - , - - foo -, - - -, - - foo -, - - -, - - foo -, - - bar bar -, - - foo -, - - bar -, - ], - "style": Object { - "whiteSpace": "pre", - }, - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": "-16494850670,30", - "nodeType": "host", - "props": Object { - "children": "", - }, - "ref": null, - "rendered": "", - "type": "span", - }, - Object { - "instance": null, - "key": "-16494850670,31", - "nodeType": "host", - "props": Object { - "children": "foo", - "style": Object { - "backgroundColor": "rgba(0, 123, 255, .5)", - }, - }, - "ref": null, - "rendered": "foo", - "type": "span", - }, - Object { - "instance": null, - "key": "-16494850674,70", - "nodeType": "host", - "props": Object { - "children": " ", - }, - "ref": null, - "rendered": " ", - "type": "span", - }, - Object { - "instance": null, - "key": "-16494850674,71", - "nodeType": "host", - "props": Object { - "children": "foo", - "style": Object { - "backgroundColor": "rgba(0, 123, 255, .5)", - }, - }, - "ref": null, - "rendered": "foo", - "type": "span", - }, - Object { - "instance": null, - "key": "-16494850678,110", - "nodeType": "host", - "props": Object { - "children": " ", - }, - "ref": null, - "rendered": " ", - "type": "span", - }, - Object { - "instance": null, - "key": "-16494850678,111", - "nodeType": "host", - "props": Object { - "children": "foo", - "style": Object { - "backgroundColor": "rgba(0, 123, 255, .5)", - }, - }, - "ref": null, - "rendered": "foo", - "type": "span", - }, - Object { - "instance": null, - "key": "-164948506720,230", - "nodeType": "host", - "props": Object { - "children": " bar bar ", - }, - "ref": null, - "rendered": " bar bar ", - "type": "span", - }, - Object { - "instance": null, - "key": "-164948506720,231", - "nodeType": "host", - "props": Object { - "children": "foo", - "style": Object { - "backgroundColor": "rgba(0, 123, 255, .5)", - }, - }, - "ref": null, - "rendered": "foo", - "type": "span", - }, - Object { - "instance": null, - "key": "-164948506723", - "nodeType": "host", - "props": Object { - "children": " bar", - }, - "ref": null, - "rendered": " bar", - "type": "span", - }, - ], - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": + foo + + + bar bar + + , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - ], - "type": Symbol(react.fragment), - }, - ], - Symbol(enzyme.__options__): Object { - "adapter": ReactSixteenAdapter { - "options": Object { - "enableComponentDidUpdateOnSetState": true, - "lifecycles": Object { - "componentDidUpdate": Object { - "onSetState": true, - }, - "getDerivedStateFromProps": true, - "getSnapshotBeforeUpdate": true, - "setState": Object { - "skipsComponentDidUpdateOnNullish": true, - }, - }, - }, - }, - }, -} + } + > + foo + + + bar + + + + +
+ + + + + + + + +
`; exports[`BasicAssertion shallow renders the RegexMatch assertion 1`] = ` -ShallowWrapper { - Symbol(enzyme.__root__): [Circular], - Symbol(enzyme.__unrendered__): + + + + + + + + + + + + + Pattern: + + + + + + + String: + + + + + + + +
+ + foo + + +
+
+ + + + , - Symbol(enzyme.__renderer__): Object { - "batchedUpdates": [Function], - "getNode": [Function], - "render": [Function], - "simulateError": [Function], - "simulateEvent": [Function], - "unmount": [Function], - }, - Symbol(enzyme.__node__): Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - -, - - -, - - - - - Pattern: - - - - - - - String: - - - -, - - - -
- - foo - - -
-
- - - - - - - foo - - - bar - - - - -
, - - - - -, - - + -, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - Pattern: - - -, - - - - String: - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - Pattern: - -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - Pattern: -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Pattern:", - }, - "ref": null, - "rendered": "Pattern:", - "type": "span", - }, - "type": "strong", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - String: - -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - String: -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "String:", - }, - "ref": null, - "rendered": "String:", - "type": "span", - }, - "type": "strong", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - -
- - foo - - -
-
-, - - - - - - foo - - - bar - - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": -
- - foo - - -
-
, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children":
- - foo - - -
, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - - foo -, - , - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "foo", - }, - "ref": null, - "rendered": "foo", - "type": "span", - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": undefined, - }, - "ref": null, - "rendered": null, - "type": "span", - }, - ], - "type": "div", - }, - "type": "span", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - - - foo - - - bar - - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - - - foo - - - bar - -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - , - - foo -, - - bar -, - ], - "style": Object { - "whiteSpace": "pre", - }, - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": "-19797186360,30", - "nodeType": "host", - "props": Object { - "children": "", - }, - "ref": null, - "rendered": "", - "type": "span", - }, - Object { - "instance": null, - "key": "-19797186360,31", - "nodeType": "host", - "props": Object { - "children": "foo", - "style": Object { - "backgroundColor": "rgba(0, 123, 255, .5)", - }, - }, - "ref": null, - "rendered": "foo", - "type": "span", - }, - Object { - "instance": null, - "key": "-19797186363", - "nodeType": "host", - "props": Object { - "children": "bar", - }, - "ref": null, - "rendered": "bar", - "type": "span", - }, - ], - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - ], - "type": Symbol(react.fragment), - }, - Symbol(enzyme.__nodes__): Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - -, - - -, - - - - - Pattern: - - - - - - - String: - - - -, - - - -
- - foo - - -
-
- - - - - - - foo - - - bar - - - - -
, - - - - -, - - -, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - Pattern: - - -, - - - - String: - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - Pattern: - -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - Pattern: -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Pattern:", - }, - "ref": null, - "rendered": "Pattern:", - "type": "span", - }, - "type": "strong", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - String: - -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - String: -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "String:", - }, - "ref": null, - "rendered": "String:", - "type": "span", - }, - "type": "strong", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - -
- - foo - - -
-
-, - - - - - - foo - - - bar - - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": -
- - foo - - -
-
, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children":
- - foo - - -
, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - - foo -, - , - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "foo", - }, - "ref": null, - "rendered": "foo", - "type": "span", - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": undefined, - }, - "ref": null, - "rendered": null, - "type": "span", - }, - ], - "type": "div", - }, - "type": "span", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - - - foo - - - bar - - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - - - foo - - - bar - -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - , - - foo -, - - bar -, - ], - "style": Object { - "whiteSpace": "pre", - }, - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": "-19797186360,30", - "nodeType": "host", - "props": Object { - "children": "", - }, - "ref": null, - "rendered": "", - "type": "span", - }, - Object { - "instance": null, - "key": "-19797186360,31", - "nodeType": "host", - "props": Object { - "children": "foo", - "style": Object { - "backgroundColor": "rgba(0, 123, 255, .5)", - }, - }, - "ref": null, - "rendered": "foo", - "type": "span", - }, - Object { - "instance": null, - "key": "-19797186363", - "nodeType": "host", - "props": Object { - "children": "bar", - }, - "ref": null, - "rendered": "bar", - "type": "span", - }, - ], - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - ], - "type": Symbol(react.fragment), - }, - ], - Symbol(enzyme.__options__): Object { - "adapter": ReactSixteenAdapter { - "options": Object { - "enableComponentDidUpdateOnSetState": true, - "lifecycles": Object { - "componentDidUpdate": Object { - "onSetState": true, - }, - "getDerivedStateFromProps": true, - "getSnapshotBeforeUpdate": true, - "setState": Object { - "skipsComponentDidUpdateOnNullish": true, - }, - }, - }, - }, - }, -} + > + foo + + + bar + + + + +
+ + + + + + + + + `; exports[`BasicAssertion shallow renders the RegexMatchLine assertion 1`] = ` -ShallowWrapper { - Symbol(enzyme.__root__): [Circular], - Symbol(enzyme.__unrendered__): , - Symbol(enzyme.__renderer__): Object { - "batchedUpdates": [Function], - "getNode": [Function], - "render": [Function], - "simulateError": [Function], - "simulateEvent": [Function], - "unmount": [Function], - }, - Symbol(enzyme.__node__): Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - -, - - -, - - - - - Pattern: - - - - - - - String: - - - -, - - - - - \\w+ line$ - - - - - - - - first line - - - - second line - - - - third line - - - - - -, - - - - -, - - -, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": + + + + + + + + + + + + + Pattern: + + + + + + + String: + + + + + + + + + \\w+ line$ + + + + + + , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - Pattern: - - -, - - - - String: - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - Pattern: - -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - Pattern: -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Pattern:", - }, - "ref": null, - "rendered": "Pattern:", - "type": "span", - }, - "type": "strong", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - String: - -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - String: -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "String:", - }, - "ref": null, - "rendered": "String:", - "type": "span", - }, - "type": "strong", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - \\w+ line$ - - -, - + - - - - first line - - - - second line - - - - third line - - - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - \\w+ line$ - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - \\w+ line$ -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "\\\\w+ line$", - }, - "ref": null, - "rendered": "\\\\w+ line$", - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - - first line - - - - second line - - - - third line - - - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - - first line - - - - second line - - - - third line - - -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - - first line - -, - - second line - -, - - third line - -, - ], - "style": Object { - "whiteSpace": "pre", - }, - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": "18983554700,0,10", - "nodeType": "host", - "props": Object { - "children": "first line -", - "style": Object { - "backgroundColor": "rgba(0, 123, 255, .5)", - }, - }, - "ref": null, - "rendered": "first line -", - "type": "span", - }, - Object { - "instance": null, - "key": "18983554701,0,11", - "nodeType": "host", - "props": Object { - "children": "second line -", - "style": Object { - "backgroundColor": "rgba(0, 123, 255, .5)", - }, - }, - "ref": null, - "rendered": "second line -", - "type": "span", - }, - Object { - "instance": null, - "key": "18983554702,0,10", - "nodeType": "host", - "props": Object { - "children": "third line -", - "style": Object { - "backgroundColor": "rgba(0, 123, 255, .5)", - }, - }, - "ref": null, - "rendered": "third line -", - "type": "span", - }, - ], - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - ], - "type": Symbol(react.fragment), - }, - Symbol(enzyme.__nodes__): Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - -, - - -, - - - - - Pattern: - - - - - - - String: - - - -, - - - - - \\w+ line$ - - - - - - - - first line - - - - second line - - - - third line - - - - - -, - - - - -, - - -, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - Pattern: - - -, - - - - String: - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - Pattern: - -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - Pattern: -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Pattern:", - }, - "ref": null, - "rendered": "Pattern:", - "type": "span", - }, - "type": "strong", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - String: - -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - String: -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "String:", - }, - "ref": null, - "rendered": "String:", - "type": "span", - }, - "type": "strong", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - \\w+ line$ - - -, - - - - - first line - - - - second line - - - - third line - - - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - \\w+ line$ - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - \\w+ line$ -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "\\\\w+ line$", - }, - "ref": null, - "rendered": "\\\\w+ line$", - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - - first line - - - - second line - - - - third line - - - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - - first line - - - - second line - - - - third line - - -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - - first line - -, - - second line - -, - - third line - -, - ], - "style": Object { - "whiteSpace": "pre", - }, - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": "18983554700,0,10", - "nodeType": "host", - "props": Object { - "children": "first line -", - "style": Object { - "backgroundColor": "rgba(0, 123, 255, .5)", - }, - }, - "ref": null, - "rendered": "first line -", - "type": "span", - }, - Object { - "instance": null, - "key": "18983554701,0,11", - "nodeType": "host", - "props": Object { - "children": "second line -", - "style": Object { - "backgroundColor": "rgba(0, 123, 255, .5)", - }, - }, - "ref": null, - "rendered": "second line -", - "type": "span", - }, - Object { - "instance": null, - "key": "18983554702,0,10", - "nodeType": "host", - "props": Object { - "children": "third line -", - "style": Object { - "backgroundColor": "rgba(0, 123, 255, .5)", - }, - }, - "ref": null, - "rendered": "third line -", - "type": "span", - }, - ], - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": + first line + + + - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": + second line + + + , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - ], - "type": Symbol(react.fragment), - }, - ], - Symbol(enzyme.__options__): Object { - "adapter": ReactSixteenAdapter { - "options": Object { - "enableComponentDidUpdateOnSetState": true, - "lifecycles": Object { - "componentDidUpdate": Object { - "onSetState": true, - }, - "getDerivedStateFromProps": true, - "getSnapshotBeforeUpdate": true, - "setState": Object { - "skipsComponentDidUpdateOnNullish": true, - }, - }, - }, - }, - }, -} + } + > + third line + + + + + + + + + + + + + + + `; exports[`BasicAssertion shallow renders the RegexMatchNotExists assertion 1`] = ` -ShallowWrapper { - Symbol(enzyme.__root__): [Circular], - Symbol(enzyme.__unrendered__): , - Symbol(enzyme.__renderer__): Object { - "batchedUpdates": [Function], - "getNode": [Function], - "render": [Function], - "simulateError": [Function], - "simulateEvent": [Function], - "unmount": [Function], - }, - Symbol(enzyme.__node__): Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - -, - - -, - - - - - Pattern: - - - - - - - String: - - - -, - - - -
- - baz - - -
-
- - - - - - foobar - - - - -
, - - - - -, - - -, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - Pattern: - - -, - - - - String: - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - Pattern: - -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - Pattern: -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Pattern:", - }, - "ref": null, - "rendered": "Pattern:", - "type": "span", - }, - "type": "strong", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - String: - -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - String: -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "String:", - }, - "ref": null, - "rendered": "String:", - "type": "span", - }, - "type": "strong", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - -
- - baz - - -
-
-, - - - - - foobar - - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": -
- - baz - - -
-
, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children":
- - baz - - -
, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - - baz -, - , - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "baz", - }, - "ref": null, - "rendered": "baz", - "type": "span", - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": undefined, - }, - "ref": null, - "rendered": null, - "type": "span", - }, - ], - "type": "div", - }, - "type": "span", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - - foobar - - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - - foobar - -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - - foobar -, - ], - "style": Object { - "whiteSpace": "pre", - }, - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": "-13621270830", - "nodeType": "host", - "props": Object { - "children": "foobar", - }, - "ref": null, - "rendered": "foobar", - "type": "span", - }, - ], - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - ], - "type": Symbol(react.fragment), - }, - Symbol(enzyme.__nodes__): Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - -, - - -, - - - - - Pattern: - - - - - - - String: - - - -, - - - -
- - baz - - -
-
- - - - - - foobar - - - - -
, - - - - -, - - -, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - Pattern: - - -, - - - - String: - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ + + + + + + + + + + + + + + Pattern: + + + + + + + String: + + + + + + + +
+ + baz + + +
+
+ + + + - - Pattern: - -
, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - Pattern: -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Pattern:", - }, - "ref": null, - "rendered": "Pattern:", - "type": "span", - }, - "type": "strong", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - String: - -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - String: -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "String:", - }, - "ref": null, - "rendered": "String:", - "type": "span", - }, - "type": "strong", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - -
- - baz - - -
-
-, - - - - - foobar - - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": -
- - baz - - -
-
, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children":
- - baz - - -
, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - - baz -, - , - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "baz", - }, - "ref": null, - "rendered": "baz", - "type": "span", - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": undefined, - }, - "ref": null, - "rendered": null, - "type": "span", - }, - ], - "type": "div", - }, - "type": "span", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - - foobar - - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - - foobar - -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - - foobar -, - ], - "style": Object { - "whiteSpace": "pre", - }, - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": "-13621270830", - "nodeType": "host", - "props": Object { - "children": "foobar", - }, - "ref": null, - "rendered": "foobar", - "type": "span", - }, - ], - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - ], - "type": Symbol(react.fragment), - }, - ], - Symbol(enzyme.__options__): Object { - "adapter": ReactSixteenAdapter { - "options": Object { - "enableComponentDidUpdateOnSetState": true, - "lifecycles": Object { - "componentDidUpdate": Object { - "onSetState": true, - }, - "getDerivedStateFromProps": true, - "getSnapshotBeforeUpdate": true, - "setState": Object { - "skipsComponentDidUpdateOnNullish": true, - }, - }, - }, - }, - }, -} + "whiteSpace": "pre", + } + } + > + + foobar + + +
+ + + + + + + + + + + `; exports[`BasicAssertion shallow renders the RegexSearch assertion 1`] = ` -ShallowWrapper { - Symbol(enzyme.__root__): [Circular], - Symbol(enzyme.__unrendered__): + + + + + + + + + + + + + Pattern: + + + + + + + String: + + + + + + + +
+ + second + + +
+
+ + + + , - Symbol(enzyme.__renderer__): Object { - "batchedUpdates": [Function], - "getNode": [Function], - "render": [Function], - "simulateError": [Function], - "simulateEvent": [Function], - "unmount": [Function], - }, - Symbol(enzyme.__node__): Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - -, - - -, - - - - - Pattern: - - - - + - - - String: - - - -, - - - -
- - second - - -
-
- - - - - - first line - - - - second - - - line - third line - - - - -
, - - - - -, - - -, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - Pattern: - - -, - - - - String: - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - Pattern: - -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - Pattern: -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Pattern:", - }, - "ref": null, - "rendered": "Pattern:", - "type": "span", - }, - "type": "strong", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - String: - -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - String: -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "String:", - }, - "ref": null, - "rendered": "String:", - "type": "span", - }, - "type": "strong", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - -
- - second - - -
-
-, - + - - - - first line - - - - second - - - line - third line - - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": -
- - second - - -
-
, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children":
- - second - - -
, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - - second -, - , - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "second", - }, - "ref": null, - "rendered": "second", - "type": "span", - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": undefined, - }, - "ref": null, - "rendered": null, - "type": "span", - }, - ], - "type": "div", - }, - "type": "span", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - - first line - - - - second - - - line - third line - - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - - first line - - - - second - - - line - third line - -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - - first line - -, - - second -, - - line - third line -, - ], - "style": Object { - "whiteSpace": "pre", - }, - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": "-173699572811,170", - "nodeType": "host", - "props": Object { - "children": "first line -", - }, - "ref": null, - "rendered": "first line -", - "type": "span", - }, - Object { - "instance": null, - "key": "-173699572811,171", - "nodeType": "host", - "props": Object { - "children": "second", - "style": Object { - "backgroundColor": "rgba(0, 123, 255, .5)", - }, - }, - "ref": null, - "rendered": "second", - "type": "span", - }, - Object { - "instance": null, - "key": "-173699572817", - "nodeType": "host", - "props": Object { - "children": " line -third line", - }, - "ref": null, - "rendered": " line -third line", - "type": "span", - }, - ], - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - ], - "type": Symbol(react.fragment), - }, - Symbol(enzyme.__nodes__): Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - -, - - -, - - - - - Pattern: - - - - - - - String: - - - -, - - - -
- - second - - -
-
- - - - - - first line - - - - second - - - line - third line - - - - -
, - - - - -, - - -, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - Pattern: - - -, - - - - String: - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - Pattern: - -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - Pattern: -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Pattern:", - }, - "ref": null, - "rendered": "Pattern:", - "type": "span", - }, - "type": "strong", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - String: - -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - String: -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "String:", - }, - "ref": null, - "rendered": "String:", - "type": "span", - }, - "type": "strong", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - -
- - second - - -
-
-, - - - - - first line - - - - second - - - line - third line - - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": -
- - second - - -
-
, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children":
- - second - - -
, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - - second -, - , - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "second", - }, - "ref": null, - "rendered": "second", - "type": "span", - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": undefined, - }, - "ref": null, - "rendered": null, - "type": "span", - }, - ], - "type": "div", - }, - "type": "span", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - - first line - - - - second - - - line - third line - - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - - first line - - - - second - - - line - third line - -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - - first line - -, - - second -, - - line - third line -, - ], - "style": Object { - "whiteSpace": "pre", - }, - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": "-173699572811,170", - "nodeType": "host", - "props": Object { - "children": "first line -", - }, - "ref": null, - "rendered": "first line -", - "type": "span", - }, - Object { - "instance": null, - "key": "-173699572811,171", - "nodeType": "host", - "props": Object { - "children": "second", - "style": Object { - "backgroundColor": "rgba(0, 123, 255, .5)", - }, - }, - "ref": null, - "rendered": "second", - "type": "span", - }, - Object { - "instance": null, - "key": "-173699572817", - "nodeType": "host", - "props": Object { - "children": " line -third line", - }, - "ref": null, - "rendered": " line -third line", - "type": "span", - }, - ], - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - ], - "type": Symbol(react.fragment), - }, - ], - Symbol(enzyme.__options__): Object { - "adapter": ReactSixteenAdapter { - "options": Object { - "enableComponentDidUpdateOnSetState": true, - "lifecycles": Object { - "componentDidUpdate": Object { - "onSetState": true, - }, - "getDerivedStateFromProps": true, - "getSnapshotBeforeUpdate": true, - "setState": Object { - "skipsComponentDidUpdateOnNullish": true, - }, - }, - }, - }, - }, -} + > + second + + + line +third line + +
+
+ +
+ + + + + + + + + `; exports[`BasicAssertion shallow renders the RegexSearchNotExists assertion 1`] = ` -ShallowWrapper { - Symbol(enzyme.__root__): [Circular], - Symbol(enzyme.__unrendered__): + + + + + + + + + + + + + Pattern: + + + + + + + String: + + + + + + + +
+ + foobar + + +
+
+ + + + , - Symbol(enzyme.__renderer__): Object { - "batchedUpdates": [Function], - "getNode": [Function], - "render": [Function], - "simulateError": [Function], - "simulateEvent": [Function], - "unmount": [Function], - }, - Symbol(enzyme.__node__): Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - -, - - -, - - - - - Pattern: - - - - - - - String: - - - -, - - - -
- - foobar - - -
-
- - + - - - - first line - second line - third line - - - - -
, - - - - -, - - -, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - Pattern: - - -, - - - - String: - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - Pattern: - -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - Pattern: -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Pattern:", - }, - "ref": null, - "rendered": "Pattern:", - "type": "span", - }, - "type": "strong", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - String: - -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - String: -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "String:", - }, - "ref": null, - "rendered": "String:", - "type": "span", - }, - "type": "strong", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - -
- - foobar - - -
-
-, - - - - - first line - second line - third line - - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": -
- - foobar - - -
-
, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children":
- - foobar - - -
, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - - foobar -, - , - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "foobar", - }, - "ref": null, - "rendered": "foobar", - "type": "span", - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": undefined, - }, - "ref": null, - "rendered": null, - "type": "span", - }, - ], - "type": "div", - }, - "type": "span", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - - first line - second line - third line - - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - - first line - second line - third line - -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - - first line - second line - third line -, - ], - "style": Object { - "whiteSpace": "pre", - }, - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": "-2053333250", - "nodeType": "host", - "props": Object { - "children": "first line -second line -third line", - }, - "ref": null, - "rendered": "first line -second line -third line", - "type": "span", - }, - ], - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - ], - "type": Symbol(react.fragment), - }, - Symbol(enzyme.__nodes__): Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - -, - - -, - - - - - Pattern: - - - - - - - String: - - - -, - - - -
- - foobar - - -
-
- - - - - - first line - second line - third line - - - - -
, - - - - -, - - -, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - Pattern: - - -, - - - - String: - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - Pattern: - -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - Pattern: -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Pattern:", - }, - "ref": null, - "rendered": "Pattern:", - "type": "span", - }, - "type": "strong", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - String: - -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - String: -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "String:", - }, - "ref": null, - "rendered": "String:", - "type": "span", - }, - "type": "strong", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - -
- - foobar - - -
-
-, - - - - - first line - second line - third line - - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": -
- - foobar - - -
-
, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children":
- - foobar - - -
, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - - foobar -, - , - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "foobar", - }, - "ref": null, - "rendered": "foobar", - "type": "span", - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": undefined, - }, - "ref": null, - "rendered": null, - "type": "span", - }, - ], - "type": "div", - }, - "type": "span", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - - first line - second line - third line - - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - - first line - second line - third line - -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - - first line - second line - third line -, - ], - "style": Object { - "whiteSpace": "pre", - }, - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": "-2053333250", - "nodeType": "host", - "props": Object { - "children": "first line + first line second line -third line", - }, - "ref": null, - "rendered": "first line -second line -third line", - "type": "span", - }, - ], - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - ], - "type": Symbol(react.fragment), - }, - ], - Symbol(enzyme.__options__): Object { - "adapter": ReactSixteenAdapter { - "options": Object { - "enableComponentDidUpdateOnSetState": true, - "lifecycles": Object { - "componentDidUpdate": Object { - "onSetState": true, - }, - "getDerivedStateFromProps": true, - "getSnapshotBeforeUpdate": true, - "setState": Object { - "skipsComponentDidUpdateOnNullish": true, - }, - }, - }, - }, - }, -} +third line + +
+
+ +
+ + + + + + + + + `; exports[`BasicAssertion shallow renders the XMLCheck assertion 1`] = ` -ShallowWrapper { - Symbol(enzyme.__root__): [Circular], - Symbol(enzyme.__unrendered__): - Foo - - ", - "xpath": "/Root/Test", - } - } -/>, - Symbol(enzyme.__renderer__): Object { - "batchedUpdates": [Function], - "getNode": [Function], - "render": [Function], - "simulateError": [Function], - "simulateEvent": [Function], - "unmount": [Function], - }, - Symbol(enzyme.__node__): Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - -, - - -, - - - - - Expected XPath: - - - - - - - XML: - - - -, - - - - - /Root/Test - - - - - - - <Root> - <Test>Foo</Test> - </Root> - - - - -, - - - - -, - - -, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - Expected XPath: - - -, - - - - XML: - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - Expected XPath: - -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - Expected XPath: -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Expected XPath:", - }, - "ref": null, - "rendered": "Expected XPath:", - "type": "span", - }, - "type": "strong", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - XML: - -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - XML: -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "XML:", - }, - "ref": null, - "rendered": "XML:", - "type": "span", - }, - "type": "strong", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - /Root/Test - - -, - - - - <Root> - <Test>Foo</Test> - </Root> - - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - /Root/Test - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - /Root/Test -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "/Root/Test", - }, - "ref": null, - "rendered": "/Root/Test", - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - <Root> - <Test>Foo</Test> - </Root> - - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - <Root> - <Test>Foo</Test> - </Root> - -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": " - Foo - -", - "style": Object { - "whiteSpace": "pre", - }, - }, - "ref": null, - "rendered": " - Foo - -", - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - ], - "type": Symbol(react.fragment), - }, - Symbol(enzyme.__nodes__): Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - -, - - -, - - - - - Expected XPath: - - - - - - - XML: - - - -, - - - - - /Root/Test - - - - - - - <Root> - <Test>Foo</Test> - </Root> - - - - -, - - - - -, - - -, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - Expected XPath: - - -, - - - - XML: - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ + + + + + + + + + + + + + + Expected XPath: + + + + + + + XML: + + + + + + + + + /Root/Test + + + + + + - - Expected XPath: - -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - Expected XPath: -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "Expected XPath:", - }, - "ref": null, - "rendered": "Expected XPath:", - "type": "span", - }, - "type": "strong", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - XML: - -, - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - XML: -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "XML:", - }, - "ref": null, - "rendered": "XML:", - "type": "span", - }, - "type": "strong", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - - - /Root/Test - - -, - - - - <Root> - <Test>Foo</Test> - </Root> - - - -, - ], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - /Root/Test - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - /Root/Test -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "/Root/Test", - }, - "ref": null, - "rendered": "/Root/Test", - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - - <Root> - <Test>Foo</Test> - </Root> - - -, - "className": "contentSpan_12mhtst", - "lg": "6", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - <Root> - <Test>Foo</Test> - </Root> - -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": " - Foo - -", - "style": Object { - "whiteSpace": "pre", - }, - }, - "ref": null, - "rendered": " - Foo - -", - "type": "span", - }, - "type": "span", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": null, - "className": "contentSpan_12mhtst", - "lg": "12", - "tag": "div", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - ], - "type": Symbol(react.fragment), - }, - ], - Symbol(enzyme.__options__): Object { - "adapter": ReactSixteenAdapter { - "options": Object { - "enableComponentDidUpdateOnSetState": true, - "lifecycles": Object { - "componentDidUpdate": Object { - "onSetState": true, - }, - "getDerivedStateFromProps": true, - "getSnapshotBeforeUpdate": true, - "setState": Object { - "skipsComponentDidUpdateOnNullish": true, - }, - }, - }, - }, - }, -} + "whiteSpace": "pre", + } + } + > + <Root> + <Test>Foo</Test> +</Root> + +
+
+ + + + + + + + + + + `; diff --git a/testplan/web_ui/testing/src/AssertionPane/AssertionTypes/__tests__/__snapshots__/NotImplementedAssertion.test.js.snap b/testplan/web_ui/testing/src/AssertionPane/AssertionTypes/__tests__/__snapshots__/NotImplementedAssertion.test.js.snap index 367f314db..6312ac65c 100644 --- a/testplan/web_ui/testing/src/AssertionPane/AssertionTypes/__tests__/__snapshots__/NotImplementedAssertion.test.js.snap +++ b/testplan/web_ui/testing/src/AssertionPane/AssertionTypes/__tests__/__snapshots__/NotImplementedAssertion.test.js.snap @@ -1,197 +1,30 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`NotImplementedAssertion shallow renders the correct HTML structure 1`] = ` -ShallowWrapper { - Symbol(enzyme.__root__): [Circular], - Symbol(enzyme.__unrendered__): , - Symbol(enzyme.__renderer__): Object { - "batchedUpdates": [Function], - "getNode": [Function], - "render": [Function], - "simulateError": [Function], - "simulateEvent": [Function], - "unmount": [Function], - }, - Symbol(enzyme.__node__): Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - , - "Currently there is no rendering mechanism for this type of assertion. Please contact ", - - the developers -, - " if you would like to have it implemented.", - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": "faFrown", - "nodeType": "function", - "props": Object { - "border": false, - "className": "icon_1tijhm4", - "fixedWidth": false, - "flip": null, - "icon": "frown", - "inverse": false, - "listItem": false, - "mask": null, - "pull": null, - "pulse": false, - "rotation": null, - "size": "lg", - "spin": false, - "symbol": false, - "title": "", - "transform": null, - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "Currently there is no rendering mechanism for this type of assertion. Please contact ", - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "the developers", - }, - "ref": null, - "rendered": "the developers", - "type": "strong", - }, - " if you would like to have it implemented.", - ], - "type": Symbol(react.fragment), - }, - Symbol(enzyme.__nodes__): Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - , - "Currently there is no rendering mechanism for this type of assertion. Please contact ", - - the developers -, - " if you would like to have it implemented.", - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": "faFrown", - "nodeType": "function", - "props": Object { - "border": false, - "className": "icon_1tijhm4", - "fixedWidth": false, - "flip": null, - "icon": "frown", - "inverse": false, - "listItem": false, - "mask": null, - "pull": null, - "pulse": false, - "rotation": null, - "size": "lg", - "spin": false, - "symbol": false, - "title": "", - "transform": null, - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "Currently there is no rendering mechanism for this type of assertion. Please contact ", - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "the developers", - }, - "ref": null, - "rendered": "the developers", - "type": "strong", - }, - " if you would like to have it implemented.", - ], - "type": Symbol(react.fragment), - }, - ], - Symbol(enzyme.__options__): Object { - "adapter": ReactSixteenAdapter { - "options": Object { - "enableComponentDidUpdateOnSetState": true, - "lifecycles": Object { - "componentDidUpdate": Object { - "onSetState": true, - }, - "getDerivedStateFromProps": true, - "getSnapshotBeforeUpdate": true, - "setState": Object { - "skipsComponentDidUpdateOnNullish": true, - }, - }, - }, - }, - }, -} + + + Currently there is no rendering mechanism for this type of assertion. Please contact + + the developers + + if you would like to have it implemented. + `; diff --git a/testplan/web_ui/testing/src/AssertionPane/__tests__/__snapshots__/Assertion.test.js.snap b/testplan/web_ui/testing/src/AssertionPane/__tests__/__snapshots__/Assertion.test.js.snap index 55546bc08..60a68d675 100644 --- a/testplan/web_ui/testing/src/AssertionPane/__tests__/__snapshots__/Assertion.test.js.snap +++ b/testplan/web_ui/testing/src/AssertionPane/__tests__/__snapshots__/Assertion.test.js.snap @@ -1,119 +1,59 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`Assertion shallow renders the correct HTML structure 1`] = ` -ShallowWrapper { - Symbol(enzyme.__root__): [Circular], - Symbol(enzyme.__unrendered__): + , - Symbol(enzyme.__renderer__): Object { - "batchedUpdates": [Function], - "getNode": [Function], - "render": [Function], - "simulateError": [Function], - "simulateEvent": [Function], - "unmount": [Function], - }, - Symbol(enzyme.__node__): Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - , - - - - -, - ], - "className": "card_10lpuz2", - "tag": "div", - }, - "ref": null, - "rendered": Array [ + onClick={[Function]} + /> + + + - -, - "className": "collapseDiv_1cips5t", - "enter": true, - "exit": true, - "in": false, - "isOpen": true, - "mountOnEnter": false, - "onEnter": [Function], - "onEntered": [Function], - "onEntering": [Function], - "onExit": [Function], - "onExited": [Function], - "onExiting": [Function], - "style": Object { - "paddingRight": "1.25rem", - }, - "tag": "div", - "timeout": 350, - "unmountOnExit": false, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "className": "assertionCardBody_1t2a0td", - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "assertion": Object { - "category": "DEFAULT", - "description": null, - "first": "foo", - "label": "==", - "line_no": 25, - "machine_time": "2019-02-12T17:41:42.795536+00:00", - "meta_type": "assertion", - "passed": true, - "second": "foo", - "type": "Equal", - "utc_time": "2019-02-12T17:41:42.795530+00:00", - }, - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Symbol(enzyme.__nodes__): Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - , - - - - -, - ], - "className": "card_10lpuz2", - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "assertion": Object { - "category": "DEFAULT", - "description": null, - "first": "foo", - "label": "==", - "line_no": 25, - "machine_time": "2019-02-12T17:41:42.795536+00:00", - "meta_type": "assertion", - "passed": true, - "second": "foo", - "type": "Equal", - "utc_time": "2019-02-12T17:41:42.795530+00:00", - }, - "index": 0, - "onClick": [Function], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "appear": false, - "children": - -, - "className": "collapseDiv_1cips5t", - "enter": true, - "exit": true, - "in": false, - "isOpen": true, - "mountOnEnter": false, - "onEnter": [Function], - "onEntered": [Function], - "onEntering": [Function], - "onExit": [Function], - "onExited": [Function], - "onExiting": [Function], - "style": Object { - "paddingRight": "1.25rem", - }, - "tag": "div", - "timeout": 350, - "unmountOnExit": false, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "className": "assertionCardBody_1t2a0td", - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "assertion": Object { - "category": "DEFAULT", - "description": null, - "first": "foo", - "label": "==", - "line_no": 25, - "machine_time": "2019-02-12T17:41:42.795536+00:00", - "meta_type": "assertion", - "passed": true, - "second": "foo", - "type": "Equal", - "utc_time": "2019-02-12T17:41:42.795530+00:00", - }, - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - "type": [Function], - }, - ], - "type": [Function], - }, - ], - Symbol(enzyme.__options__): Object { - "adapter": ReactSixteenAdapter { - "options": Object { - "enableComponentDidUpdateOnSetState": true, - "lifecycles": Object { - "componentDidUpdate": Object { - "onSetState": true, - }, - "getDerivedStateFromProps": true, - "getSnapshotBeforeUpdate": true, - "setState": Object { - "skipsComponentDidUpdateOnNullish": true, - }, - }, - }, - }, - }, -} + } + } + /> + + + `; diff --git a/testplan/web_ui/testing/src/AssertionPane/__tests__/__snapshots__/AssertionHeader.test.js.snap b/testplan/web_ui/testing/src/AssertionPane/__tests__/__snapshots__/AssertionHeader.test.js.snap index b0344ee16..c4cad881e 100644 --- a/testplan/web_ui/testing/src/AssertionPane/__tests__/__snapshots__/AssertionHeader.test.js.snap +++ b/testplan/web_ui/testing/src/AssertionPane/__tests__/__snapshots__/AssertionHeader.test.js.snap @@ -1,329 +1,53 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`AssertionHeader shallow renders the correct HTML structure 1`] = ` -ShallowWrapper { - Symbol(enzyme.__root__): [Circular], - Symbol(enzyme.__unrendered__): , - Symbol(enzyme.__renderer__): Object { - "batchedUpdates": [Function], - "getNode": [Function], - "render": [Function], - "simulateError": [Function], - "simulateEvent": [Function], - "unmount": [Function], - }, - Symbol(enzyme.__node__): Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - , - - Tue, 12 Feb 2019 17:41:42 GMT -, - - - ( - Equal - ) -, - ], - "className": "cardHeader_1peii7j-o_O-cardHeaderColorPassed_1nxwz58", - "onClick": [Function], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": "faClock", - "nodeType": "function", - "props": Object { - "border": false, - "className": "icon_erbgzi", - "fixedWidth": false, - "flip": null, - "icon": "clock", - "id": "tooltip_0", - "inverse": false, - "listItem": false, - "mask": null, - "pull": null, - "pulse": false, - "rotation": null, - "size": "sm", - "spin": false, - "symbol": false, - "title": "", - "transform": null, - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "autohide": true, - "children": "Tue, 12 Feb 2019 17:41:42 GMT", - "delay": Object { - "hide": 250, - "show": 0, - }, - "hideArrow": false, - "isOpen": false, - "placement": "bottom", - "placementPrefix": "bs-tooltip", - "target": "tooltip_0", - "toggle": [Function], - }, - "ref": null, - "rendered": "Tue, 12 Feb 2019 17:41:42 GMT", - "type": [Function], - }, + + , - "(", - "Equal", - ")", - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "(", - "Equal", - ")", - ], - "type": "span", - }, - ], - "type": [Function], - }, - Symbol(enzyme.__nodes__): Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - , - - Tue, 12 Feb 2019 17:41:42 GMT -, - - - ( - Equal - ) -, - ], - "className": "cardHeader_1peii7j-o_O-cardHeaderColorPassed_1nxwz58", - "onClick": [Function], - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": "faClock", - "nodeType": "function", - "props": Object { - "border": false, - "className": "icon_erbgzi", - "fixedWidth": false, - "flip": null, - "icon": "clock", - "id": "tooltip_0", - "inverse": false, - "listItem": false, - "mask": null, - "pull": null, - "pulse": false, - "rotation": null, - "size": "sm", - "spin": false, - "symbol": false, - "title": "", - "transform": null, - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "autohide": true, - "children": "Tue, 12 Feb 2019 17:41:42 GMT", - "delay": Object { - "hide": 250, - "show": 0, - }, - "hideArrow": false, - "isOpen": false, - "placement": "bottom", - "placementPrefix": "bs-tooltip", - "target": "tooltip_0", - "toggle": [Function], - }, - "ref": null, - "rendered": "Tue, 12 Feb 2019 17:41:42 GMT", - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - , - "(", - "Equal", - ")", - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": null, - }, - "ref": null, - "rendered": null, - "type": "strong", - }, - "(", - "Equal", - ")", - ], - "type": "span", - }, - ], - "type": [Function], - }, - ], - Symbol(enzyme.__options__): Object { - "adapter": ReactSixteenAdapter { - "options": Object { - "enableComponentDidUpdateOnSetState": true, - "lifecycles": Object { - "componentDidUpdate": Object { - "onSetState": true, - }, - "getDerivedStateFromProps": true, - "getSnapshotBeforeUpdate": true, - "setState": Object { - "skipsComponentDidUpdateOnNullish": true, - }, - }, - }, - }, - }, -} + "hide": 250, + "show": 0, + } + } + hideArrow={false} + isOpen={false} + placement="bottom" + placementPrefix="bs-tooltip" + target="tooltip_0" + toggle={[Function]} + > + Tue, 12 Feb 2019 17:41:42 GMT + + + + ( + Equal + ) + + `; diff --git a/testplan/web_ui/testing/src/AssertionPane/__tests__/__snapshots__/AssertionPane.test.js.snap b/testplan/web_ui/testing/src/AssertionPane/__tests__/__snapshots__/AssertionPane.test.js.snap index 5cad957ef..6bb59c1b8 100644 --- a/testplan/web_ui/testing/src/AssertionPane/__tests__/__snapshots__/AssertionPane.test.js.snap +++ b/testplan/web_ui/testing/src/AssertionPane/__tests__/__snapshots__/AssertionPane.test.js.snap @@ -1,611 +1,89 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`AssertionPane shallow renders the correct HTML structure 1`] = ` -ShallowWrapper { - Symbol(enzyme.__root__): [Circular], - Symbol(enzyme.__unrendered__): , - Symbol(enzyme.__renderer__): Object { - "batchedUpdates": [Function], - "getNode": [Function], - "render": [Function], - "simulateError": [Function], - "simulateEvent": [Function], - "unmount": [Function], - }, - Symbol(enzyme.__node__): Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ -
- - -
, -
- - - -
, - ], - "style": Object { - "height": "calc(100% - 5em)", - "left": "19.5em", - "position": "absolute", - "top": "5em", - "width": "calc(100% - 19.5em)", - }, - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - , - , - ], - "className": "buttonsDiv_140n9qh", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": "faPlusCircle", - "nodeType": "function", - "props": Object { - "border": false, - "className": "icon_1rr1rr0", - "fixedWidth": false, - "flip": null, - "icon": "plus-circle", - "inverse": false, - "listItem": false, - "mask": null, - "onClick": [Function], - "pull": null, - "pulse": false, - "rotation": null, - "size": "1x", - "spin": false, - "symbol": false, - "title": "", - "transform": null, - }, - "ref": null, - "rendered": null, - "type": [Function], - }, +
+ + +
+
+ - -, - "className": "infiniteScrollDiv_4z6319", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": "22758cc5-8a89-472b-bf67-b64dbc2c0b40", - "nodeType": "class", - "props": Object { - "children": , - "items": Array [ - Object { - "category": "DEFAULT", - "description": null, - "first": "foo", - "label": "==", - "line_no": 25, - "machine_time": "2019-02-12T17:41:42.795536+00:00", - "meta_type": "assertion", - "passed": true, - "second": "foo", - "type": "Equal", - "utc_time": "2019-02-12T17:41:42.795530+00:00", - }, - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "entries": Array [], - "filter": undefined, - "globalIsOpen": undefined, - "resetGlobalIsOpen": [Function], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - "type": "div", - }, - ], - "type": "div", - }, - Symbol(enzyme.__nodes__): Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ -
- - -
, -
- - - -
, - ], - "style": Object { - "height": "calc(100% - 5em)", - "left": "19.5em", - "position": "absolute", - "top": "5em", - "width": "calc(100% - 19.5em)", - }, - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - , - , - ], - "className": "buttonsDiv_140n9qh", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": "faPlusCircle", - "nodeType": "function", - "props": Object { - "border": false, - "className": "icon_1rr1rr0", - "fixedWidth": false, - "flip": null, - "icon": "plus-circle", - "inverse": false, - "listItem": false, - "mask": null, - "onClick": [Function], - "pull": null, - "pulse": false, - "rotation": null, - "size": "1x", - "spin": false, - "symbol": false, - "title": "", - "transform": null, - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - Object { - "instance": null, - "key": "faMinusCircle", - "nodeType": "function", - "props": Object { - "border": false, - "className": "icon_1rr1rr0", - "fixedWidth": false, - "flip": null, - "icon": "minus-circle", - "inverse": false, - "listItem": false, - "mask": null, - "onClick": [Function], - "pull": null, - "pulse": false, - "rotation": null, - "size": "1x", - "spin": false, - "symbol": false, - "title": "", - "transform": null, - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - ], - "type": "div", - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - -, - "className": "infiniteScrollDiv_4z6319", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": "22758cc5-8a89-472b-bf67-b64dbc2c0b40", - "nodeType": "class", - "props": Object { - "children": , - "items": Array [ - Object { - "category": "DEFAULT", - "description": null, - "first": "foo", - "label": "==", - "line_no": 25, - "machine_time": "2019-02-12T17:41:42.795536+00:00", - "meta_type": "assertion", - "passed": true, - "second": "foo", - "type": "Equal", - "utc_time": "2019-02-12T17:41:42.795530+00:00", - }, - ], - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "entries": Array [], - "filter": undefined, - "globalIsOpen": undefined, - "resetGlobalIsOpen": [Function], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - "type": "div", - }, - ], - "type": "div", - }, - ], - Symbol(enzyme.__options__): Object { - "adapter": ReactSixteenAdapter { - "options": Object { - "enableComponentDidUpdateOnSetState": true, - "lifecycles": Object { - "componentDidUpdate": Object { - "onSetState": true, - }, - "getDerivedStateFromProps": true, - "getSnapshotBeforeUpdate": true, - "setState": Object { - "skipsComponentDidUpdateOnNullish": true, + "category": "DEFAULT", + "description": null, + "first": "foo", + "label": "==", + "line_no": 25, + "machine_time": "2019-02-12T17:41:42.795536+00:00", + "meta_type": "assertion", + "passed": true, + "second": "foo", + "type": "Equal", + "utc_time": "2019-02-12T17:41:42.795530+00:00", }, - }, - }, - }, - }, -} + ] + } + key="22758cc5-8a89-472b-bf67-b64dbc2c0b40" + > + + +
+ `; diff --git a/testplan/web_ui/testing/src/AssertionPane/__tests__/__snapshots__/InfiniteScroll.test.js.snap b/testplan/web_ui/testing/src/AssertionPane/__tests__/__snapshots__/InfiniteScroll.test.js.snap index c906004ae..e0dc89afe 100644 --- a/testplan/web_ui/testing/src/AssertionPane/__tests__/__snapshots__/InfiniteScroll.test.js.snap +++ b/testplan/web_ui/testing/src/AssertionPane/__tests__/__snapshots__/InfiniteScroll.test.js.snap @@ -1,152 +1,30 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`InfiniteScroll shallow renders the correct HTML structure 1`] = ` -ShallowWrapper { - Symbol(enzyme.__root__): [Circular], - Symbol(enzyme.__unrendered__): , - Symbol(enzyme.__renderer__): Object { - "batchedUpdates": [Function], - "getNode": [Function], - "render": [Function], - "simulateError": [Function], - "simulateEvent": [Function], - "unmount": [Function], - }, - Symbol(enzyme.__node__): Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "autoHeight": false, - "autoHeightMax": 200, - "autoHeightMin": 0, - "autoHide": true, - "autoHideDuration": 200, - "autoHideTimeout": 1000, - "children":
- -
, - "hideTracksWhenNotNeeded": false, - "onScroll": [Function], - "renderThumbHorizontal": [Function], - "renderThumbVertical": [Function], - "renderTrackHorizontal": [Function], - "renderTrackVertical": [Function], - "renderView": [Function], - "tagName": "div", - "thumbMinSize": 30, - "universal": false, - }, - "ref": Object { - "current": null, - }, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - undefined, - false, - ], - "style": Object { - "paddingRight": "2rem", - }, - }, - "ref": null, - "rendered": Array [ - undefined, - false, - ], - "type": "div", - }, - "type": [Function], - }, - Symbol(enzyme.__nodes__): Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "autoHeight": false, - "autoHeightMax": 200, - "autoHeightMin": 0, - "autoHide": true, - "autoHideDuration": 200, - "autoHideTimeout": 1000, - "children":
- -
, - "hideTracksWhenNotNeeded": false, - "onScroll": [Function], - "renderThumbHorizontal": [Function], - "renderThumbVertical": [Function], - "renderTrackHorizontal": [Function], - "renderTrackVertical": [Function], - "renderView": [Function], - "tagName": "div", - "thumbMinSize": 30, - "universal": false, - }, - "ref": Object { - "current": null, - }, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - undefined, - false, - ], - "style": Object { - "paddingRight": "2rem", - }, - }, - "ref": null, - "rendered": Array [ - undefined, - false, - ], - "type": "div", - }, - "type": [Function], - }, - ], - Symbol(enzyme.__options__): Object { - "adapter": ReactSixteenAdapter { - "options": Object { - "enableComponentDidUpdateOnSetState": true, - "lifecycles": Object { - "componentDidUpdate": Object { - "onSetState": true, - }, - "getDerivedStateFromProps": true, - "getSnapshotBeforeUpdate": true, - "setState": Object { - "skipsComponentDidUpdateOnNullish": true, - }, - }, - }, - }, - }, -} +
+ `; diff --git a/testplan/web_ui/testing/src/Common/__tests__/__snapshots__/Message.test.js.snap b/testplan/web_ui/testing/src/Common/__tests__/__snapshots__/Message.test.js.snap index c6a8cab2d..121de75ae 100644 --- a/testplan/web_ui/testing/src/Common/__tests__/__snapshots__/Message.test.js.snap +++ b/testplan/web_ui/testing/src/Common/__tests__/__snapshots__/Message.test.js.snap @@ -1,97 +1,18 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`Message shallow renders the correct HTML structure 1`] = ` -ShallowWrapper { - Symbol(enzyme.__root__): [Circular], - Symbol(enzyme.__unrendered__): , - Symbol(enzyme.__renderer__): Object { - "batchedUpdates": [Function], - "getNode": [Function], - "render": [Function], - "simulateError": [Function], - "simulateEvent": [Function], - "unmount": [Function], - }, - Symbol(enzyme.__node__): Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children":

- test -

, - "style": Object { - "paddingLeft": "undefinedem", - "paddingTop": "4.5em", - }, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "test", - "className": "message_110xrpz", - }, - "ref": null, - "rendered": "test", - "type": "h1", - }, - "type": "div", - }, - Symbol(enzyme.__nodes__): Array [ +
- test -, - "style": Object { - "paddingLeft": "undefinedem", - "paddingTop": "4.5em", - }, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "test", - "className": "message_110xrpz", - }, - "ref": null, - "rendered": "test", - "type": "h1", - }, - "type": "div", - }, - ], - Symbol(enzyme.__options__): Object { - "adapter": ReactSixteenAdapter { - "options": Object { - "enableComponentDidUpdateOnSetState": true, - "lifecycles": Object { - "componentDidUpdate": Object { - "onSetState": true, - }, - "getDerivedStateFromProps": true, - "getSnapshotBeforeUpdate": true, - "setState": Object { - "skipsComponentDidUpdateOnNullish": true, - }, - }, - }, - }, - }, -} +

+ test +

+
`; diff --git a/testplan/web_ui/testing/src/Nav/__tests__/__snapshots__/Column.test.js.snap b/testplan/web_ui/testing/src/Nav/__tests__/__snapshots__/Column.test.js.snap index 559d855e1..a1d8656ea 100644 --- a/testplan/web_ui/testing/src/Nav/__tests__/__snapshots__/Column.test.js.snap +++ b/testplan/web_ui/testing/src/Nav/__tests__/__snapshots__/Column.test.js.snap @@ -1,187 +1,26 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`Column shallow renders the correct HTML structure 1`] = ` -ShallowWrapper { - Symbol(enzyme.__root__): [Circular], - Symbol(enzyme.__unrendered__): + +

-, - Symbol(enzyme.__renderer__): Object { - "batchedUpdates": [Function], - "getNode": [Function], - "render": [Function], - "simulateError": [Function], - "simulateEvent": [Function], - "unmount": [Function], - }, - Symbol(enzyme.__node__): Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ -

-

-

, -
, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children":

, - "className": "column_1heobik", - "style": Object { - "width": "18em", - }, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "className": "unique", - }, - "ref": null, - "rendered": null, - "type": "p", - }, - "type": "div", - }, +

+
-

-

, -
, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children":

, - "className": "column_1heobik", - "style": Object { - "width": "18em", - }, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "className": "unique", - }, - "ref": null, - "rendered": null, - "type": "p", - }, - "type": "div", - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "className": "grip_gfj8zc", - "style": Object { - "left": "18em", - }, - }, - "ref": null, - "rendered": null, - "type": "div", - }, - ], - "type": Symbol(react.fragment), - }, - ], - Symbol(enzyme.__options__): Object { - "adapter": ReactSixteenAdapter { - "options": Object { - "enableComponentDidUpdateOnSetState": true, - "lifecycles": Object { - "componentDidUpdate": Object { - "onSetState": true, - }, - "getDerivedStateFromProps": true, - "getSnapshotBeforeUpdate": true, - "setState": Object { - "skipsComponentDidUpdateOnNullish": true, - }, - }, - }, - }, - }, -} + "left": "18em", + } + } + /> + `; diff --git a/testplan/web_ui/testing/src/Nav/__tests__/__snapshots__/Nav.test.js.snap b/testplan/web_ui/testing/src/Nav/__tests__/__snapshots__/Nav.test.js.snap index cdbd66a16..e359f5e29 100644 --- a/testplan/web_ui/testing/src/Nav/__tests__/__snapshots__/Nav.test.js.snap +++ b/testplan/web_ui/testing/src/Nav/__tests__/__snapshots__/Nav.test.js.snap @@ -1,430 +1,24 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`Nav shallow renders the correct HTML structure 1`] = ` -ShallowWrapper { - Symbol(enzyme.__root__): [Circular], - Symbol(enzyme.__unrendered__):

`; diff --git a/testplan/web_ui/testing/src/Nav/__tests__/__snapshots__/NavEntry.test.js.snap b/testplan/web_ui/testing/src/Nav/__tests__/__snapshots__/NavEntry.test.js.snap index 89308b980..0e1341bf5 100644 --- a/testplan/web_ui/testing/src/Nav/__tests__/__snapshots__/NavEntry.test.js.snap +++ b/testplan/web_ui/testing/src/Nav/__tests__/__snapshots__/NavEntry.test.js.snap @@ -1,349 +1,42 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`NavEntry shallow renders the correct HTML structure 1`] = ` -ShallowWrapper { - Symbol(enzyme.__root__): [Circular], - Symbol(enzyme.__unrendered__): , - Symbol(enzyme.__renderer__): Object { - "batchedUpdates": [Function], - "getNode": [Function], - "render": [Function], - "simulateError": [Function], - "simulateEvent": [Function], - "unmount": [Function], - }, - Symbol(enzyme.__node__): Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ -
- entry name -
, -
- - - / - - - - TP - -
, - ], - "className": "d-flex justify-content-between", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "entry name", - "className": "entryName_1w2kiva-o_O-passed_1kh4m98", - }, - "ref": null, - "rendered": "entry name", - "type": "div", - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - - - / - -, - - TP -, - ], - "className": "entryIcons_dx1noq", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - , - "/", - , - ], - "className": "entryIcon_ull2p3", - "title": "passed/failed testcases", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": 0, - "className": "passed_1kh4m98", - }, - "ref": null, - "rendered": 0, - "type": "span", - }, - "/", - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": 0, - "className": "failed_11es5k7", - }, - "ref": null, - "rendered": 0, - "type": "span", - }, - ], - "type": "i", - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": "TP", - "className": "entryIcon_ull2p3-o_O-passedBadge_1gkx146", - "color": "secondary", - "pill": true, - "tag": "span", - "title": "testplan", - }, - "ref": null, - "rendered": "TP", - "type": [Function], - }, - ], - "type": "div", - }, - ], - "type": "div", - }, - Symbol(enzyme.__nodes__): Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ -
- entry name -
, -
- - - / - - - - TP - -
, - ], - "className": "d-flex justify-content-between", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": "entry name", - "className": "entryName_1w2kiva-o_O-passed_1kh4m98", - }, - "ref": null, - "rendered": "entry name", - "type": "div", - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - - - / - -, - - TP -, - ], - "className": "entryIcons_dx1noq", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - , - "/", - , - ], - "className": "entryIcon_ull2p3", - "title": "passed/failed testcases", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": 0, - "className": "passed_1kh4m98", - }, - "ref": null, - "rendered": 0, - "type": "span", - }, - "/", - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": 0, - "className": "failed_11es5k7", - }, - "ref": null, - "rendered": 0, - "type": "span", - }, - ], - "type": "i", - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": "TP", - "className": "entryIcon_ull2p3-o_O-passedBadge_1gkx146", - "color": "secondary", - "pill": true, - "tag": "span", - "title": "testplan", - }, - "ref": null, - "rendered": "TP", - "type": [Function], - }, - ], - "type": "div", - }, - ], - "type": "div", - }, - ], - Symbol(enzyme.__options__): Object { - "adapter": ReactSixteenAdapter { - "options": Object { - "enableComponentDidUpdateOnSetState": true, - "lifecycles": Object { - "componentDidUpdate": Object { - "onSetState": true, - }, - "getDerivedStateFromProps": true, - "getSnapshotBeforeUpdate": true, - "setState": Object { - "skipsComponentDidUpdateOnNullish": true, - }, - }, - }, - }, - }, -} +
+
+ entry name +
+
+ + + 0 + + / + + 0 + + + + TP + +
+
`; diff --git a/testplan/web_ui/testing/src/Nav/__tests__/__snapshots__/NavList.test.js.snap b/testplan/web_ui/testing/src/Nav/__tests__/__snapshots__/NavList.test.js.snap index 8db7e9f83..98a002134 100644 --- a/testplan/web_ui/testing/src/Nav/__tests__/__snapshots__/NavList.test.js.snap +++ b/testplan/web_ui/testing/src/Nav/__tests__/__snapshots__/NavList.test.js.snap @@ -1,248 +1,24 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`NavList shallow renders the correct HTML structure 1`] = ` -ShallowWrapper { - Symbol(enzyme.__root__): [Circular], - Symbol(enzyme.__unrendered__): , - Symbol(enzyme.__renderer__): Object { - "batchedUpdates": [Function], - "getNode": [Function], - "render": [Function], - "simulateError": [Function], - "simulateEvent": [Function], - "unmount": [Function], - }, - Symbol(enzyme.__node__): Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "children": - - - -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - -, - ], - "tag": "ul", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": "123", - "nodeType": "function", - "props": Object { - "children": Array [ - , - undefined, - ], - "className": "navButton_140hs3a-o_O-navButtonInteract_raa3h5", - "onClick": [Function], - "tabIndex": "1", - "tag": "li", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "caseCountFailed": 0, - "caseCountPassed": 1, - "name": "test", - "status": "passed", - "type": undefined, - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - undefined, - ], - "type": [Function], - }, - ], - "type": [Function], - }, - "type": [Function], - }, - Symbol(enzyme.__nodes__): Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "children": - - - -, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - -, - ], - "tag": "ul", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": "123", - "nodeType": "function", - "props": Object { - "children": Array [ - , - undefined, - ], - "className": "navButton_140hs3a-o_O-navButtonInteract_raa3h5", - "onClick": [Function], - "tabIndex": "1", - "tag": "li", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "caseCountFailed": 0, - "caseCountPassed": 1, - "name": "test", - "status": "passed", - "type": undefined, - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - undefined, - ], - "type": [Function], - }, - ], - "type": [Function], - }, - "type": [Function], - }, - ], - Symbol(enzyme.__options__): Object { - "adapter": ReactSixteenAdapter { - "options": Object { - "enableComponentDidUpdateOnSetState": true, - "lifecycles": Object { - "componentDidUpdate": Object { - "onSetState": true, - }, - "getDerivedStateFromProps": true, - "getSnapshotBeforeUpdate": true, - "setState": Object { - "skipsComponentDidUpdateOnNullish": true, - }, - }, - }, - }, - }, -} + + + + + + + `; diff --git a/testplan/web_ui/testing/src/Report/__tests__/__snapshots__/BatchReport.test.js.snap b/testplan/web_ui/testing/src/Report/__tests__/__snapshots__/BatchReport.test.js.snap index 09b55e0dc..b1440d3ad 100644 --- a/testplan/web_ui/testing/src/Report/__tests__/__snapshots__/BatchReport.test.js.snap +++ b/testplan/web_ui/testing/src/Report/__tests__/__snapshots__/BatchReport.test.js.snap @@ -1,476 +1,100 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`BatchReport mock URL path shallow renders the correct HTML structure when report loaded 1`] = ` -ShallowWrapper { - Symbol(enzyme.__root__): [Circular], - Symbol(enzyme.__unrendered__): , - Symbol(enzyme.__renderer__): Object { - "batchedUpdates": [Function], - "getNode": [Function], - "render": [Function], - "simulateError": [Function], - "simulateEvent": [Function], - "unmount": [Function], - }, - Symbol(enzyme.__node__): Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - , - + + + - -
, - - -, - ], - "className": "toolbar_l6n5rs", - "expand": "md", - "light": true, - "tag": "nav", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": , - "className": "filterBox_1kzbnzj", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "handleNavFilter": [Function], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": "div", - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "appear": false, - "children": , - "className": "toolbar_l6n5rs-o_O-toolbarPassed_1bjpgj2", - "enter": true, - "exit": true, - "in": false, - "isOpen": false, - "mountOnEnter": false, - "navbar": true, - "onEnter": [Function], - "onEntered": [Function], - "onEntering": [Function], - "onExit": [Function], - "onExited": [Function], - "onExiting": [Function], - "tag": "div", - "timeout": 350, - "unmountOnExit": false, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - -
- - - -
- - - - - - - - - - - - - - - -
, - -
- -
-
, - -
- -
-
, - -
- -
-
, - - - - -, - ], - "className": "ml-auto", - "navbar": true, - "tag": "ul", - "vertical": false, - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "children": Array [ -
- - - -
, - - - - - - - - - - - - - - -, - ], - "inNavbar": true, - "nav": true, - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - -, - "className": "buttonsBar_13xq1v", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "aria-haspopup": true, - "children": , - "className": "toolbar_l6n5rs-o_O-toolbarPassed_1bjpgj2", - "color": "secondary", - "nav": true, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": "toolbar-filter", - "nodeType": "function", - "props": Object { - "border": false, - "className": "toolbarButton_z1gq62", - "fixedWidth": false, - "flip": null, - "icon": "filter", - "inverse": false, - "listItem": false, - "mask": null, - "pull": null, - "pulse": false, - "rotation": null, - "size": null, - "spin": false, - "symbol": false, - "title": "Choose filter", - "transform": null, - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - "type": "div", - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - -, - - -, - - -, - , - - -, - ], - "className": "filterDropdown_biw13d", - "flip": true, - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "children": , - "className": "dropdownItem_1bl0z5g", - "tag": "button", - "toggle": false, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "check": true, - "children": Array [ - , - " ", - "All", - ], - "className": "filterLabel_17zzvy", - "tag": "label", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "checked": true, - "name": "filter", - "onChange": [Function], - "type": "radio", - "value": "all", - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - " ", - "All", - ], - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "children": , - "className": "dropdownItem_1bl0z5g", - "tag": "button", - "toggle": false, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "check": true, - "children": Array [ - , - " ", - "Failed only", - ], - "className": "filterLabel_17zzvy", - "tag": "label", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "checked": false, - "name": "filter", - "onChange": [Function], - "type": "radio", - "value": "fail", - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - " ", - "Failed only", - ], - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "children": , - "className": "dropdownItem_1bl0z5g", - "tag": "button", - "toggle": false, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "check": true, - "children": Array [ - , - " ", - "Passed only", - ], - "className": "filterLabel_17zzvy", - "tag": "label", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "checked": false, - "name": "filter", - "onChange": [Function], - "type": "radio", - "value": "pass", - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - " ", - "Passed only", - ], - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "divider": true, - "tag": "button", - "toggle": true, - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "children": , - "className": "dropdownItem_1bl0z5g", - "tag": "button", - "toggle": false, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "check": true, - "children": Array [ - , - " ", - "Hide empty testcase", - ], - "className": "filterLabel_17zzvy", - "tag": "label", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "checked": false, - "name": "displayEmptyTest", - "onChange": [Function], - "type": "checkbox", - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - " ", - "Hide empty testcase", - ], - "type": [Function], - }, - "type": [Function], - }, - ], - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children":
- -
, - "tag": "li", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": , - "className": "buttonsBar_13xq1v", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": "toolbar-print", - "nodeType": "function", - "props": Object { - "border": false, - "className": "toolbarButton_z1gq62", - "fixedWidth": false, - "flip": null, - "icon": "print", - "inverse": false, - "listItem": false, - "mask": null, - "onClick": [Function], - "pull": null, - "pulse": false, - "rotation": null, - "size": null, - "spin": false, - "symbol": false, - "title": "Print page", - "transform": null, - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": "div", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children":
- -
, - "tag": "li", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": , - "className": "buttonsBar_13xq1v", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": "toolbar-tags", - "nodeType": "function", - "props": Object { - "border": false, - "className": "toolbarButton_z1gq62", - "fixedWidth": false, - "flip": null, - "icon": "tags", - "inverse": false, - "listItem": false, - "mask": null, - "onClick": [Function], - "pull": null, - "pulse": false, - "rotation": null, - "size": null, - "spin": false, - "symbol": false, - "title": "Toggle tags", - "transform": null, - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": "div", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children":
- -
, - "tag": "li", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": , - "className": "buttonsBar_13xq1v", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": "toolbar-question", - "nodeType": "function", - "props": Object { - "border": false, - "className": "toolbarButton_z1gq62", - "fixedWidth": false, - "flip": null, - "icon": "question-circle", - "inverse": false, - "listItem": false, - "mask": null, - "onClick": [Function], - "pull": null, - "pulse": false, - "rotation": null, - "size": null, - "spin": false, - "symbol": false, - "title": "Help", - "transform": null, - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": "div", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "li", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": , - "className": "buttonsBar_13xq1v", - "href": "http://testplan.readthedocs.io", - "rel": "noopener noreferrer", - "target": "_blank", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": "toolbar-document", - "nodeType": "function", - "props": Object { - "border": false, - "className": "toolbarButton_z1gq62", - "fixedWidth": false, - "flip": null, - "icon": "book", - "inverse": false, - "listItem": false, - "mask": null, - "pull": null, - "pulse": false, - "rotation": null, - "size": null, - "spin": false, - "symbol": false, - "title": "Documentation", - "transform": null, - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": "a", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - "type": [Function], - }, - ], - "type": [Function], - }, + "mountOnEnter": true, + "timeout": 150, + } + } + centered={false} + className="HelpModal" + fade={true} + isOpen={false} + keyboard={true} + modalTransition={ Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "autoFocus": true, - "backdrop": true, - "backdropTransition": Object { - "mountOnEnter": true, - "timeout": 150, - }, - "centered": false, - "children": Array [ - - Help -, - - This is filter box help! -, - - -, - ], - "className": "HelpModal", - "fade": true, - "isOpen": false, - "keyboard": true, - "modalTransition": Object { - "timeout": 300, - }, - "onClosed": [Function], - "onOpened": [Function], - "role": "dialog", - "toggle": [Function], - "zIndex": 1050, - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": "Help", - "closeAriaLabel": "Close", - "tag": "h5", - "toggle": [Function], - "wrapTag": "div", - }, - "ref": null, - "rendered": "Help", - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": "This is filter box help!", - "tag": "div", - }, - "ref": null, - "rendered": "This is filter box help!", - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "children": "Close", - "color": "light", - "onClick": [Function], - "tag": "button", - }, - "ref": null, - "rendered": "Close", - "type": [Function], - }, - "type": [Function], - }, - ], - "type": [Function], - }, - ], - "type": "div", - }, - Symbol(enzyme.__nodes__): Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": Array [ - -
+ + Help + + + This is filter box help! + + + + + +
+`; + +exports[`Toolbar shallow renders the correct HTML structure for interactive mode 1`] = ` +
+ +
+ +
+ +
+ + - - -
, - - + + + All + +
+ - Help - - + + + Failed only + + + - This is filter box help! - - + + + Passed only + + + + - - -, - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ -
- + -
, - - -, - ], - "className": "toolbar_l6n5rs", - "expand": "md", - "light": true, - "tag": "nav", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": , - "className": "filterBox_1kzbnzj", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "handleNavFilter": [Function], - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": "div", - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "appear": false, - "children": , - "className": "toolbar_l6n5rs-o_O-toolbarPassed_1bjpgj2", - "enter": true, - "exit": true, - "in": false, - "isOpen": false, - "mountOnEnter": false, - "navbar": true, - "onEnter": [Function], - "onEntered": [Function], - "onEntering": [Function], - "onExit": [Function], - "onExited": [Function], - "onExiting": [Function], - "tag": "div", - "timeout": 350, - "unmountOnExit": false, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - -
- - - -
- - - - - - - - - - - - - - - -
, - -
- -
-
, - -
- -
-
, - -
- -
-
, - - - - -, - ], - "className": "ml-auto", - "navbar": true, - "tag": "ul", - "vertical": false, - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "children": Array [ -
- - - -
, - - - - - - - - - - - - - - -, - ], - "inNavbar": true, - "nav": true, - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": - -, - "className": "buttonsBar_13xq1v", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "aria-haspopup": true, - "children": , - "className": "toolbar_l6n5rs-o_O-toolbarPassed_1bjpgj2", - "color": "secondary", - "nav": true, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": "toolbar-filter", - "nodeType": "function", - "props": Object { - "border": false, - "className": "toolbarButton_z1gq62", - "fixedWidth": false, - "flip": null, - "icon": "filter", - "inverse": false, - "listItem": false, - "mask": null, - "pull": null, - "pulse": false, - "rotation": null, - "size": null, - "spin": false, - "symbol": false, - "title": "Choose filter", - "transform": null, - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": [Function], - }, - "type": "div", - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": Array [ - - -, - - -, - - -, - , - - -, - ], - "className": "filterDropdown_biw13d", - "flip": true, - "tag": "div", - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "children": , - "className": "dropdownItem_1bl0z5g", - "tag": "button", - "toggle": false, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "check": true, - "children": Array [ - , - " ", - "All", - ], - "className": "filterLabel_17zzvy", - "tag": "label", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "checked": true, - "name": "filter", - "onChange": [Function], - "type": "radio", - "value": "all", - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - " ", - "All", - ], - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "children": , - "className": "dropdownItem_1bl0z5g", - "tag": "button", - "toggle": false, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "check": true, - "children": Array [ - , - " ", - "Failed only", - ], - "className": "filterLabel_17zzvy", - "tag": "label", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "checked": false, - "name": "filter", - "onChange": [Function], - "type": "radio", - "value": "fail", - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - " ", - "Failed only", - ], - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "children": , - "className": "dropdownItem_1bl0z5g", - "tag": "button", - "toggle": false, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "check": true, - "children": Array [ - , - " ", - "Passed only", - ], - "className": "filterLabel_17zzvy", - "tag": "label", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "checked": false, - "name": "filter", - "onChange": [Function], - "type": "radio", - "value": "pass", - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - " ", - "Passed only", - ], - "type": [Function], - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "divider": true, - "tag": "button", - "toggle": true, - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "children": , - "className": "dropdownItem_1bl0z5g", - "tag": "button", - "toggle": false, - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "check": true, - "children": Array [ - , - " ", - "Hide empty testcase", - ], - "className": "filterLabel_17zzvy", - "tag": "label", - "widths": Array [ - "xs", - "sm", - "md", - "lg", - "xl", - ], - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "checked": false, - "name": "displayEmptyTest", - "onChange": [Function], - "type": "checkbox", - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - " ", - "Hide empty testcase", - ], - "type": [Function], - }, - "type": [Function], - }, - ], - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children":
- -
, - "tag": "li", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": , - "className": "buttonsBar_13xq1v", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": "toolbar-print", - "nodeType": "function", - "props": Object { - "border": false, - "className": "toolbarButton_z1gq62", - "fixedWidth": false, - "flip": null, - "icon": "print", - "inverse": false, - "listItem": false, - "mask": null, - "onClick": [Function], - "pull": null, - "pulse": false, - "rotation": null, - "size": null, - "spin": false, - "symbol": false, - "title": "Print page", - "transform": null, - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": "div", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children":
- -
, - "tag": "li", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": , - "className": "buttonsBar_13xq1v", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": "toolbar-tags", - "nodeType": "function", - "props": Object { - "border": false, - "className": "toolbarButton_z1gq62", - "fixedWidth": false, - "flip": null, - "icon": "tags", - "inverse": false, - "listItem": false, - "mask": null, - "onClick": [Function], - "pull": null, - "pulse": false, - "rotation": null, - "size": null, - "spin": false, - "symbol": false, - "title": "Toggle tags", - "transform": null, - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": "div", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children":
- -
, - "tag": "li", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": , - "className": "buttonsBar_13xq1v", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": "toolbar-question", - "nodeType": "function", - "props": Object { - "border": false, - "className": "toolbarButton_z1gq62", - "fixedWidth": false, - "flip": null, - "icon": "question-circle", - "inverse": false, - "listItem": false, - "mask": null, - "onClick": [Function], - "pull": null, - "pulse": false, - "rotation": null, - "size": null, - "spin": false, - "symbol": false, - "title": "Help", - "transform": null, - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": "div", - }, - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": - -, - "tag": "li", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "host", - "props": Object { - "children": , - "className": "buttonsBar_13xq1v", - "href": "http://testplan.readthedocs.io", - "rel": "noopener noreferrer", - "target": "_blank", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": "toolbar-document", - "nodeType": "function", - "props": Object { - "border": false, - "className": "toolbarButton_z1gq62", - "fixedWidth": false, - "flip": null, - "icon": "book", - "inverse": false, - "listItem": false, - "mask": null, - "pull": null, - "pulse": false, - "rotation": null, - "size": null, - "spin": false, - "symbol": false, - "title": "Documentation", - "transform": null, - }, - "ref": null, - "rendered": null, - "type": [Function], - }, - "type": "a", - }, - "type": [Function], - }, - ], - "type": [Function], - }, - "type": [Function], - }, - ], - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "autoFocus": true, - "backdrop": true, - "backdropTransition": Object { - "mountOnEnter": true, - "timeout": 150, - }, - "centered": false, - "children": Array [ - - Help -, - - This is filter box help! -, - - -, - ], - "className": "HelpModal", - "fade": true, - "isOpen": false, - "keyboard": true, - "modalTransition": Object { - "timeout": 300, - }, - "onClosed": [Function], - "onOpened": [Function], - "role": "dialog", - "toggle": [Function], - "zIndex": 1050, - }, - "ref": null, - "rendered": Array [ - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": "Help", - "closeAriaLabel": "Close", - "tag": "h5", - "toggle": [Function], - "wrapTag": "div", - }, - "ref": null, - "rendered": "Help", - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": "This is filter box help!", - "tag": "div", - }, - "ref": null, - "rendered": "This is filter box help!", - "type": [Function], - }, - Object { - "instance": null, - "key": undefined, - "nodeType": "function", - "props": Object { - "children": , - "tag": "div", - }, - "ref": null, - "rendered": Object { - "instance": null, - "key": undefined, - "nodeType": "class", - "props": Object { - "children": "Close", - "color": "light", - "onClick": [Function], - "tag": "button", - }, - "ref": null, - "rendered": "Close", - "type": [Function], - }, - "type": [Function], - }, - ], - "type": [Function], - }, - ], - "type": "div", - }, - ], - Symbol(enzyme.__options__): Object { - "adapter": ReactSixteenAdapter { - "options": Object { - "enableComponentDidUpdateOnSetState": true, - "lifecycles": Object { - "componentDidUpdate": Object { - "onSetState": true, - }, - "getDerivedStateFromProps": true, - "getSnapshotBeforeUpdate": true, - "setState": Object { - "skipsComponentDidUpdateOnNullish": true, - }, - }, - }, - }, - }, -} + + Hide empty testcase + +
+ + + +
+ +
+
+ +
+ +
+
+ +
+ +
+
+ + + + + + + + + + + Help + + + This is filter box help! + + + + + +
`;