diff --git a/apps/ssr-tests/test/test.js b/apps/ssr-tests/test/test.js index 5fc7e4beba1d62..658d96e04cd38d 100644 --- a/apps/ssr-tests/test/test.js +++ b/apps/ssr-tests/test/test.js @@ -46,12 +46,6 @@ describe('Utilities', () => { assert.equal(library.getDocument(), undefined); }); }); - - describe('canUseDOM', () => { - it('returns false in server environment', () => { - assert.equal(library.canUseDOM(), false); - }); - }); }); function testRender(componentName, component) { @@ -62,7 +56,7 @@ function testRender(componentName, component) { ReactDOMServer.renderToString(elem); done(); } catch (e) { - done(e); + done(new Error(e)); } }); } diff --git a/change/@fluentui-react-095e69ed-d501-445c-aefa-a2f2ec7f8084.json b/change/@fluentui-react-095e69ed-d501-445c-aefa-a2f2ec7f8084.json new file mode 100644 index 00000000000000..02231c2ebc67d9 --- /dev/null +++ b/change/@fluentui-react-095e69ed-d501-445c-aefa-a2f2ec7f8084.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "revert: rollback List rendering change", + "packageName": "@fluentui/react", + "email": "seanmonahan@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/packages/react/src/components/DetailsList/__snapshots__/DetailsList.test.tsx.snap b/packages/react/src/components/DetailsList/__snapshots__/DetailsList.test.tsx.snap index 2f907bb6650eb5..77aaf42a066394 100644 --- a/packages/react/src/components/DetailsList/__snapshots__/DetailsList.test.tsx.snap +++ b/packages/react/src/components/DetailsList/__snapshots__/DetailsList.test.tsx.snap @@ -8114,7 +8114,7 @@ exports[`DetailsList renders List with hidden checkboxes correctly 1`] = ` flex-shrink: 0; } data-automationid="DetailsRow" - data-focuszone-id="FocusZone7" + data-focuszone-id="FocusZone9" data-is-focusable={true} data-item-index={0} data-selection-index={0} @@ -8396,7 +8396,7 @@ exports[`DetailsList renders List with hidden checkboxes correctly 1`] = ` flex-shrink: 0; } data-automationid="DetailsRow" - data-focuszone-id="FocusZone9" + data-focuszone-id="FocusZone11" data-is-focusable={true} data-item-index={1} data-selection-index={1} @@ -8622,7 +8622,7 @@ exports[`DetailsList renders List with hidden checkboxes correctly 1`] = ` >