mirror of
https://github.com/discourse/discourse.git
synced 2025-05-29 11:48:08 +08:00
DEV: introduces prettier for es6 files
This commit is contained in:
@ -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");
|
||||
|
||||
|
Reference in New Issue
Block a user