mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 12:27:16 +08:00
Add semi colon linting to Javascript
This commit is contained in:
@ -56,6 +56,6 @@ componentTest('with an action', {
|
||||
assert.ok(true, 'it fired the action');
|
||||
});
|
||||
|
||||
click('a')
|
||||
click('a');
|
||||
}
|
||||
});
|
||||
|
@ -24,7 +24,7 @@ componentTest('as a dropdown', {
|
||||
assert.ok(!exists(".menu-panel.hidden"), "toggling visible makes it appear");
|
||||
});
|
||||
|
||||
click('#outside-area')
|
||||
click('#outside-area');
|
||||
andThen(() => {
|
||||
assert.ok(exists(".menu-panel.hidden"), "clicking the body hides the menu");
|
||||
assert.equal(this.get('panelVisible'), false, 'it updates the bound variable');
|
||||
@ -54,7 +54,7 @@ componentTest('as a slide-in', {
|
||||
assert.ok(!exists(".menu-panel.hidden"), "toggling visible makes it appear");
|
||||
});
|
||||
|
||||
click('#outside-area')
|
||||
click('#outside-area');
|
||||
andThen(() => {
|
||||
assert.ok(exists(".menu-panel.hidden"), "clicking the body hides the menu");
|
||||
assert.equal(this.get('panelVisible'), false, 'it updates the bound variable');
|
||||
|
Reference in New Issue
Block a user