We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44a96a4 commit 1363cbdCopy full SHA for 1363cbd
test/auto/injectorSpec.js
@@ -246,8 +246,10 @@ describe('injector', function() {
246
// Only Chrome and Firefox support this syntax.
247
if (/chrome|firefox/i.test(navigator.userAgent)) {
248
it('should be possible to annotate functions that are declared using ES6 syntax', function() {
249
+ /*jshint -W061 */
250
// The function is generated using `eval` as just having the ES6 syntax can break some browsers.
251
expect(annotate(eval('({ fn(x) { return; } })').fn)).toEqual(['x']);
252
+ /*jshint +W061 */
253
});
254
}
255
0 commit comments