yury-sannikov / mocha-aura

Salesforce Lightning components integration with mochajs
8 stars 1 forks source link

Change to isAuraFile RegEx #2

Closed jkentjnr closed 7 years ago

jkentjnr commented 7 years ago

Not all projects use the project structure you have included in your reg ex. This introduces folder flexibility and no errors as long as the developer is only using the lightning file naming conventions for lightning files.

yury-sannikov commented 7 years ago

@jkentjnr I've added support of AURA_HOOK_REGEX env variable so you can specify custom regex if you need it.