Skip to content

Commit 98d2da5

Browse files
committed
chore: format
1 parent c937a94 commit 98d2da5

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

spec/minimap-element-spec.js

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1380,11 +1380,11 @@ describe("MinimapElement", () => {
13801380
// ###### ####### ## ## ## #### ######
13811381

13821382
describe("when the atom styles are changed", () => {
1383-
let styleElement, DEBOUNCE_TIMEOUT;
1383+
let styleElement, DEBOUNCE_TIMEOUT
13841384
beforeEach(() => {
1385-
DEBOUNCE_TIMEOUT = 300;
1386-
styleElement = document.createElement("style");
1387-
atom.styles.addStyleElement(styleElement);
1385+
DEBOUNCE_TIMEOUT = 300
1386+
styleElement = document.createElement("style")
1387+
atom.styles.addStyleElement(styleElement)
13881388

13891389
waitsFor("a new animation frame request", () => {
13901390
return nextAnimationFrame !== noAnimationFrame
@@ -1398,9 +1398,8 @@ describe("MinimapElement", () => {
13981398
})
13991399

14001400
it("forces a refresh with theme change", () => {
1401-
14021401
atom.themes.emitter.emit("did-change-active-themes")
1403-
advanceClock(DEBOUNCE_TIMEOUT);
1402+
advanceClock(DEBOUNCE_TIMEOUT)
14041403

14051404
waitsFor("minimap frame requested", () => {
14061405
return minimapElement.frameRequested
@@ -1414,7 +1413,7 @@ describe("MinimapElement", () => {
14141413

14151414
it("forces a refresh with style update", () => {
14161415
atom.styles.emitter.emit("did-update-style-element", styleElement)
1417-
advanceClock(DEBOUNCE_TIMEOUT);
1416+
advanceClock(DEBOUNCE_TIMEOUT)
14181417

14191418
waitsFor("minimap frame requested", () => {
14201419
return minimapElement.frameRequested
@@ -1427,9 +1426,8 @@ describe("MinimapElement", () => {
14271426
})
14281427

14291428
it("forces a refresh with style add", () => {
1430-
14311429
atom.styles.emitter.emit("did-add-style-element", styleElement)
1432-
advanceClock(DEBOUNCE_TIMEOUT);
1430+
advanceClock(DEBOUNCE_TIMEOUT)
14331431

14341432
waitsFor("minimap frame requested", () => {
14351433
return minimapElement.frameRequested
@@ -1442,9 +1440,8 @@ describe("MinimapElement", () => {
14421440
})
14431441

14441442
it("forces a refresh with style remove", () => {
1445-
14461443
atom.styles.emitter.emit("did-remove-style-element", styleElement)
1447-
advanceClock(DEBOUNCE_TIMEOUT);
1444+
advanceClock(DEBOUNCE_TIMEOUT)
14481445

14491446
waitsFor("minimap frame requested", () => {
14501447
return minimapElement.frameRequested

0 commit comments

Comments
 (0)