Skip to content

Commit

Permalink
Merge pull request #596 from jfgreffier/fix/449
Browse files Browse the repository at this point in the history
Add unit test reproducing #449
  • Loading branch information
EmmanuelDemey authored Sep 6, 2021
2 parents 5485258 + 95ee8d3 commit 4078df4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/function-type.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ var invalid = [];
valid.push({
code: '_.filter(vm.global, function (n) { return n % 2 === 0; })',
options: ['anonymous']
}, {
code: '_.filter(vm.global, function (n) { return n % 2 === 0; })',
options: ['named']
}, {
code: '_.filter(local, function (n) { return n % 2 === 0; })',
options: ['named']
}, {
code: 'angular.module("mymodule.constants", []).constant("EMPTY", [])',
options: ['anonymous']
Expand Down

0 comments on commit 4078df4

Please sign in to comment.