— What's the spec directory for?
— I am pretty sure you can make them optional if you use npm, using the devDependencies
field in package.json
Message permanent page
— Should they be optional?
— For production builds I don't include tests, but I don't know of any reason not to
— Ugh. I'm used to Salesforce platform where you have to carry your tests EVERYWHERE
— But no idea what Node best practices are
— Me neither I am publishing my first ever npm package