Modernizr/customizr

excludeTests option is not working

azizur opened this issue · 1 comments

I am not 100% sure if it's and issue with the Modernizr 3.0.0-alpha but when I am trying to exclude track and performance tests from Modernizr.

So my customizr.json looks likes this:

{
   "options" : ["setClasses"],
    "excludeTests": [ "track", "performance"]
}

Then I am calling:
./bin/customizr --config customizr.json

The resulting generated file build/modernizr-custom.js contains Modernizr.addTest("track","kind"in createElement("track")).

Called through gulp-modernizr, I see failures to exclude: "progressbar" and "meter" tests. Also worth noting that the modernizr website refers to this now as "progressbar_meter" on the download page.