Open elmariofredo opened 9 years ago
var candidates, filter, results; filter = require('fuzzaldrin').filter; candidates = ['test/components/core/application/applicationPageStateServiceSpec.js', 'test/components/core/view/components/actions/actionsServiceSpec.js']; results = filter(candidates, 'actionsServiceSpec.js'); console.log(results);
This is what I get
[ 'test/components/core/application/applicationPageStateServiceSpec.js', 'test/components/core/view/components/actions/actionsServiceSpec.js' ]
This is what I expect
[ 'test/components/core/view/components/actions/actionsServiceSpec.js', 'test/components/core/application/applicationPageStateServiceSpec.js' ]
as actionsServiceSpec.js is exact file name match
actionsServiceSpec.js
PR #15 may or may not resolve this.
confirmed #15 is fixing my issue. Thanks
Gonna keep this open since #15 isn't merged yet
ok
@elmariofredo Can you test PR #22 and see if that resolves your issue as well?
This is what I get
This is what I expect
as
actionsServiceSpec.js
is exact file name match