summaryrefslogtreecommitdiffstats
path: root/devtools/client/debugger/test/mochitest/browser_dbg-layout-changes.js
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/client/debugger/test/mochitest/browser_dbg-layout-changes.js')
-rw-r--r--devtools/client/debugger/test/mochitest/browser_dbg-layout-changes.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/devtools/client/debugger/test/mochitest/browser_dbg-layout-changes.js b/devtools/client/debugger/test/mochitest/browser_dbg-layout-changes.js
index 609879c7b1..0f006c61fe 100644
--- a/devtools/client/debugger/test/mochitest/browser_dbg-layout-changes.js
+++ b/devtools/client/debugger/test/mochitest/browser_dbg-layout-changes.js
@@ -46,10 +46,7 @@ async function testLayout(dbg, orientation, host) {
await switchHost(dbg, host);
await resizeToolboxWindow(dbg, host);
- return waitForState(
- dbg,
- state => dbg.selectors.getOrientation() == orientation
- );
+ return waitForState(dbg, () => dbg.selectors.getOrientation() == orientation);
}
function getHost(host) {