laravel-mix-glob
Version:
Laravel mix extension that add support for globs usage with an extensive concise api. For a more natural boosted productivity and dynamic. Configure once and forget about adding the files each time.
3 lines (2 loc) • 645 B
JavaScript
;var e=require("./index.js");describe("No files matching",(()=>{[{message:"Fail, only one evaluation",input:[{files:void 0}],expected:!1},{message:"Fail, multiple evaluation, one no match, one with match",input:[{files:void 0},{files:["some.file"]}],expected:!1},{message:"Valid, one evaluation",input:[{files:["Some.file"]}],expected:!0},{message:"Valid, multiple matching evaluations",input:[{files:["Some.file"]},{files:["some2.file"]}],expected:!0}].forEach(((i,t)=>{test(`Test ${t+1}: ${i.message}`,(()=>{const t=e.checkAllEvaluationsAreValid(i.input);expect(t).toBe(i.expected)}))}))}));
//# sourceMappingURL=index.test.js.map