diff --git a/packages/overlays/src/OverlayController.js b/packages/overlays/src/OverlayController.js
index 8238b6125..200abbe83 100644
--- a/packages/overlays/src/OverlayController.js
+++ b/packages/overlays/src/OverlayController.js
@@ -132,9 +132,7 @@ export class OverlayController {
};
this.manager.add(this);
- this._contentId = `overlay-content--${Math.random()
- .toString(36)
- .substr(2, 10)}`;
+ this._contentId = `overlay-content--${Math.random().toString(36).substr(2, 10)}`;
if (this._defaultConfig.contentNode) {
this.__isContentNodeProjected = Boolean(this._defaultConfig.contentNode.assignedSlot);
diff --git a/packages/overlays/test/OverlayController.test.js b/packages/overlays/test/OverlayController.test.js
index 7f5c01144..b1615f34e 100644
--- a/packages/overlays/test/OverlayController.test.js
+++ b/packages/overlays/test/OverlayController.test.js
@@ -18,16 +18,12 @@ import { overlays } from '../src/overlays.js';
const withGlobalTestConfig = () => ({
placementMode: 'global',
- contentNode: fixtureSync(html`
-
ctrl.show()}>
content
@@ -131,11 +115,7 @@ describe('Local Positioning', () => {
it('allows the user to override default Popper modifiers', async () => {
const ctrl = new OverlayController({
...withLocalTestConfig(),
- contentNode: fixtureSync(
- html`
-
- `,
- ),
+ contentNode: fixtureSync(html`
`),
invokerNode: fixtureSync(html`
ctrl.show()}>
`),
@@ -168,11 +148,7 @@ describe('Local Positioning', () => {
it('positions the Popper element correctly on show', async () => {
const ctrl = new OverlayController({
...withLocalTestConfig(),
- contentNode: fixtureSync(
- html`
-
- `,
- ),
+ contentNode: fixtureSync(html`
`),
invokerNode: fixtureSync(html`
ctrl.show()}>
`),
@@ -203,11 +179,7 @@ describe('Local Positioning', () => {
it.skip('updates placement properly even during hidden state', async () => {
const ctrl = new OverlayController({
...withLocalTestConfig(),
- contentNode: fixtureSync(
- html`
-
- `,
- ),
+ contentNode: fixtureSync(html`
`),
invokerNode: fixtureSync(html`
ctrl.show()}>
`),
@@ -256,11 +228,7 @@ describe('Local Positioning', () => {
it.skip('updates positioning correctly during shown state when config gets updated', async () => {
const ctrl = new OverlayController({
...withLocalTestConfig(),
- contentNode: fixtureSync(
- html`
-
- `,
- ),
+ contentNode: fixtureSync(html`
`),
invokerNode: fixtureSync(html`
ctrl.show()}>
Invoker
diff --git a/packages/select-rich/src/LionSelectRich.js b/packages/select-rich/src/LionSelectRich.js
index 73b59a5bd..d643fe5d3 100644
--- a/packages/select-rich/src/LionSelectRich.js
+++ b/packages/select-rich/src/LionSelectRich.js
@@ -8,9 +8,7 @@ import './differentKeyNamesShimIE.js';
import { LionSelectInvoker } from './LionSelectInvoker.js';
function uuid() {
- return Math.random()
- .toString(36)
- .substr(2, 10);
+ return Math.random().toString(36).substr(2, 10);
}
function detectInteractionMode() {
diff --git a/packages/select-rich/test/lion-select-rich.test.js b/packages/select-rich/test/lion-select-rich.test.js
index d0f58c06c..7fd6e817f 100644
--- a/packages/select-rich/test/lion-select-rich.test.js
+++ b/packages/select-rich/test/lion-select-rich.test.js
@@ -37,9 +37,7 @@ describe('lion-select-rich', () => {
expect(el.formElements[0].name).to.equal('foo');
expect(el.formElements[1].name).to.equal('foo');
- const validChild = await fixture(html`
- Item 3
- `);
+ const validChild = await fixture(html` Item 3 `);
el.appendChild(validChild);
expect(el.formElements[2].name).to.equal('foo');
@@ -56,9 +54,7 @@ describe('lion-select-rich', () => {
`);
await nextFrame();
- const invalidChild = await fixture(html`
-
- `);
+ const invalidChild = await fixture(html` `);
expect(() => {
el.addFormElement(invalidChild);
@@ -805,9 +801,7 @@ describe('lion-select-rich', () => {
const invokerTagName = defineCE(
class extends LionSelectInvoker {
_noSelectionTemplate() {
- return html`
- Please select an option..
- `;
+ return html` Please select an option.. `;
}
},
);