Skip to content

Commit

Permalink
Add unit test reproducing #449
Browse files Browse the repository at this point in the history
  • Loading branch information
jfgreffier committed Sep 3, 2021
1 parent 67f6dab commit 95ee8d3
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 95ee8d3

Please sign in to comment.