DEV: introduces prettier for es6 files

This commit is contained in:
Joffrey JAFFEUX
2018-06-15 17:03:24 +02:00
committed by GitHub
parent c7ee70941e
commit 03a7d532cf
1162 changed files with 60667 additions and 29659 deletions

View File

@ -3,21 +3,20 @@ acceptance("Topic Notifications button", {
loggedIn: true,
beforeEach() {
const response = object => {
return [
200,
{ "Content-Type": "application/json" },
object
];
return [200, { "Content-Type": "application/json" }, object];
};
server.post('/t/280/notifications', () => { // eslint-disable-line no-undef
server.post("/t/280/notifications", () => {
// eslint-disable-line no-undef
return response({});
});
}
});
QUnit.test("Updating topic notification level", assert => {
const notificationOptions = selectKit("#topic-footer-buttons .topic-notifications-options");
const notificationOptions = selectKit(
"#topic-footer-buttons .topic-notifications-options"
);
visit("/t/internationalization-localization/280");