DEV: fixes eslint/prettier on github actions (#10601)

This commit is contained in:
Joffrey JAFFEUX
2020-09-04 20:01:14 +02:00
committed by GitHub
parent c5b8a47901
commit 110f6ec6dd
18 changed files with 278 additions and 280 deletions

View File

@ -1,15 +1,16 @@
import I18n from "I18n";
import { acceptance } from "helpers/qunit-helpers";
import { clearPopupMenuOptionsCallback } from "discourse/controllers/composer";
import selectKit from "helpers/select-kit-helper";
acceptance("Details Button", {
loggedIn: true,
beforeEach: function() {
beforeEach: function () {
clearPopupMenuOptionsCallback();
}
},
});
test("details button", async assert => {
test("details button", async (assert) => {
const popupMenu = selectKit(".toolbar-popup-menu-options");
await visit("/");
@ -109,7 +110,7 @@ test("details button", async assert => {
);
});
test("details button surrounds all selected text in a single details block", async assert => {
test("details button surrounds all selected text in a single details block", async (assert) => {
const multilineInput = "first line\n\nsecond line\n\nthird line";
const popupMenu = selectKit(".toolbar-popup-menu-options");