Skip to content

Commit 0acc6da

Browse files
committed
Increase test coverage for no-jquery-methods and bump authors
1 parent 1837a7a commit 0acc6da

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

AUTHORS.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,16 @@ Burnashov Evgeny <[email protected]>
22
Chad Hietala <[email protected]>
33
Chris Thoburn <[email protected]>
44
David J. Hamilton <[email protected]>
5+
Edilberto Ruvalcaba <[email protected]>
56
Edilberto Ruvalcaba <[email protected]>
67
Ilya Radchenko <[email protected]>
78
Justin Lan <[email protected]>
89
Katie Gengler <[email protected]>
910
Kyle Turney <[email protected]>
1011
Marc Lynch <[email protected]>
12+
Marc Lynch <[email protected]>
1113
Mikael Riska <[email protected]>
14+
Nathaniel Furniss <[email protected]>
1215
Quinn C. Hoyer <[email protected]>
1316
Robert Jackson <[email protected]>
1417
Ryunosuke Sato <[email protected]>

tests/lib/rules/no-jquery-methods.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,15 @@ ruleTester.run('no-jquery-methods', rule, {
4848
});`,
4949
options: [BLACKLISTMETHOD]
5050
},
51+
{
52+
code: `
53+
export default Ember.Component({
54+
init() {
55+
Ember.$.notBlacklistedMethod();
56+
}
57+
});`,
58+
options: [BLACKLISTMETHOD]
59+
},
5160
{
5261
code: `
5362
export default Ember.Component({
@@ -56,6 +65,15 @@ ruleTester.run('no-jquery-methods', rule, {
5665
}
5766
});`,
5867
options: [BLACKLISTMETHOD]
68+
},
69+
{
70+
code: `
71+
export default Ember.Component({
72+
init() {
73+
this.$().add();
74+
}
75+
});`,
76+
options: []
5977
}
6078
],
6179
invalid: [

0 commit comments

Comments
 (0)